21 namespace makVrfEvents
99 ConnectionModeAll = 0,
100 ConnectionModeAggregate = 1,
101 ConnectionModeForce = 2
virtual void clearPendingRadioMessages()
Called to clear any pending radio messages in the comm model map that are waiting to be sent...
DtSimpleRadioCommModelDescriptor.
Definition: simpleRadioCommModelDescriptor.h:21
DtCommModel & operator=(const DtCommModel &orig)
Not implemented.
Structure of data passed to the DtRadio constructor.
Definition: commModel.h:27
An implementation of DtCommModel that models a simple radio model, using signal interaction as the ne...
Definition: simpleRadioCommModel.h:32
virtual bool init()
Virtual init() called from the create() method.
The DtSimObjectReference is a shared pointer that can be used amongst many object for access to the u...
Definition: simObjectReference.h:26
Base class for all communication models in VR-Forces. A DtCommModel is the central point for modeling...
Definition: commModel.h:58
std::pair< DtSignalMessageParams *, DtVrfObjectMessageConstPtr > DtSignalMessageTransporterCallbackParams
The parameters passed by the message received callbacks from DtSignalMessageTransporter.
Definition: signalMessageTransporter.h:36
virtual void sendMessage(DtVrfObjectMessage *message, DtVrfRadio *sendingRadio)
Sends the specified message though the comm model. This is the entry point for a message into the net...
This class encapsulates the sending and receiving of DtVrfObjectMessages though signal interactions...
Definition: signalMessageTransporter.h:41
virtual DtString type() const
static DtCommModel * create(DtCommModelCreationParams ¶ms)
Static creator function that can be registered with factories. Calls the constructor, and init() on the new instance before returning it.
virtual void tick()
Method that is called every simulation tick. Base class implementation does nothing.
ConnectionMode myConnectionMode
Definition: simpleRadioCommModel.h:108
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
The base class for all messages to/from a specific DtVrfObject. Various subclasses of this class will...
Definition: vrfObjectMessage.h:30
DtMessageQueue myMessagesToDeliver
Definition: simpleRadioCommModel.h:106
DtSignalMessageTransporter * myTransporter
Definition: simpleRadioCommModel.h:104
const DtSimpleRadioCommModelDescriptor * mySimpleCommDescriptor
Definition: simpleRadioCommModel.h:107
virtual void registerRadio(DtVrfRadio *radio)
Adds a new radio to the comm model. A radio must be part of the comm model in order to send or receiv...
std::deque< DtVrfObjectMessageConstPtr > DtMessageQueue
Definition: simpleRadioCommModel.h:105
ConnectionMode
Definition: simpleRadioCommModel.h:97
Base class for any radios on VrfObjects. A DtVrfRadio acts as the interface between an entity and a D...
Definition: vrfRadio.h:41
virtual void deliverMessageToRecipients(const DtVrfObjectMessage *message)
Finds all local radios to which this message should be delivered and sends the message to those radio...