VR-Engage  2.2
Loading...
Searching...
No Matches
DtVreVrfMsgInterface Class Reference

Detailed Description

DtVreVrfMsgInterface extends the base VR-Forces message interface to provide VREngage-specific message handling functionality. It initializes various factory objects for creating message types, tasks, reports, and other simulation elements.

#include <vreVrfMessageInterface.h>

Inheritance diagram for DtVreVrfMsgInterface:
[legend]

Public Member Functions

 DtVreVrfMsgInterface (DtCommunicationManager *exConn, bool useDefaultInterfaceFactory=true)
 
virtual bool receiveMessage (const makVrfEvents::DtDataEvent *dataInter) override
 
virtual bool init () override
 

Protected Member Functions

 DtVreVrfMsgInterface ()
 

Protected Attributes

DtDefaultVrfObjectMessageFactory myRadioMsgFact
 
DtDefaultCondExprFactory myCondExprFact
 
DtDefaultStatementFactory myStmtFact
 
DtDefaultSimReportFactory myReportFact
 
DtDefaultSimTaskFactory myTaskFact
 
DtDefaultSetDataRequestFactory mySetDataFact
 

Constructor & Destructor Documentation

◆ DtVreVrfMsgInterface() [1/2]

DtVreVrfMsgInterface::DtVreVrfMsgInterface ( DtCommunicationManager * exConn,
bool useDefaultInterfaceFactory = true )

Constructor for the VR-Forces message interface.

Parameters
exConnPointer to the communication manager to use
useDefaultInterfaceFactoryIf true, uses the default interface factory

◆ DtVreVrfMsgInterface() [2/2]

DtVreVrfMsgInterface::DtVreVrfMsgInterface ( )
protected

Default constructor - not implemented.

Declared but not implemented to prevent usage.

Member Function Documentation

◆ receiveMessage()

virtual bool DtVreVrfMsgInterface::receiveMessage ( const makVrfEvents::DtDataEvent * dataInter)
overridevirtual

Processes an incoming VR-Forces data event.

Parameters
dataInterPointer to the data event to process
Returns
True if the message was successfully handled, false otherwise

This method is overridden to handle VR-Forces data interactions. Currently, it simply delegates to the parent class implementation.

◆ init()

virtual bool DtVreVrfMsgInterface::init ( )
overridevirtual

Initializes the message interface and registers message factory objects.

Returns
True if initialization was successful, false otherwise

This method sets up the factory objects for various message types and simulation elements. It can be extended to register custom message types as needed.

Member Data Documentation

◆ myRadioMsgFact

DtDefaultVrfObjectMessageFactory DtVreVrfMsgInterface::myRadioMsgFact
protected

Factory for creating VR-Forces object messages.

◆ myCondExprFact

DtDefaultCondExprFactory DtVreVrfMsgInterface::myCondExprFact
protected

Factory for creating condition expressions.

◆ myStmtFact

DtDefaultStatementFactory DtVreVrfMsgInterface::myStmtFact
protected

Factory for creating simulation statements.

◆ myReportFact

DtDefaultSimReportFactory DtVreVrfMsgInterface::myReportFact
protected

Factory for creating simulation reports.

◆ myTaskFact

DtDefaultSimTaskFactory DtVreVrfMsgInterface::myTaskFact
protected

Factory for creating simulation tasks.

◆ mySetDataFact

DtDefaultSetDataRequestFactory DtVreVrfMsgInterface::mySetDataFact
protected

Factory for creating set data requests.


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