Choreonoid  1.8
Public Member Functions | List of all members
cnoid::SimpleControllerConfig Class Reference

#include <SimpleController.h>

Public Member Functions

 SimpleControllerConfig (SimpleControllerIO *io)
 
virtual std::string controllerName () const
 
virtual Bodybody ()
 
virtual ReferencedbodyItem ()
 
virtual std::string optionString () const
 
std::vector< std::string > options () const
 
virtual std::ostream & os () const
 
SignalProxy< void()> sigChanged ()
 

Constructor & Destructor Documentation

◆ SimpleControllerConfig()

SimpleControllerConfig::SimpleControllerConfig ( SimpleControllerIO io)

Member Function Documentation

◆ body()

Body * SimpleControllerConfig::body ( )
virtual

◆ bodyItem()

Referenced * SimpleControllerConfig::bodyItem ( )
virtual

When the controller is being managed in the Choreonoid GUI, this function returns the pointer of the corresponding body item in the GUI. Otherwise, this returns the null pointer. You can use the obtained body item object to make the controller cooperate with the Choreonoid GUI. Note that the pointer must be downcasted to BodyItem to use, and the controller binary must be linked with the BodyPlugin library.

◆ controllerName()

std::string SimpleControllerConfig::controllerName ( ) const
virtual

◆ options()

std::vector< std::string > SimpleControllerConfig::options ( ) const

◆ optionString()

std::string SimpleControllerConfig::optionString ( ) const
virtual

◆ os()

std::ostream & SimpleControllerConfig::os ( ) const
virtual

◆ sigChanged()

SignalProxy< void()> SimpleControllerConfig::sigChanged ( )

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