VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions
DtRemoteComponentManager Class Reference

DtRemoteComponentManager. More...

Inheritance diagram for DtRemoteComponentManager:
Inheritance graph
[legend]

Public Member Functions

 DtRemoteComponentManager (DtVrfObject *vrfObject)
 read/writable constructor More...
 
virtual ~DtRemoteComponentManager ()
 destructor More...
 
virtual bool addComponents ()
 
- Public Member Functions inherited from DtSimComponentManager
 DtSimComponentManager (DtVrfObject *vrfObject)
 read/writable constructor More...
 
virtual ~DtSimComponentManager ()
 destructor More...
 
virtual bool init ()
 
virtual void tick ()
 
virtual DtVrfObjectvrfObject () const
 This is a pointer to the simulation object for which this interface was created. More...
 
virtual bool addSensorComponent (DtSimComponent *component)
 
virtual bool addControllerComponent (DtSimComponent *component)
 
virtual bool addActuatorComponent (DtSimComponent *component)
 
virtual bool removeSensorComponent (DtSimComponent *component)
 Removes sensor from the component manager list, and removes any port connections to or from the component by calling disconnectComponent(). More...
 
virtual bool removeControllerComponent (DtSimComponent *component)
 Removes controller from the component manager list, and removes any port connections to or from the component by calling disconnectComponent(). More...
 
virtual bool removeActuatorComponent (DtSimComponent *component)
 Removes actuator from the component manager list, and removes any port connections to or from the component by calling disconnectComponent(). More...
 
virtual bool hasComponents () const
 Returns true if this object has components or systems, false otherwise. More...
 
virtual std::list
< DtSimComponent * > 
lookupComponentsByType (const DtString &typeString) const
 Returns a list of DtSimComponents that have the specified type. More...
 
virtual DtSimComponentlookupComponent (const DtString &name) const
 Lookup a particular component by its DtReaderWriter name. More...
 
virtual DtComponentSystemlookupSystem (const std::string &printName)
 Look up a system by its name. More...
 
virtual const DtComponentSystemlookupSystem (const std::string &printName) const
 
virtual DtComponentSystemlookupSystemFromFullName (const std::string &fullName)
 Look up a system by its full name. More...
 
virtual void setAllSystemEnabled (bool enableDisable)
 Performs a lookup and attempts to enable or disable all systems. More...
 
virtual void setSystemEnabled (const std::string &systemName, bool enableDisable, bool sendSystemUpdate)
 Performs a lookup and attempts to enable or disable the given system. More...
 
virtual std::list< std::string > getSystemNames () const
 Get a list of all system (print) names. More...
 
virtual DtString systemCategory (DtString &systemName) const
 Get the category of a system, i.e. More...
 
virtual DtSimComponentListsensorComponentList () const
 
virtual DtControllerComponentListcontrollerComponentList () const
 
virtual DtSimComponentListactuatorComponentList () const
 
virtual DtString type () const
 Returns the type of component manager object. More...
 
virtual DtList * connectionList ()
 
virtual DtList * groupConnectionList ()
 
virtual void allSystems (DtComponentSystemList &) const
 Given the supplied system list, puts all known systems into the list (including the base system) More...
 
virtual bool hasSystemThatCanBeDisabled ()
 Returns whether this has a system that can be disabled. More...
 
virtual void notifySetDataSubscriber (DtSimMessage *msg)
 
virtual void sendGenericSetRwStateSubscribersUpdate (const DtSetMessageType &type, const DtUUID &uuid=DtUUID::nullUUID())
 
virtual void sendSystemStateUpdated (const std::vector< DtComponentSystem * > &system)
 Sends the current state of the system. More...
 
virtual void sendSystemStateUpdated (DtComponentSystem *system)
 
virtual DtComponentSystembaseSystem ()
 
virtual const DtComponentSystembaseSystem () const
 
virtual void processSystemListRequest (const DtVrfObjectMessage *msg)
 
virtual void processGenericSetRwRequest (const DtVrfObjectMessage *msg)
 

Static Public Member Functions

static DtSimComponentManagercreator (DtVrfObject *vrfObject)
 
- Static Public Member Functions inherited from DtSimComponentManager
static
DtSimComponentManagerFactory
factory ()
 A DtSimEntityFactory is allocated by the DtSimCreator, and this pointer is set. More...
 
static void setFactory (DtSimComponentManagerFactory *factory)
 
static void addSimComponentManagerCreatorFcn (const DtString &type, DtSimComponentManagerCreatorFcn fcn)
 
static DtSimComponentManagercreator (DtVrfObject *vrfObject)
 
static DtSimComponentManagercreateComponentManager (const DtString &type, DtVrfObject *vrfObject)
 Creates a new component manager, using the factory. More...
 
static void notifySetDataSubscriberCallback (DtSimMessage *msg, void *usr)
 
static void systemListRequestCallback (const DtVrfObjectMessage *msg, void *usr)
 Responds to system list requests with list of system names associated with this entity. More...
 
static void genericSetRwRequestCallback (const DtVrfObjectMessage *msg, void *usr)
 Responds to generic SetRw requests with data associated with this entity. More...
 

Private Member Functions

 DtRemoteComponentManager ()
 Not implemented. More...
 
 DtRemoteComponentManager (const DtRemoteComponentManager &orig)
 
const DtRemoteComponentManageroperator= (const DtRemoteComponentManager &orig)
 

Additional Inherited Members

- Protected Member Functions inherited from DtSimComponentManager
virtual void allSystems (DtComponentSystemList &, DtComponentSystem *) const
 Used recursively from allSystems(). More...
 
- Protected Attributes inherited from DtSimComponentManager
DtVrfObjectmyVrfObject
 
DtComponentSystemmyComponentSystem
 
DtList myConnectionList
 
DtList myGroupConnectionList
 
std::set< DtUUIDmySystemStateSubscribers
 
std::map< DtString, std::set
< DtUUID > > 
myGenericSetRwStateSubscribers
 
- Static Protected Attributes inherited from DtSimComponentManager
static
DtSimComponentManagerFactory
theFactory
 

Detailed Description

DtRemoteComponentManager.

Constructor & Destructor Documentation

DtRemoteComponentManager::DtRemoteComponentManager ( )
private

Not implemented.

DtRemoteComponentManager::DtRemoteComponentManager ( const DtRemoteComponentManager orig)
private
DtRemoteComponentManager::DtRemoteComponentManager ( DtVrfObject vrfObject)

read/writable constructor

virtual DtRemoteComponentManager::~DtRemoteComponentManager ( )
virtual

destructor

Member Function Documentation

const DtRemoteComponentManager& DtRemoteComponentManager::operator= ( const DtRemoteComponentManager orig)
private
virtual bool DtRemoteComponentManager::addComponents ( )
virtual

Reimplemented from DtSimComponentManager.

static DtSimComponentManager* DtRemoteComponentManager::creator ( DtVrfObject vrfObject)
static

The documentation for this class was generated from the following file:

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)