74 template<
typename messageType>
77 myMessageExecutive.addMessageCallback(type, fcn, usr);
80 template<
typename messageType>
83 myMessageExecutive.addMessageCallback(type, fcn, usr);
91 virtual bool readyToSend()
const;
104 virtual void setReadyToSend(
bool val);
111 virtual double sampleRate()
const;
140 static void readCommModelSettingsCallback(
142 virtual void processReadCommModelSettings(
const DtSettingsObject* settings);
145 virtual int radioId()
const;
Definition: stringKeyFactory.h:80
DtStringKeyFactoryWithParam< DtVrfRadio, DtRadioCreationParams & > DtVrfRadioFactory
Factory for creating DtRadio subclasses.
Definition: vrfRadio.h:35
void addMessageCallback(const messageType &type, DtVrfObjectMessageCallbackFcn fcn, void *usr)
Definition: vrfRadio.h:75
Definition: vrfRadioTransmitter.h:25
DtLocalObject * vrfObject
Definition: vrfRadio.h:30
Base class for all communication models in VR-Forces. A DtCommModel is the central point for modeling...
Definition: commModel.h:58
DtVrfRadioTransmitter * myRadioTransmitter
Definition: vrfRadio.h:155
const DtVrfRadioDescriptor * radioDescriptor
Definition: vrfRadio.h:31
Definition: settingsObject.h:27
std::deque< DtVrfObjectMessagePtr > DtMessageQueue
Definition: vrfRadio.h:157
Callback manager for DtVrfObjectMessage receipt. Callbacks can be registered on various attributes of...
Definition: vrfObjectMessageExecutive.h:26
DtMessageQueue myMessageQueuedToSend
Definition: vrfRadio.h:158
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
Factory templates DtStringKeyFactory and DtStringKeyFactoryWithParam.
DtVrfObjectMessageExecutive myMessageExecutive
Definition: vrfRadio.h:152
The base class for all messages to/from a specific DtVrfObject. Various subclasses of this class will...
Definition: vrfObjectMessage.h:30
DtLocalObject * myVrfObject
Definition: vrfRadio.h:150
bool myReadyToSend
Definition: vrfRadio.h:156
const DtVrfRadioDescriptor & myRadioDescriptor
Definition: vrfRadio.h:151
void(* DtVrfObjectMessageCallbackFcn)(const DtVrfObjectMessage *msg, void *usr)
This class is a convenience object for callback functions on DtVrfObjectMessages particularly those d...
Definition: vrfObjectMessageTypeCallbackMap.h:29
DT_DLL_DEBUGDRAWRENDERER void init(makVrv::DtDe &de)
Work function for the plugin initialization.
DtCommModel * myCommModel
The radio network which this radio is part of.
Definition: vrfRadio.h:154
void removeMessageCallback(const messageType &type, DtVrfObjectMessageCallbackFcn fcn, void *usr)
Definition: vrfRadio.h:81
Descriptor base class for DtRadio instances. A descriptor tells what type of radio to create as well ...
Definition: vrfRadioDescriptor.h:37
Base class for any radios on VrfObjects. A DtVrfRadio acts as the interface between an entity and a D...
Definition: vrfRadio.h:41
static DtVrfRadioFactory * theFactory
Definition: vrfRadio.h:148
Structure of data passed to the DtRadio constructor.
Definition: vrfRadio.h:28
A locally simulated VRF object. Holds all internal and external data for the object, and provides access to both the current frame and next frame state data for the object. All current frame data is read-only, and next-frame data can be written to. No thread safety guarantees are made on this object during the simulation frame and it should only be accessed by the thread that is simulating the object.
Definition: localObject.h:86