|
The base class for the ControllerWrapper which allows the private implementation to be in the .cpp file. More...
#include <armarx/control/client/ControllerWrapper.h>
Public Types | |
using | ControllerPrx = armarx::control::ConfigurableNJointControllerInterfacePrx |
Public Member Functions | |
void | activate () |
Requests the activation of the controller in the RobotUnit. More... | |
ControllerWrapperBase ()=delete | |
ControllerWrapperBase (const ControllerPrx &controller, const std::string &controllerName, const std::string &controllerTypeName, const memory::config::Writer &configWriter) | |
Constructor for the ControllerWrapperBase class. More... | |
ControllerPrx & | ctrl () |
Returns the "raw" controller object. More... | |
void | daemonize (bool daemonize=true) |
Sets whether the controller should be daemonized. More... | |
void | deactivate () |
Requests the deactivation of the controller in the RobotUnit. More... | |
bool | isActive () |
Check the status of the controller. More... | |
~ControllerWrapperBase () | |
Destructor for the ControllerWrapperBase class. More... | |
Protected Member Functions | |
void | updateConfig (const armarx::aron::codegenerator::cpp::AronGeneratedObjectBase &config) |
Updates the configuration of the controller. More... | |
The base class for the ControllerWrapper which allows the private implementation to be in the .cpp file.
Definition at line 43 of file ControllerWrapper.h.
using ControllerPrx = armarx::control::ConfigurableNJointControllerInterfacePrx |
Definition at line 46 of file ControllerWrapper.h.
|
delete |
ControllerWrapperBase | ( | const ControllerPrx & | controller, |
const std::string & | controllerName, | ||
const std::string & | controllerTypeName, | ||
const memory::config::Writer & | configWriter | ||
) |
Constructor for the ControllerWrapperBase class.
controller | The controller object. |
controllerName | The name of the controller. |
controllerTypeName | The type name of the controller. |
configWriter | The configuration writer object. |
Definition at line 36 of file ControllerWrapper.cpp.
Destructor for the ControllerWrapperBase class.
When invoked, the controller is deactivated and deleted unless being daemonized.
Definition at line 47 of file ControllerWrapper.cpp.
void activate | ( | ) |
Requests the activation of the controller in the RobotUnit.
Definition at line 58 of file ControllerWrapper.cpp.
ControllerWrapperBase::ControllerPrx & ctrl | ( | ) |
Returns the "raw" controller object.
Definition at line 88 of file ControllerWrapper.cpp.
void daemonize | ( | bool | daemonize = true | ) |
Sets whether the controller should be daemonized.
daemonize | Flag indicating whether to daemonize the controller. |
Definition at line 81 of file ControllerWrapper.cpp.
void deactivate | ( | ) |
Requests the deactivation of the controller in the RobotUnit.
Definition at line 73 of file ControllerWrapper.cpp.
bool isActive | ( | ) |
Check the status of the controller.
Definition at line 66 of file ControllerWrapper.cpp.
|
protected |
Updates the configuration of the controller.
This update is two-fold:
config | The configuration object. |
Definition at line 95 of file ControllerWrapper.cpp.