ptd::CDispatchKeyboardEvent Class Reference
[Network module]

#include <PtdNetworkModule.h>

List of all members.

Public Member Functions

 CDispatchKeyboardEvent ()
 Default constructor.
virtual void getTypeID (std::string &str) const
 Gets this cell's factory mapping key.
virtual void process (fsf::CPassiveHandle *pPassiveHandle, fsf::CActiveHandle *pActiveHandle, fsf::CActivePulse *pActivePulse)

Static Public Attributes

Handle IDs
static const long PLAYER_ID = 0
static const long MESSAGE_QUEUE = 1


Detailed Description

Processes incoming keyboard events for local processing or transmission

Member Function Documentation

void CDispatchKeyboardEvent::process ( fsf::CPassiveHandle *  pPassiveHandle,
fsf::CActiveHandle *  pActiveHandle,
fsf::CActivePulse *  pActivePulse 
) [virtual]

Custom processing function: dispatches keyboard events received on the active stream: local events (e.g. rendering control) are echoed with a different name, play control events are encoded and the resulting buffer is placed in a message queue for transmission.


The documentation for this class was generated from the following files:

Generated on Mon Dec 20 15:54:52 2010 for Platitude by doxygen 1.5.9