gusimplewhiteboard
guWhiteboard::WEBOTS_NXT_encoders Class Reference

This class reports the status of the Encoder Status. More...

#include <WEBOTS_NXT_bridge.hpp>

Collaboration diagram for guWhiteboard::WEBOTS_NXT_encoders:

Public Member Functions

 WEBOTS_NXT_encoders ()
 
 WEBOTS_NXT_encoders (const class WEBOTS_NXT_bridge &obj, enum DifferentialMotor encoderID=NXT_MOTOR3)
 single encoder constructor More...
 
 WEBOTS_NXT_encoders (const std::string &names)
 string constructor More...
 
 WEBOTS_NXT_encoders (const WEBOTS_NXT_encoders &other)
 copy constructor More...
 
WEBOTS_NXT_encodersoperator= (const WEBOTS_NXT_encoders &other)
 copy assignment operator More...
 
class WEBOTS_NXT_bridgeencoders ()
 property getter More...
 
void set_encoders (const class WEBOTS_NXT_bridge *objects)
 property setter More...
 
void set_encoder (const class WEBOTS_NXT_bridge &obj, enum DifferentialMotor encoderID=NXT_MOTOR3)
 single encoder object setter More...
 
WEBOTS_NXT_bridgeget_object (enum DifferentialMotor encoderID=NXT_MOTOR3)
 single encoder object getter More...
 
const WEBOTS_NXT_bridgeget_object (enum DifferentialMotor encoderID=NXT_MOTOR3) const
 single encoder object getter More...
 
std::string description () const
 convert to a string More...
 
void from_string (const std::string &str)
 convert from a string More...
 

Detailed Description

This class reports the status of the Encoder Status.

Definition at line 1028 of file WEBOTS_NXT_bridge.hpp.

Constructor & Destructor Documentation

◆ WEBOTS_NXT_encoders() [1/4]

guWhiteboard::WEBOTS_NXT_encoders::WEBOTS_NXT_encoders ( )
inline

◆ WEBOTS_NXT_encoders() [2/4]

guWhiteboard::WEBOTS_NXT_encoders::WEBOTS_NXT_encoders ( const class WEBOTS_NXT_bridge obj,
enum DifferentialMotor  encoderID = NXT_MOTOR3 
)
inline

single encoder constructor

Definition at line 1052 of file WEBOTS_NXT_bridge.hpp.

◆ WEBOTS_NXT_encoders() [3/4]

guWhiteboard::WEBOTS_NXT_encoders::WEBOTS_NXT_encoders ( const std::string &  names)
inline

string constructor

Definition at line 1058 of file WEBOTS_NXT_bridge.hpp.

References from_string().

◆ WEBOTS_NXT_encoders() [4/4]

guWhiteboard::WEBOTS_NXT_encoders::WEBOTS_NXT_encoders ( const WEBOTS_NXT_encoders other)
inline

copy constructor

Definition at line 1061 of file WEBOTS_NXT_bridge.hpp.

Member Function Documentation

◆ description()

std::string guWhiteboard::WEBOTS_NXT_encoders::description ( ) const
inline

convert to a string

Definition at line 1085 of file WEBOTS_NXT_bridge.hpp.

References guWhiteboard::LEFT_MOTOR_DIFFERENTIAL, and guWhiteboard::NXT_MOTOR3.

◆ encoders()

class WEBOTS_NXT_bridge * guWhiteboard::WEBOTS_NXT_encoders::encoders ( )
inline

property getter

Definition at line 1070 of file WEBOTS_NXT_bridge.hpp.

◆ from_string()

void guWhiteboard::WEBOTS_NXT_encoders::from_string ( const std::string &  str)
inline

◆ get_object() [1/2]

WEBOTS_NXT_bridge & guWhiteboard::WEBOTS_NXT_encoders::get_object ( enum DifferentialMotor  encoderID = NXT_MOTOR3)
inline

single encoder object getter

Definition at line 1079 of file WEBOTS_NXT_bridge.hpp.

◆ get_object() [2/2]

const WEBOTS_NXT_bridge & guWhiteboard::WEBOTS_NXT_encoders::get_object ( enum DifferentialMotor  encoderID = NXT_MOTOR3) const
inline

single encoder object getter

Definition at line 1082 of file WEBOTS_NXT_bridge.hpp.

◆ operator=()

WEBOTS_NXT_encoders & guWhiteboard::WEBOTS_NXT_encoders::operator= ( const WEBOTS_NXT_encoders other)
inline

copy assignment operator

Definition at line 1064 of file WEBOTS_NXT_bridge.hpp.

◆ set_encoder()

void guWhiteboard::WEBOTS_NXT_encoders::set_encoder ( const class WEBOTS_NXT_bridge obj,
enum DifferentialMotor  encoderID = NXT_MOTOR3 
)
inline

single encoder object setter

Definition at line 1076 of file WEBOTS_NXT_bridge.hpp.

◆ set_encoders()

void guWhiteboard::WEBOTS_NXT_encoders::set_encoders ( const class WEBOTS_NXT_bridge objects)
inline

property setter

Definition at line 1073 of file WEBOTS_NXT_bridge.hpp.


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