|
Wrapper class for an NJointController proxy. More...
#include <armarx/control/client/ControllerWrapper.h>
Public Types | |
using | AronConfigT = typename ControllerDescriptionType::AronDTO |
using | Base = detail::ControllerWrapperBase |
using | ControllerDescriptionType = ControllerDescription< T > |
Public Types inherited from ControllerWrapperBase | |
using | ControllerPrx = armarx::control::ConfigurableNJointControllerInterfacePrx |
Public Member Functions | |
ControllerWrapper ()=delete | |
ControllerWrapper (const ControllerPrx &controller, const std::string &controllerName, const memory::config::Writer &configWriter, AronConfigT config) | |
Constructor for ControllerWrapper. More... | |
ControllerWrapper (const ControllerWrapper &)=delete | |
AronConfigT | getConfig () |
ControllerWrapper & | operator= (ControllerWrapper const &)=delete |
void | updateConfig () |
Updates the configuration of the controller. More... | |
Public Member Functions inherited from ControllerWrapperBase | |
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... | |
Public Attributes | |
AronConfigT | config |
Additional Inherited Members | |
Protected Member Functions inherited from ControllerWrapperBase | |
void | updateConfig (const armarx::aron::codegenerator::cpp::AronGeneratedObjectBase &config) |
Updates the configuration of the controller. More... | |
Wrapper class for an NJointController proxy.
This class provides a wrapper for a controller, allowing easy access and life-cicle management. It holds the controller configuration which can be modified and updated accordingly.
T | The type of the controller description. |
Definition at line 127 of file ControllerWrapper.h.
using AronConfigT = typename ControllerDescriptionType::AronDTO |
Definition at line 131 of file ControllerWrapper.h.
using Base = detail::ControllerWrapperBase |
Definition at line 136 of file ControllerWrapper.h.
Definition at line 130 of file ControllerWrapper.h.
|
delete |
|
delete |
|
inline |
Constructor for ControllerWrapper.
controller | The NJointController controller proxy. |
controllerName | The name of the controller. |
configWriter | The configuration writer used to store the controller configs in the memory. |
config | The initial configuration for the controller. |
Definition at line 152 of file ControllerWrapper.h.
|
inline |
|
delete |
|
inline |
Updates the configuration of the controller.
Definition at line 171 of file ControllerWrapper.h.
AronConfigT config |
Definition at line 164 of file ControllerWrapper.h.