VR-Forces Developer's Guide
 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
DtVrfMsgPrinter Class Reference
Inheritance diagram for DtVrfMsgPrinter:
Inheritance graph
[legend]

Public Member Functions

 DtVrfMsgPrinter (DtCommunicationManager *, bool printDataInteractions)
 
virtual bool receiveMessage (const makVrfEvents::DtDataEvent *dataInter) override
 
virtual bool init () override
 
virtual void dataInteractionCallback (const makVrfEvents::DtEvent &)
 
virtual void processDataInteraction (const makVrfEvents::DtDataEvent *interaction)
 
virtual bool getContentFromNet (const makVrfEvents::DtDataEvent *dataInter, DtSimInterfaceContent *&content) const override
 
- Public Member Functions inherited from DtVrfMessageInterface
 DtVrfMessageInterface (DtCommunicationManager *exConn, bool useDefaultInterfaceFactory=true)
 
virtual ~DtVrfMessageInterface ()
 
virtual bool createMessageExecutive ()
 
virtual bool deliverMessage (const DtSimInterfaceMessage &msg, bool overrideTimestampOrder=true, bool sendImmediately=false)
 
virtual bool receiveMessage (const DtSimInterfaceMessage &msg)
 
virtual bool createAndDeliverMessage (const DtSimulationAddress &recipient, const DtSimInterfaceContent &content, bool overrideTimestampOrder=true, bool sendImmediately=false)
 
virtual bool getContentFromNet (unsigned nBufferSize, int nContentType, const char *pContentBuffer, DtSimInterfaceContent *&content) const
 
virtual bool setContentForNet (makVrfEvents::DtDataEvent *dataInter, DtSimInterfaceContent *content) const
 
virtual void setSequence (DtU32 num)
 
virtual DtU32 sequence () const
 
virtual void setVrfMessageVersionSupported (DtU32 num)
 
virtual DtU32 vrfMessageVersionSupported () const
 
virtual bool isMessageVrfVersionSupported (const makVrfEvents::DtDataEvent *) const
 
virtual void addVrfMessageVersionValidCallback (DtIsValidVrfMessageVersionFcn fcn, void *usr)
 
virtual void removeVrfMessageVersionValidCallback (DtIsValidVrfMessageVersionFcn fcn, void *usr)
 
virtual bool isVrfMessageVersionTransparentMessageType (int messageType) const
 
virtual bool isSessionTransparentMessageType (int messageType)
 
DtCommunicationManagercommunicationManager () const
 
virtual void setConnectionManager (DtCommunicationManager *cm)
 
virtual void addEvent (const makVrfEvents::DtEvent &)
 
virtual DtInterfaceContentFactoryfactory () const
 
virtual void setFactory (DtInterfaceContentFactory *fact)
 
virtual
DtInterfaceMessageExecutive
messageExecutive () const
 
virtual const DtSimulationAddress & messageAddress () const
 
virtual bool sendMessage (const DtSimInterfaceMessage &message, bool overrideTimestampOrder, bool sendImmediately=false)
 
virtual void addMessageCallback (int type, DtMessageCallbackFcn fcn, void *usrData)
 
virtual void removeMessageCallback (int type, DtMessageCallbackFcn fcn, void *usrData)
 
virtual void setCommunicationManager (DtCommunicationManager *)
 
virtual void netMessageCallback (const makVrfEvents::DtEvent &)
 
virtual bool receiveMessage (const DtSimInterfaceContent &content)
 
virtual void setSessionId (DtU32 num)
 
virtual DtU32 sessionId () const
 

Protected Member Functions

 DtVrfMsgPrinter ()
 
- Protected Member Functions inherited from DtVrfMessageInterface
virtual void removeConnections ()
 
virtual void initializeConnections ()
 
virtual bool sendNormalMessage (const DtSimInterfaceMessage &message, bool overrideTimestampOrder, bool sendImmediately=false)
 

