Choreonoid  1.8
Public Member Functions | Protected Member Functions | List of all members
cnoid::ControllerIO Class Referenceabstract

#include <ControllerIO.h>

Inheritance diagram for cnoid::ControllerIO:
cnoid::SimpleControllerIO cnoid::SimulationSimpleControllerIO

Public Member Functions

virtual ~ControllerIO ()
 
virtual std::string controllerName () const =0
 
virtual Bodybody ()=0
 
virtual std::string optionString () const
 
std::vector< std::string > options () const
 
MappingPtr structuredOptions () const
 
virtual std::ostream & os () const
 
virtual double timeStep () const
 
virtual double currentTime () const
 
virtual bool enableLog ()
 
virtual void outputLog (Referenced *logData)
 
virtual bool isNoDelayMode () const
 
virtual bool setNoDelayMode (bool on)
 
double worldTimeStep () const
 

Protected Member Functions

std::string getIntegratedOptionString (const std::string &opt1, const std::string &opt2) const
 

Constructor & Destructor Documentation

◆ ~ControllerIO()

ControllerIO::~ControllerIO ( )
virtual

Member Function Documentation

◆ body()

virtual Body* cnoid::ControllerIO::body ( )
pure virtual

◆ controllerName()

virtual std::string cnoid::ControllerIO::controllerName ( ) const
pure virtual

◆ currentTime()

double ControllerIO::currentTime ( ) const
virtual

◆ enableLog()

bool ControllerIO::enableLog ( )
virtual

◆ getIntegratedOptionString()

std::string ControllerIO::getIntegratedOptionString ( const std::string &  opt1,
const std::string &  opt2 
) const
protected

◆ isNoDelayMode()

bool ControllerIO::isNoDelayMode ( ) const
virtual

◆ options()

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

◆ optionString()

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

◆ os()

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

◆ outputLog()

void ControllerIO::outputLog ( Referenced logData)
virtual

Call this function in the controller's control function to put the log data of each frame. The log data object must not be accessed from the controller after it passed to this function.

◆ setNoDelayMode()

bool ControllerIO::setNoDelayMode ( bool  on)
virtual

◆ structuredOptions()

MappingPtr ControllerIO::structuredOptions ( ) const

◆ timeStep()

double ControllerIO::timeStep ( ) const
virtual

◆ worldTimeStep()

double cnoid::ControllerIO::worldTimeStep ( ) const
inline

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