VR-Forces 4.0.4 Class Documentation
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Types | Protected Member Functions | Protected Attributes
makVrf::DtObjectConsoleMessageHandler Class Reference
Inheritance diagram for makVrf::DtObjectConsoleMessageHandler:
Inheritance graph
[legend]

List of all members.

Public Types

typedef std::vector< std::pair
< std::string, int > > 
DtConsoleMessageList

Public Member Functions

 DtObjectConsoleMessageHandler (makVrv::DtDe &)
virtual ~DtObjectConsoleMessageHandler ()
virtual void setEnabled (bool)
bool enabled () const
virtual void setMessageQueueSize (int)
int messageQueueSize () const
virtual DtConsoleMessageList messagesFor (const std::string &entityId) const
virtual void setReceivingMessagesFor (makVrv::DtElementID, bool)
 Set the fact that there is something that is receiving messages for the given entity id.

Static Public Member Functions

static
DtObjectConsoleMessageHandler
instance (makVrv::DtDe &de)
 Returns instance of the messager.

Public Attributes

boost::signal< void(const
DtEntityIdentifier &, int
notifyLevel, const std::string &)> 
signal_consoleMessageReceived
boost::signal< void(int)> signal_messageQueueSizeChanged

Protected Types

typedef std::map< std::string,
DtConsoleMessageList
DtConsoleMessageMap

Protected Member Functions

virtual void processObjectConsoleMessageCallback (DtNetworkMessageInterface *)
virtual void slot_simObjectEntryAboutToBeRemoved (makVrv::DtSimObjectEntry &entry)
virtual void messagesToResolve ()
 Tries to map any awaiting items to ids.

Protected Attributes

makVrv::DtDemyDe
bool myEnabled
int myMessageQueueSize
DtConsoleMessageMap myConsoleMessageMap
std::map< makVrv::DtElementID,
int > 
myReceivingMessagesFor
std::map< std::string, boolmyHasAwaitingMessages
 Messages are awaiting for an object that does not have an element id yet/.
std::map< makVrv::DtElementID,
bool
mySetAwaiting

Member Typedef Documentation

typedef std::vector<std::pair<std::string, int> > makVrf::DtObjectConsoleMessageHandler::DtConsoleMessageList

Constructor & Destructor Documentation


Member Function Documentation

Returns instance of the messager.

virtual DtConsoleMessageList makVrf::DtObjectConsoleMessageHandler::messagesFor ( const std::string &  entityId) const [virtual]

Set the fact that there is something that is receiving messages for the given entity id.

If there are no objects monitoring messages, a state will be set in the locked object that there are outstanding messages for this entity, and, a signal will be sent out when there are outstanding messages

virtual void makVrf::DtObjectConsoleMessageHandler::messagesToResolve ( ) [protected, virtual]

Tries to map any awaiting items to ids.


Member Data Documentation

boost::signal<void (const DtEntityIdentifier&, int notifyLevel, const std::string&)> makVrf::DtObjectConsoleMessageHandler::signal_consoleMessageReceived

Messages are awaiting for an object that does not have an element id yet/.


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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)