VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
DtVrfTDLMsgPrinter Class Reference
Inheritance diagram for DtVrfTDLMsgPrinter:
Inheritance graph
[legend]

Public Member Functions

 DtVrfTDLMsgPrinter (DtEventManager *, bool printDataInteractions)
 Constructor. More...
 
virtual bool receiveMessage (DtVrfTDLMessage *dataInter)
 Overridden to print out VR-Forces data interactions. More...
 
- Public Member Functions inherited from DtVrfTDLMessageInterface
 DtVrfTDLMessageInterface (DtEventManager *eventManager, bool useDefaultInterfaceFactory=true)
 
virtual ~DtVrfTDLMessageInterface ()
 destructor More...
 
virtual bool init ()
 Creates all the other pieces. More...
 
virtual bool createAndDeliverMessage (const DtSimulationAddress &recipient, const DtVrfTDLMessage &content, bool overrideTimestampOrder=true)
 If there is a recipient in the message it is supplanted by the recipient in the createAndDeliverMessage call. More...
 
virtual const DtSimulationAddress & messageAddress () const
 Get the address that should be used as the sender for all messages originating from the backend. More...
 
virtual bool sendMessage (DtVrfTDLMessage &message)
 Send a sim interface message. More...
 
DtEventManagereventManager () const
 Return the event manager. More...
 
virtual void clearEventManager ()
 Sets the event manager to NULL. More...
 
virtual void setSequence (DtU32 num)
 Get/Set the sequence number. More...
 
virtual DtU32 sequence () const
 
virtual void addVrfTDLMessageCallback (DtVrfTDLMessageCallbackFcn fcn, void *usr)
 Adds/removes callbacks to be notified when a VRF TDL message is received. Does not matter the type – it will be triggered for all messages. More...
 
virtual void removeVrfTDLMessageCallback (DtVrfTDLMessageCallbackFcn fcn, void *usr)
 
virtual void setEventManager (DtEventManager *)
 
virtual DtVrfTDLMessageFactoryfactory () const
 Get/Set the factory used for creating interface content msgs. More...
 
virtual void setFactory (DtVrfTDLMessageFactory *fact)
 

Protected Member Functions

 DtVrfTDLMsgPrinter ()
 Default contstructor; not implemented. More...
 
virtual bool getContentFromNet (DtDataInteraction *dataInter, DtVrfTDLMessage *&content) const
 Create/set objects based on DtDataInteraction information. More...
 
- Protected Member Functions inherited from DtVrfTDLMessageInterface
virtual void removeConnections ()
 
virtual void initializeConnections ()
 
virtual bool setContentForNet (DtDataInteraction *dataInter, DtVrfTDLMessage &content) const
 
virtual void netMessageCallback (const DtEvent &)
 
virtual void receiveMessage (DtDataInteraction *dataInter)
 Process a received data interaction from the network. More...
 
virtual bool matchPattern (const DtSimulationAddress &address, const DtSimulationAddress &pattern) const
 
virtual bool getContentFromNet (unsigned nBufferSize, const char *pContentBuffer, DtVrfTDLMessage *&content) const
 
virtual void invokeCallbacks (DtVrfTDLMessage *)
 Invokes callbacks for a particular VRF TDL message. More...
 

Protected Attributes

bool myPrintDataInteractions
 
- Protected Attributes inherited from DtVrfTDLMessageInterface
DtU32 mySequenceNumber
 
bool myAllowReliableDataInteractions
 
bool myUseReliableTransport
 
DtVrfTDLMessageFactorymyFactory
 
bool myCreatedInterfaceFactory
 
CallbackData myCallbacks
 
DtVrfTDLMessagemyVrfTDLMessageTranslator
 
std::set< intmyContentTypesToSendReliable
 Set of content types to be sent via reliable transport. More...
 
DtEventManagermyEventManager
 
bool myOwnsEventManager
 

Additional Inherited Members

- Protected Types inherited from DtVrfTDLMessageInterface
typedef std::vector< std::pair
< DtVrfTDLMessageCallbackFcn,
void * > > 
CallbackData
 

Constructor & Destructor Documentation

DtVrfTDLMsgPrinter::DtVrfTDLMsgPrinter ( DtEventManager ,
bool  printDataInteractions 
)

Constructor.

DtVrfTDLMsgPrinter::DtVrfTDLMsgPrinter ( )
protected

Default contstructor; not implemented.

Member Function Documentation

virtual bool DtVrfTDLMsgPrinter::receiveMessage ( DtVrfTDLMessage dataInter)
virtual

Overridden to print out VR-Forces data interactions.

Reimplemented from DtVrfTDLMessageInterface.

virtual bool DtVrfTDLMsgPrinter::getContentFromNet ( DtDataInteraction dataInter,
DtVrfTDLMessage *&  content 
) const
protectedvirtual

Create/set objects based on DtDataInteraction information.

Reimplemented from DtVrfTDLMessageInterface.

Member Data Documentation

bool DtVrfTDLMsgPrinter::myPrintDataInteractions
protected

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

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)