Panda3D
Public Member Functions | Public Attributes | List of all members
ClusterMsgHandler Class Reference

Public Member Functions

def __init__ (self, packetStart, notify)
 
def blockingRead (self, qcr)
 
def makeCamFrustumDatagram (self, focalLength, filmSize, filmOffset)
 
def makeCamMovementDatagram (self, xyz, hpr)
 
def makeCamOffsetDatagram (self, xyz, hpr)
 
def makeCommandStringDatagram (self, commandString)
 
def makeExitDatagram (self)
 
def makeNamedMovementDone (self)
 
def makeNamedObjectMovementDatagram (self, xyz, hpr, scale, color, hidden, name)
 
def makeSelectedMovementDatagram (self, xyz, hpr, scale)
 
def makeSwapNowDatagram (self)
 
def makeSwapReadyDatagram (self)
 
def makeTimeDataDatagram (self, frameCount, frameTime, dt)
 
def nonBlockingRead (self, qcr)
 
def parseCamFrustumDatagram (self, dgi)
 
def parseCamMovementDatagram (self, dgi)
 
def parseCamOffsetDatagram (self, dgi)
 
def parseCommandStringDatagram (self, dgi)
 
def parseNamedMovementDatagram (self, dgi)
 
def parseSelectedMovementDatagram (self, dgi)
 
def parseTimeDataDatagram (self, dgi)
 
def readHeader (self, datagram)
 

Public Attributes

 notify
 
 packetNumber
 

Detailed Description

ClusterMsgHandler: wrapper for PC clusters/multi-piping networking

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  packetStart,
  notify 
)

Member Function Documentation

◆ blockingRead()

def blockingRead (   self,
  qcr 
)
Block until data is available on the queued connection reader.
Returns a datagram iterator and type

◆ makeCamFrustumDatagram()

def makeCamFrustumDatagram (   self,
  focalLength,
  filmSize,
  filmOffset 
)

◆ makeCamMovementDatagram()

def makeCamMovementDatagram (   self,
  xyz,
  hpr 
)

◆ makeCamOffsetDatagram()

def makeCamOffsetDatagram (   self,
  xyz,
  hpr 
)

◆ makeCommandStringDatagram()

def makeCommandStringDatagram (   self,
  commandString 
)

◆ makeExitDatagram()

def makeExitDatagram (   self)

◆ makeNamedMovementDone()

def makeNamedMovementDone (   self)

◆ makeNamedObjectMovementDatagram()

def makeNamedObjectMovementDatagram (   self,
  xyz,
  hpr,
  scale,
  color,
  hidden,
  name 
)

◆ makeSelectedMovementDatagram()

def makeSelectedMovementDatagram (   self,
  xyz,
  hpr,
  scale 
)

◆ makeSwapNowDatagram()

def makeSwapNowDatagram (   self)

◆ makeSwapReadyDatagram()

def makeSwapReadyDatagram (   self)

◆ makeTimeDataDatagram()

def makeTimeDataDatagram (   self,
  frameCount,
  frameTime,
  dt 
)

◆ nonBlockingRead()

def nonBlockingRead (   self,
  qcr 
)
Return a datagram iterator and type if data is available on the
queued connection reader

◆ parseCamFrustumDatagram()

def parseCamFrustumDatagram (   self,
  dgi 
)

◆ parseCamMovementDatagram()

def parseCamMovementDatagram (   self,
  dgi 
)

◆ parseCamOffsetDatagram()

def parseCamOffsetDatagram (   self,
  dgi 
)

◆ parseCommandStringDatagram()

def parseCommandStringDatagram (   self,
  dgi 
)

◆ parseNamedMovementDatagram()

def parseNamedMovementDatagram (   self,
  dgi 
)

◆ parseSelectedMovementDatagram()

def parseSelectedMovementDatagram (   self,
  dgi 
)

◆ parseTimeDataDatagram()

def parseTimeDataDatagram (   self,
  dgi 
)

◆ readHeader()

def readHeader (   self,
  datagram 
)

Member Data Documentation

◆ notify

notify

◆ packetNumber

packetNumber