SCL
1.0
Standard Control Library : Control, dynamics, physics, and simulation
|
Public Member Functions | |
virtual bool | initTaskParams () |
bool | init (const std::string &arg_name, const std::string &arg_type, const std::vector< scl::sString2 > &arg_nonstd_params) |
bool | setParentController (const SControllerMultiTask *arg_parent) |
virtual const std::string & | getType () const |
virtual const std::string & | getName () const |
virtual bool | hasBeenInit () const |
Public Attributes | |
const SControllerMultiTask * | parent_controller_ |
std::string | type_task_ |
scl::sBool | has_been_activated_ |
std::vector< sString2 > | task_nonstd_params_ |
std::string | name_ |
sBool | has_been_init_ |
Protected Attributes | |
std::string | type_ |
This class is used by the parser to load in the generic options for each class.
Also read the comments above for STaskParsedData
|
inlinevirtualinherited |
Get the object's type
|
inlinevirtualinherited |
Get the object's type
|
inlinevirtualinherited |
Get the object's type
|
inherited |
Initialization function.
NOTE : This function also activates the task.
arg_nonstd_params | These are ignored during SNonControlTaskBase initialization. However, subclasses may choose to use them and/or require various values |
|
inlinevirtual |
Processes the task's non standard parameters, which the init() function stores in the task_nonstd_params_.
NOTE: This function is called by init() and must be implemented by all subclasses. Else it will be impossible to initialize the task. Ie. init() will always return false.
Implements scl::SNonControlTaskBase.
|
inherited |
Sets the parent controller
|
inherited |
Whether the task is active or inactive Default = false. True after init()
|
inherited |
Whether the object is ready for use
|
inherited |
The object's name
|
inherited |
The parent controller
|
inherited |
A set of additional options that may be used by users to initialize this specific task. These typically go above and beyond the standard options.
Eg.The parent link and the pos in parent, which are required by op point tasks but not by gc tasks. These will be stored like: task_options_[0].data_[0] = "parent_link"; task_options_[0].data_[1] = "base"; task_options_[1].data_[0] = "pos_in_parent"; task_options_[1].data_[1] = "0.0 0.0 0.0";
|
protectedinherited |
The object's type. Should only be set by the constructor
|
inherited |
The type of the task