37 virtual bool init()
override;
41 virtual const char*
type()
const override;
43 virtual void tick()
override;
47 virtual void enable()
override;
51 virtual void disable()
override;
53 virtual bool transitionIsComplete()
const;
55 virtual void onTransitionComplete();
59 static void setSwitchSystemsCallback(
DtSimMessage * msg,
void * usrData);
78 virtual bool createPSR();
82 virtual void addSetDataCallbacks();
86 void removeSetDataCallbacks();
88 virtual void processSetSwitchSystems(
DtSimMessage * msg);
92 virtual bool switchSystems();
104 virtual bool allowedToTransition()
const;
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
DtSwitchSystemComponentPSR * myProcessState
Definition: systemSwitcherComponent.h:112
const DtControllerComponent & operator=(const DtControllerComponent &orig)
assignment operator
Definition: simRadio.h:30
DtComponentSystem * mySystemToActivate
Definition: systemSwitcherComponent.h:110
virtual void setRadio(DtSimRadio *radio)
virtual void enable() override
Enables the component and resends capable tasks and sets.
bool mySwitchingSystems
Definition: systemSwitcherComponent.h:114
A set of DtSimComponent and DtComponentSystem instances that are connected with a set of connections...
Definition: simComponentNetwork.h:34
A DtComponentSystem is a collection of DtSimComponents that are associated with each other...
Definition: componentSystem.h:35
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:49
virtual const char * type() const override=0
This returns a string from compTypes.h, and identifies the type of component.
Definition: readerWriterRegistry.h:39
Definition: systemSwitcherComponent.h:24
virtual void disable() override
Disables the component and resends capable tasks and sets.
virtual bool init() override
Calls setRadio()
DtComponentSystem * mySystemToDeactivate
Definition: systemSwitcherComponent.h:109
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 frame...
End User Description: DtControllerComponent is the base class for all controllers components...
Definition: controllerComponent.h:31
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:97
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:89
Definition: switchSystemComponentPSR.h:21
DtSimComponentNetwork * myComponentNetwork
Definition: systemSwitcherComponent.h:108
A locally simulated VRF object.
Definition: localObject.h:98