Protected Attributes

DtDefaultVrfObjectMessageFactory myVrfObjectMsgFact
 
DtDefaultCondExprFactory myCondExprFact
 
DtDefaultStatementFactory myStmtFact
 
DtDefaultSimReportFactory myReportFact
 
DtDefaultSimTaskFactory myTaskFact
 
DtDefaultSetDataRequestFactory mySetDataFact
 
DtDefaultSimCommandFactory mySimCommandFact
 
DtDefaultAdminContentFactory myAdminContentFact
 
bool myPrintDataInteractions
 
- Protected Attributes inherited from DtVrfMessageInterface
DtInterfaceContentFactorymyContentFactory
 
DtInterfaceMessageExecutivemyMessageExecutive
 
DtCommunicationManagermyCommunicationManager
 
bool myCreatedInterfaceFactory
 
DtU32 mySequenceNumber
 
DtU32 mySessionId
 
DtU32 myVrfMessageVersionSupported
 
DtList myCallbacks
 

Additional Inherited Members

- Static Public Member Functions inherited from DtVrfMessageInterface
static DtVrfMessageInterfacecreate (DtCommunicationManager *exConn, bool useDefaultInterfaceFactory=true)
 
static
DtVrfMessageInterfaceCreatorFcn 
setCreator (DtVrfMessageInterfaceCreatorFcn)
 
static
DtVrfMessageInterfaceCreatorFcn 
creator ()
 
- Static Protected Member Functions inherited from DtVrfMessageInterface
static bool matchPattern (const DtSimulationAddress &address, const DtSimulationAddress &pattern)
 
- Static Protected Attributes inherited from DtVrfMessageInterface
static
DtVrfMessageInterfaceCreatorFcn 
theCreatorFcn
 

Constructor & Destructor Documentation

DtVrfMsgPrinter::DtVrfMsgPrinter ( DtCommunicationManager ,
bool  printDataInteractions 
)

Constructor.

DtVrfMsgPrinter::DtVrfMsgPrinter ( )
protected

Default contstructor; not implemented.

Member Function Documentation

virtual bool DtVrfMsgPrinter::receiveMessage ( const makVrfEvents::DtDataEvent dataInter)
overridevirtual

Overridden to print out VR-Forces data interactions.

Reimplemented from DtVrfMessageInterface.

virtual bool DtVrfMsgPrinter::init ( )
overridevirtual

Edit this function to register your own custom messages.

Reimplemented from DtVrfMessageInterface.

virtual void DtVrfMsgPrinter::dataInteractionCallback ( const makVrfEvents::DtEvent )
virtual
virtual void DtVrfMsgPrinter::processDataInteraction ( const makVrfEvents::DtDataEvent interaction)
virtual
virtual bool DtVrfMsgPrinter::getContentFromNet ( const makVrfEvents::DtDataEvent dataInter,
DtSimInterfaceContent *&  content 
) const
overridevirtual

Create/set objects based on DtDataInteraction information.

Reimplemented from DtVrfMessageInterface.

Member Data Documentation

DtDefaultVrfObjectMessageFactory DtVrfMsgPrinter::myVrfObjectMsgFact
protected
DtDefaultCondExprFactory DtVrfMsgPrinter::myCondExprFact
protected
DtDefaultStatementFactory DtVrfMsgPrinter::myStmtFact
protected
DtDefaultSimReportFactory DtVrfMsgPrinter::myReportFact
protected
DtDefaultSimTaskFactory DtVrfMsgPrinter::myTaskFact
protected
DtDefaultSetDataRequestFactory DtVrfMsgPrinter::mySetDataFact
protected
DtDefaultSimCommandFactory DtVrfMsgPrinter::mySimCommandFact
protected
DtDefaultAdminContentFactory DtVrfMsgPrinter::myAdminContentFact
protected
bool DtVrfMsgPrinter::myPrintDataInteractions
protected

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

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)