16 #include <boost/function.hpp>
27 class DtIffStateComponent;
30 namespace makVrfEvents
33 class DtIffInterrogatorEvent;
55 virtual bool init()
override;
63 virtual void tick()
override;
67 virtual const char*
type()
const override;
79 virtual void registerSetIffRequestMsgCallbacks();
81 static void setIffRequestCallback(
DtSimMessage *msg,
void * usrData);
83 virtual void processSetIffRequestMessage(
DtSimMessage *msg);
85 static void setClutterIcaoIffRequestCallback(
DtSimMessage *msg,
void * usrData);
87 virtual void processSetClutterIcaoIffRequestMessage(
DtSimMessage *msg);
144 virtual bool createPublisher();
146 virtual void updateFromDescriptor();
148 virtual void updateFromSetRequest(
DtSetIff2Request *setReq,
bool updateInPSR =
true);
153 virtual void updateDynamicData();
160 virtual bool createPSR();
166 virtual void enable()
override;
167 virtual void disable()
override;
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
DtIffControllerComponent is a controller that manages a IFF publisher for an entity.
Definition: iffControllerComponent.h:40
Definition: iffInterrogatorEvent.h:14
const DtControllerComponent & operator=(const DtControllerComponent &orig)
assignment operator
std::map< int, ModeSettingFunction > ModeSettingFunctions
Definition: iffControllerComponent.h:178
ModeSettingFunctions myModeSettingFunctions
Definition: iffControllerComponent.h:179
Definition: simRadio.h:30
virtual void setRadio(DtSimRadio *radio)
virtual void enable() override
Enables the component and resends capable tasks and sets.
virtual void setIsEnabled(bool yesNo)
Is this component enabled or not. If enabled, component's tick function will be called, otherwise it will not. Default is true (enabled).
virtual void preFirstTickInit()
This function can be overridden to initialize a component before it is ticked for the first time...
Definition: readerWriter.h:85
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: setClutterIcaoIffRequest.h:27
virtual const char * type() const override=0
This returns a string from compTypes.h, and identifies the type of component.
Definition: readerWriterRegistry.h:39
virtual void disable()
Is this component enabled or not. If enabled, component's tick function will be called, otherwise it will not. Default is true (enabled).
makVrf::DtIffStateComponent * myIffComponent
Definition: iffControllerComponent.h:172
class DtSetIff2Request
Definition: setIff2Request.h:20
virtual bool init() override
Calls setRadio()
Definition: iffModeSettings.h:88
boost::signals2::connection mySignalForInterrogatorEventConnection
Definition: iffControllerComponent.h:180
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 ...
DtVrfIffPSR * myProcessState
Container for state data associated with this component. This state is saved and restored as part of ...
Definition: iffControllerComponent.h:176
End User Description: DtControllerComponent is the base class for all controllers components...
Definition: controllerComponent.h:31
boost::function< void(const DtIffModeSetting *)> ModeSettingFunction
Definition: iffControllerComponent.h:118
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:96
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:89
virtual void registerAttributeFunctions()
Called to register functions that provide system attribute values. Called by init(). Empty in this class. Overridden in different components to add attribute provider functions.
Definition: simComponent.h:131
1) Define the interface class that will be used to represent the next and curent frames. The UNDEFINED_ macros are convenience macros that will define methods that throw exceptions (until they are implemented)
Definition: iffStateComponent.h:83
A locally simulated VRF object.
Definition: localObject.h:98
class DtVrfIffPSR:
Definition: vrfIffPSR.h:21