![]() |
• Message Manager | ||||||||||||||
|
API Links
Developer Links
|
class ControllerMessageDefined in:
Base class for all controller message types.
C4Messages.hDefinition
Member Functions
Constructor
Parameters
Description
Controller messages are sent directly to Controller objects in order to synchronize the state or motion of the scene graph nodes that they control. A ControllerMessage object may contain no information beyond its type and controller index, or it may be subclassed so that extra data may be added to it. The application module on the server machine typically constructs a controller message when it needs to inform client machines about a change in state for a particular controller and then calls either the MessageMgr::SendMessageAll function or the MessageMgr::SendMessageJournal function to distribute the message. The controller index given by the index parameter identifies the particular controller object that will receive the message on each machine. On the receiving machines, the Controller::ReceiveMessage function is called to process the controller message.
Base Classes
See Also
Controller::GetControllerIndex
Controller::ConstructMessage
Controller::ReceiveMessage
|