SCL  1.0
Standard Control Library : Control, dynamics, physics, and simulation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Macros Groups Pages
Public Member Functions | Public Attributes | Protected Attributes | List of all members
scl::SControllerBase Class Reference
Inheritance diagram for scl::SControllerBase:
Inheritance graph
[legend]
Collaboration diagram for scl::SControllerBase:
Collaboration graph
[legend]

Public Member Functions

 SControllerBase ()
 
virtual ~SControllerBase ()
 
virtual sBool init (const std::string &arg_controller_name, const SRobotParsed *arg_robot_ds, SRobotIO *arg_io_data, SGcModel *arg_gc_model=S_NULL)
 
virtual const std::string & getType () const
 
virtual const std::string & getName () const
 
virtual bool hasBeenInit () const
 

Public Attributes

std::string robot_name_
 
const SRobotParsedrobot_
 
SRobotIOio_data_
 
SGcModelgc_model_
 
std::string name_
 
sBool has_been_init_
 

Protected Attributes

std::string type_
 

Constructor & Destructor Documentation

scl::SControllerBase::SControllerBase ( )

The constructor sets the initialization state to false

scl::SControllerBase::~SControllerBase ( )
virtual

The destructor does nothing

Member Function Documentation

virtual const std::string& scl::SObject::getName ( ) const
inlinevirtualinherited

Get the object's type

virtual const std::string& scl::SObject::getType ( ) const
inlinevirtualinherited

Get the object's type

virtual bool scl::SObject::hasBeenInit ( ) const
inlinevirtualinherited

Get the object's type

sBool scl::SControllerBase::init ( const std::string &  arg_controller_name,
const SRobotParsed arg_robot_ds,
SRobotIO arg_io_data,
SGcModel arg_gc_model = S_NULL 
)
virtual

Initializes the data structure

Reimplemented in scl::SControllerMultiTask.

Member Data Documentation

SGcModel* scl::SControllerBase::gc_model_

Pointer to the JSpace model DS.

sBool scl::SObject::has_been_init_
inherited

Whether the object is ready for use

SRobotIO* scl::SControllerBase::io_data_

Robot sensor and actuator data

std::string scl::SObject::name_
inherited

The object's name

const SRobotParsed* scl::SControllerBase::robot_

Pointer to the static robot data (parsed from a file)

std::string scl::SControllerBase::robot_name_

Name of the robot

std::string scl::SObject::type_
protectedinherited

The object's type. Should only be set by the constructor


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