60 virtual const char*
type()
const;
69 virtual void registerSetRequestMsgCallbacks();
71 static void setEmergencyBeaconRequestCallback(
DtSimMessage* msg,
void* usrData);
72 virtual void processSetEmergencyBeaconRequestMessage(
DtSimMessage* msg);
74 virtual void setBeaconLocation(
const DtVector &location);
75 virtual DtVector beaconLocation()
const;
78 virtual void setOn(
bool onOff);
79 virtual bool on()
const;
87 virtual bool createAndInitTransmitterSystem();
90 virtual void updateTransmitterFromPsr();
97 virtual bool createPSR();
DtEmergencyBeaconComponent maintains vrf Radio Transmitter.
Definition: emergencyBeaconComponent.h:32
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
DtVrfRadioTransmitter * myTransmitter
Definition: emergencyBeaconComponent.h:112
Definition: simRadio.h:30
Definition: vrfRadioTransmitter.h:25
DtEmergencyBeaconPSR * myProcessState
Container for state data associated with this component. This state is saved and restored as part of ...
Definition: emergencyBeaconComponent.h:116
virtual void preFirstTickInit()
This function can be overridden to initialize a component before it is ticked for the first time...
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:49
Definition: readerWriterRegistry.h:39
virtual bool init()
Calls createPorts and createPortGroups Initializes myLastTickSimTime.
class DtEmergencyBeaconPSR:
Definition: emergencyBeaconPSR.h:20
File: simMsg.h.
Definition: simMessage.h:35
virtual void tick()
This gives the thread of control to the component. The component is ticked once each simulation from ...
virtual bool tickWhileDestroyed() const
If the component returns true here, it will be ticked regardless of the destroyed state of the host e...
DtSimComponent & operator=(const DtSimComponent &orig)
assignment operator, not implemented
The base class for all messages to/from a specific DtVrfObject. Various subclasses of this class will...
Definition: vrfObjectMessage.h:30
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:90
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:70
The central class of a DtLocalObject for all communications to and from the object. This class manages all communications on a specific DtLocalObject, though both simulation internal communication, and communication though the simulated radios of the object. All communication is done though the use of the DtVrfObjectMessage class and its subclasses. Callbacks can be registered on this interface which will be called on receipt of a message by this entity. Messages can be sent from this entity by using the message sending functions. These messages may be sent though the SimInternal message mechanism, or the radio message system. Radios will not exist until createRadiosFromDescriptorList() or createRadiosFromDescriptorList(const DtRadioDescriptorList& descList) is called.
Definition: vrfObjectCommunicationInterface.h:40
Contains the DtSimComponent class declaration.
Arguments passed by the DtLocalObjectManager::addNameChangedCallback callbacks.
Definition: localObjectManager.h:111
DtSimRadio * myRadio
Definition: emergencyBeaconComponent.h:111
virtual const char * type() const =0
Returns a string identifies the class type of component. Type values are defined in compTypes...
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