16 #include <boost/signals2.hpp>
51 virtual void checkAndSwitchIfEmbarked();
54 virtual void enableSystem(
const std::string& systemName,
bool bSetEnabled);
57 virtual void hostChanged(
const DtUUID& oldUUID,
const DtUUID& newUUID);
63 virtual bool isEmbarkedOnAssignedTransport();
66 virtual bool isEmbarkedWithCrew();
70 virtual const char*
type()
const;
UUID is a unique ID wrapper class.
Definition: rwUUID.h:229
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
virtual bool postAddComponentsInit()
Called after all components have been created, initialized and added to the component manager...
Definition: simComponent.h:107
DtAggregateMountedMovementSwitcherDescriptor * pMySwitcherDescriptor
Pointer to DtAggregateMountedMovementSwitcherDescriptor.
Definition: aggregateMountedMovementSwitcher.h:110
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
bool myCheckAssignedTransport
If this is true, that means the unit is embarked but the assigned transport doesn't match the host...
Definition: aggregateMountedMovementSwitcher.h:115
virtual bool init()
Calls createPorts and createPortGroups Initializes myLastTickSimTime.
boost::signals2::scoped_connection myHostChangedConnection
Definition: aggregateMountedMovementSwitcher.h:107
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 ...
DtAggregateMountedMovementSwitcher detects changes in embarkation state and disables/enables movement...
Definition: aggregateMountedMovementSwitcher.h:35
DtSimComponent & operator=(const DtSimComponent &orig)
assignment operator, not implemented
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
Contains the DtSimComponent class declaration.
A DtComponentDescriptor for the DtAggregateMountedMovementRelayController component.
Definition: aggregateMountedMovementSwitcherDescriptor.h:16
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