Each configured component is stored in a struct like this. More...
#include <DeploymentComponent.hpp>
Public Attributes | |
RTT::TaskContext * | instance |
The component instance. | |
ActivityInterface * | act |
The activity created by DeploymentComponent. | |
bool | loaded |
True if it was loaded and created by DeploymentComponent. | |
bool | loadedProperties |
True if successfully loaded a property file, and so will need auto-saving (it autosave is on). | |
bool | autostart |
bool | autoconf |
bool | autoconnect |
bool | autosave |
bool | proxy |
bool | server |
bool | use_naming |
std::string | type |
std::string | configfile |
Each configured component is stored in a struct like this.
We need this to keep track of: 1. if we created an activity for it. 2. if we loaded it.
Definition at line 108 of file DeploymentComponent.hpp.
ActivityInterface* act |
The activity created by DeploymentComponent.
May be null or an activity that we own.
Definition at line 125 of file DeploymentComponent.hpp.
Referenced by DeploymentComponent::unloadComponentImpl().
RTT::TaskContext* instance |
The component instance.
This is always a valid pointer.
Definition at line 120 of file DeploymentComponent.hpp.
Referenced by DeploymentComponent::cleanupComponents(), DeploymentComponent::configureComponents(), DeploymentComponent::startComponents(), DeploymentComponent::stopComponents(), and DeploymentComponent::unloadComponentImpl().
bool loaded |
True if it was loaded and created by DeploymentComponent.
If true, instance may be deleted during unloadComponent.
Definition at line 131 of file DeploymentComponent.hpp.
Referenced by DeploymentComponent::configureComponents(), and DeploymentComponent::unloadComponentImpl().