93 ConnectionModeAll = 0,
94 ConnectionModeAggregate = 1,
95 ConnectionModeForce = 2
virtual void clearPendingRadioMessages()
Called to clear any pending radio messages in the comm model map that are waiting to be sent...
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
DtSimpleRadioCommModelDescriptor.
Definition: simpleRadioCommModelDescriptor.h:21
DtCommModel & operator=(const DtCommModel &orig)
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:26
virtual bool init()
Virtual init() called from the create() method.
Base class for all communication models in VR-Forces.
Definition: commModel.h:57
std::pair< DtSignalMessageParams *, DtVrfObjectMessageConstPtr > DtSignalMessageTransporterCallbackParams
The parameters passed by the message received callbacks from DtSignalMessageTransporter.
Definition: signalMessageTransporter.h:38
virtual void sendMessage(DtVrfObjectMessage *message, DtVrfRadio *sendingRadio)
Sends the specified message though the comm model.
This class encapsulates the sending and receiving of DtVrfObjectMessages though signal interactions...
Definition: signalMessageTransporter.h:43
virtual DtString type() const
static DtCommModel * create(DtCommModelCreationParams ¶ms)
Static creator function that can be registered with factories.
virtual void tick()
Method that is called every simulation tick.
ConnectionMode myConnectionMode
Definition: simpleRadioCommModel.h:102
#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.
Definition: vrfObjectMessage.h:30
DtMessageQueue myMessagesToDeliver
Definition: simpleRadioCommModel.h:100
DtSignalMessageTransporter * myTransporter
Definition: simpleRadioCommModel.h:98
const DtSimpleRadioCommModelDescriptor * mySimpleCommDescriptor
Definition: simpleRadioCommModel.h:101
virtual void registerRadio(DtVrfRadio *radio)
Adds a new radio to the comm model.
std::deque< DtVrfObjectMessageConstPtr > DtMessageQueue
Definition: simpleRadioCommModel.h:99
ConnectionMode
Definition: simpleRadioCommModel.h:91
Base class for any radios on VrfObjects.
Definition: vrfRadio.h:43
virtual void deliverMessageToRecipients(const DtVrfObjectMessage *message)
Finds all local radios to which this message should be delivered and sends the message to those radio...