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);
60 virtual bool init()
override;
63 virtual bool isEmbarkedOnAssignedTransport();
66 virtual bool isEmbarkedWithCrew();
70 virtual const char*
type()
const override;
81 virtual void tick()
override;
106 virtual void disableAllMovementSystems();
UUID is a unique ID wrapper class.
Definition: uuid.h:59
#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:126
DtAggregateMountedMovementSwitcherDescriptor * pMySwitcherDescriptor
Pointer to DtAggregateMountedMovementSwitcherDescriptor.
Definition: aggregateMountedMovementSwitcher.h:113
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:118
virtual bool init()
Calls createPorts and createPortGroups Initializes myLastTickSimTime.
boost::signals2::scoped_connection myHostChangedConnection
Definition: aggregateMountedMovementSwitcher.h:110
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:96
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:89
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.
Definition: localObject.h:98