16 #include <vlutil/vlString.h>
51 virtual const char*
type()
const override = 0;
54 virtual bool init()
override;
65 virtual void taskNotify(
const DtSimTask & task);
69 virtual void clearTask();
73 virtual void enableTaskTypes();
78 virtual void enableScriptedTask(
const DtString& scriptId);
81 virtual void disableTaskTypes();
84 virtual void enable()
override;
87 virtual void disable()
override;
104 virtual void initializeTargetingControlTableFromDescriptor(
const DtReaderWriter*);
109 virtual void sendCapableSetsAndTasks();
virtual bool postAddComponentsInit()
Called after all components have been created, initialized and added to the component manager...
Definition: simComponent.h:127
DtSimRadio * myRadio
Controller components can send messages. Of course, if your controller never will, you don't have to use this.
Definition: controllerComponent.h:114
Definition: simRadio.h:30
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: readerWriterRegistry.h:39
bool myInitialized
Whether task types are currently enabled.
Definition: controllerComponent.h:123
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).
virtual bool init()
Calls createPorts and createPortGroups Initializes myLastTickSimTime.
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
virtual void enable()
Is this component enabled or not. If enabled, component's tick function will be called, otherwise it will not. Default is true (enabled).
DtSimComponent & operator=(const DtSimComponent &orig)
assignment operator, not implemented
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
Contains the DtSimComponent class declaration.
DtSimTask is an abstract base class from which real tasks can derive. It manages the read/write capab...
Definition: simTask.h:30
virtual void onRestore()
Called whenever a component is restored. Default is no-op.
The simulation engine is controlled by a single,top-level class called the Simulation Manager...
Definition: simManager.h:139
bool myTaskTypesEnabled
Whether task types are currently enabled.
Definition: controllerComponent.h:121
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