14 #include <vlutil/vlList.h>
52 virtual void tick(
bool hostDestroyed);
55 virtual bool postAddComponentsInit();
68 virtual bool removeControllerComponent(
DtSimComponent * component);
81 virtual std::list<DtSimComponent*> lookupComponentsByType(
const DtString & typeString);
84 template <
typename T_ComponentType>
87 std::list<DtSimComponent*> comps =
88 mySensorComponentList->lookupComponentsByDynamicCast<T_ComponentType>();
89 std::list<DtSimComponent*> appendControllers =
90 myControllerComponentList->lookupComponentsByDynamicCast<T_ComponentType>();
91 comps.splice(comps.end(), appendControllers);
92 std::list<DtSimComponent*> appendActuators =
93 myActuatorComponentList->lookupComponentsByDynamicCast<T_ComponentType>();
94 comps.splice(comps.end(), appendActuators);
96 DtComponentSystemList::const_iterator itr = this->mySystemList.begin();
97 DtComponentSystemList::const_iterator end = this->mySystemList.end();
98 for(; itr != end; ++itr)
100 std::list<DtSimComponent*> append = (*itr)->componentNetwork()->
101 lookupComponentsByDynamicCast<T_ComponentType>();
102 comps.splice(comps.end(), append);
117 virtual int createComponentsFromList(
119 int& priority,
bool remoteOnly);
129 int& priority,
bool remoteOnly);
141 const DtString& destination,
int warningLevel = 1);
147 descList,
bool suppressErrorMsgs =
false);
162 virtual void enable();
163 virtual void disable();
167 virtual void clear();
169 virtual void updateImgui();
178 virtual bool createSensorComponentList();
179 virtual bool createControllerComponentList();
180 virtual bool createActuatorComponentList();
Class Description: DtControllerComponentList.
Definition: controllerComponentList.h:38
DtLocalObject * myVrfObject
Definition: simComponentNetwork.h:190
DtControllerComponentList * myControllerComponentList
Definition: simComponentNetwork.h:186
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
List of DtComponentSystemDescriptor instances.
Definition: componentSystemDescriptorList.h:20
Instances of DtComponentDescriptorList are readable/writeable lists of DtComponentDescriptor objects...
Definition: componentDescriptorList.h:22
std::list< DtComponentSystem * > DtComponentSystemList
Definition: componentSystem.h:272
Class Description: DtSimComponentList.
Definition: simComponentList.h:28
A DtPortConnection represents a connection between a DtOutputPort and a DtInputPort. PortConnections can be either active or inactive. An active connection is a connection which is supplying data, while an inactive connection is not currently supplying data. Data must be passed through connections as DtPortData.
Definition: portConnection.h:29
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
std::list< DtSimComponent * > lookupComponentsByDynamicCast() const
Returns a list of DtSimComponents that can cast to the particular component type. ...
Definition: simComponentNetwork.h:85
const char * source
Definition: lz4.h:442
Instances of DtConnectionDescriptorList are readable/writeable lists of DtConnectionDescriptor object...
Definition: connectionDescriptorList.h:22
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:89
DtSimComponentList * mySensorComponentList
Definition: simComponentNetwork.h:185
DT_DLL_DEBUGDRAWRENDERER void init(makVrv::DtDe &de)
Work function for the plugin initialization.
DtSimComponentList * myActuatorComponentList
Definition: simComponentNetwork.h:187
Definition: portGroupConnection.h:25
DtComponentSystemList mySystemList
Definition: simComponentNetwork.h:188
DtComponentSystem * myParentSystem
Definition: simComponentNetwork.h:191
A locally simulated VRF object.
Definition: localObject.h:98