rec::robotino::api2 C++ interface
Public Member Functions | Friends | List of all members
rec::robotino::api2::MotorDebug Class Reference

Represents a MotorDebug. More...

#include <MotorDebug.h>

Inheritance diagram for rec::robotino::api2::MotorDebug:
rec::robotino::api2::ComObject

Public Member Functions

 MotorDebug (const ComId &id)
 
void setComId (const ComId &id)
 
void startDebug (int motor)
 
virtual void motorDebugEvent (int motor, const unsigned int *times, const float *speed_setpoints, const float *speeds, const float *currents, const float *control_points, const int size)
 
- Public Member Functions inherited from rec::robotino::api2::ComObject
 ComObject ()
 
virtual ~ComObject ()
 
ComId comId () const
 

Friends

class MotorDebugImpl
 

Additional Inherited Members

- Protected Attributes inherited from rec::robotino::api2::ComObject
ComId _comID
 

Detailed Description

Represents a MotorDebug.

Member Function Documentation

virtual void rec::robotino::api2::MotorDebug::motorDebugEvent ( int  motor,
const unsigned int *  times,
const float *  speed_setpoints,
const float *  speeds,
const float *  currents,
const float *  control_points,
const int  size 
)
virtual

Called when new readings are available.

Remarks
This function is called from the thread in which Com::processEvents() is called.
See also
Com::processEvents
void rec::robotino::api2::MotorDebug::setComId ( const ComId id)

Sets the associated communication object.

Parameters
idThe id of the associated communication object.
Exceptions
RobotinoExceptionif given id is invalid.
Remarks
This function is thread save

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