Panda3D
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
ClusterClient Class Reference
Inheritance diagram for ClusterClient:
ClusterClientSync

Public Member Functions

def __init__ (self, configList, clusterSyncFlag)
 
def __call__ (self, commandString, fLocally=1, serverList=[])
 
def addControlMapping (self, objectName, controlledName, serverList=None, offset=None, priority=0)
 
def addNamedObjectMapping (self, object, name, hasColor=True)
 
def addObjectTag (self, object, selectFunction, deselectFunction, selectArgs, deselectArgs)
 
def controlObjectTask (self, task)
 
def deselectNodePath (self, nodePath)
 
def exit (self)
 
def getNodePathFindCmd (self, nodePath)
 
def getNodePathName (self, nodePath)
 
def handleDatagram (self, dgi, type, server)
 
def handleMessageQueue (self, server)
 
def handleNamedMovement (self, data)
 
def loadModel (self, nodePath)
 
def moveCamera (self, xyz, hpr)
 
def moveCameraTask (self, task)
 
def moveObject (self, nodePath, object, serverList, offset, hasColor=True)
 
def moveSelectedTask (self, state)
 
def redoSortedPriorities (self)
 
def removeControlMapping (self, name, serverList=None)
 
def removeObjectMapping (self, name)
 
def removeObjectTag (self, object)
 
def selectNodePath (self, nodePath)
 
def sendCamFrustum (self, focalLength, filmSize, filmOffset, indexList=[])
 
def sendNamedMovementDone (self, serverList=None)
 
def setControlMappingOffset (self, objectName, offset)
 
def startControlObjectTask (self)
 
def startMoveCamTask (self)
 
def startMoveSelectedTask (self)
 
def startReaderPollTask (self)
 
def startSynchronizeTimeTask (self)
 
def synchronizeTimeTask (self, task)
 

Public Attributes

 controlMappings
 
 controlOffsets
 
 controlPriorities
 
 daemon
 
 msgHandler
 
 objectHasColor
 
 objectMappings
 
 qcm
 
 serverList
 
 serverQueues
 
 sortedControlMappings
 
 taggedObjects
 

Static Public Attributes

int MGR_NUM = 1000000
 
 notify = DirectNotifyGlobal.directNotify.newCategory("ClusterClient")
 

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  configList,
  clusterSyncFlag 
)

Reimplemented in ClusterClientSync.

Member Function Documentation

◆ __call__()

def __call__ (   self,
  commandString,
  fLocally = 1,
  serverList = [] 
)

◆ addControlMapping()

def addControlMapping (   self,
  objectName,
  controlledName,
  serverList = None,
  offset = None,
  priority = 0 
)

◆ addNamedObjectMapping()

def addNamedObjectMapping (   self,
  object,
  name,
  hasColor = True 
)

◆ addObjectTag()

def addObjectTag (   self,
  object,
  selectFunction,
  deselectFunction,
  selectArgs,
  deselectArgs 
)

◆ controlObjectTask()

def controlObjectTask (   self,
  task 
)

◆ deselectNodePath()

def deselectNodePath (   self,
  nodePath 
)

◆ exit()

def exit (   self)

◆ getNodePathFindCmd()

def getNodePathFindCmd (   self,
  nodePath 
)

◆ getNodePathName()

def getNodePathName (   self,
  nodePath 
)

◆ handleDatagram()

def handleDatagram (   self,
  dgi,
  type,
  server 
)

◆ handleMessageQueue()

def handleMessageQueue (   self,
  server 
)

◆ handleNamedMovement()

def handleNamedMovement (   self,
  data 
)
Update cameraJig position to reflect latest position 

◆ loadModel()

def loadModel (   self,
  nodePath 
)

◆ moveCamera()

def moveCamera (   self,
  xyz,
  hpr 
)

Reimplemented in ClusterClientSync.

◆ moveCameraTask()

def moveCameraTask (   self,
  task 
)

◆ moveObject()

def moveObject (   self,
  nodePath,
  object,
  serverList,
  offset,
  hasColor = True 
)

◆ moveSelectedTask()

def moveSelectedTask (   self,
  state 
)

◆ redoSortedPriorities()

def redoSortedPriorities (   self)

◆ removeControlMapping()

def removeControlMapping (   self,
  name,
  serverList = None 
)

◆ removeObjectMapping()

def removeObjectMapping (   self,
  name 
)

◆ removeObjectTag()

def removeObjectTag (   self,
  object 
)

◆ selectNodePath()

def selectNodePath (   self,
  nodePath 
)

◆ sendCamFrustum()

def sendCamFrustum (   self,
  focalLength,
  filmSize,
  filmOffset,
  indexList = [] 
)

◆ sendNamedMovementDone()

def sendNamedMovementDone (   self,
  serverList = None 
)

◆ setControlMappingOffset()

def setControlMappingOffset (   self,
  objectName,
  offset 
)

◆ startControlObjectTask()

def startControlObjectTask (   self)

◆ startMoveCamTask()

def startMoveCamTask (   self)

◆ startMoveSelectedTask()

def startMoveSelectedTask (   self)

◆ startReaderPollTask()

def startReaderPollTask (   self)
Task to handle datagrams from server 

◆ startSynchronizeTimeTask()

def startSynchronizeTimeTask (   self)

◆ synchronizeTimeTask()

def synchronizeTimeTask (   self,
  task 
)

Member Data Documentation

◆ controlMappings

controlMappings

◆ controlOffsets

controlOffsets

◆ controlPriorities

controlPriorities

◆ daemon

daemon

◆ MGR_NUM

int MGR_NUM = 1000000
static

◆ msgHandler

msgHandler

◆ notify

notify = DirectNotifyGlobal.directNotify.newCategory("ClusterClient")
static

◆ objectHasColor

objectHasColor

◆ objectMappings

objectMappings

◆ qcm

qcm

◆ serverList

serverList

◆ serverQueues

serverQueues

◆ sortedControlMappings

sortedControlMappings

◆ taggedObjects

taggedObjects