gusimplewhiteboard
guWhiteboard::WEBOTS_NXT_bumper Class Reference

This class reports the status of the Bumper behaviour. More...

#include <WEBOTS_NXT_bridge.hpp>

Collaboration diagram for guWhiteboard::WEBOTS_NXT_bumper:

Public Member Functions

 WEBOTS_NXT_bumper ()
 
 WEBOTS_NXT_bumper (const class WEBOTS_NXT_bridge &obj, enum TouchSensorID sensorID=LEFT_TOUCH_SENSOR)
 single touch sensor constructor LEFT_TOUCH_SENDOR is used because it is the first enumerator More...
 
 WEBOTS_NXT_bumper (const std::string &names)
 string constructor More...
 
 WEBOTS_NXT_bumper (const WEBOTS_NXT_bumper &other)
 copy constructor More...
 
WEBOTS_NXT_bumperoperator= (const WEBOTS_NXT_bumper &other)
 copy assignment operator More...
 
class WEBOTS_NXT_bridgetouchSensors ()
 property getter More...
 
void set_touchSensors (const class WEBOTS_NXT_bridge *objects)
 property setter More...
 
void set_a_sensor (const class WEBOTS_NXT_bridge &obj, enum TouchSensorID sensorID=LEFT_TOUCH_SENSOR)
 single sensor object setter More...
 
WEBOTS_NXT_bridgeget_object (enum TouchSensorID sensorID=LEFT_TOUCH_SENSOR)
 single sensor object getter More...
 
const WEBOTS_NXT_bridgeget_object (enum TouchSensorID sensorID=LEFT_TOUCH_SENSOR) const
 single sensor 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 Bumper behaviour.

Definition at line 945 of file WEBOTS_NXT_bridge.hpp.

Constructor & Destructor Documentation

◆ WEBOTS_NXT_bumper() [1/4]

guWhiteboard::WEBOTS_NXT_bumper::WEBOTS_NXT_bumper ( )
inline

◆ WEBOTS_NXT_bumper() [2/4]

guWhiteboard::WEBOTS_NXT_bumper::WEBOTS_NXT_bumper ( const class WEBOTS_NXT_bridge obj,
enum TouchSensorID  sensorID = LEFT_TOUCH_SENSOR 
)
inline

single touch sensor constructor LEFT_TOUCH_SENDOR is used because it is the first enumerator

Definition at line 962 of file WEBOTS_NXT_bridge.hpp.

◆ WEBOTS_NXT_bumper() [3/4]

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

string constructor

Definition at line 967 of file WEBOTS_NXT_bridge.hpp.

References from_string().

◆ WEBOTS_NXT_bumper() [4/4]

guWhiteboard::WEBOTS_NXT_bumper::WEBOTS_NXT_bumper ( const WEBOTS_NXT_bumper other)
inline

copy constructor

Definition at line 970 of file WEBOTS_NXT_bridge.hpp.

Member Function Documentation

◆ description()

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

convert to a string

Definition at line 1002 of file WEBOTS_NXT_bridge.hpp.

References guWhiteboard::LEFT_TOUCH_SENSOR, and guWhiteboard::NXT_NUM_SENSORS_IN_BUMBER.

◆ from_string()

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

convert from a string

Definition at line 1012 of file WEBOTS_NXT_bridge.hpp.

References FIELD_SERPARATOR, guWhiteboard::LEFT_TOUCH_SENSOR, and guWhiteboard::NXT_NUM_SENSORS_IN_BUMBER.

Referenced by WEBOTS_NXT_bumper().

◆ get_object() [1/2]

WEBOTS_NXT_bridge & guWhiteboard::WEBOTS_NXT_bumper::get_object ( enum TouchSensorID  sensorID = LEFT_TOUCH_SENSOR)
inline

single sensor object getter

Definition at line 992 of file WEBOTS_NXT_bridge.hpp.

◆ get_object() [2/2]

const WEBOTS_NXT_bridge & guWhiteboard::WEBOTS_NXT_bumper::get_object ( enum TouchSensorID  sensorID = LEFT_TOUCH_SENSOR) const
inline

single sensor object getter

Definition at line 997 of file WEBOTS_NXT_bridge.hpp.

◆ operator=()

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

copy assignment operator

Definition at line 973 of file WEBOTS_NXT_bridge.hpp.

◆ set_a_sensor()

void guWhiteboard::WEBOTS_NXT_bumper::set_a_sensor ( const class WEBOTS_NXT_bridge obj,
enum TouchSensorID  sensorID = LEFT_TOUCH_SENSOR 
)
inline

single sensor object setter

Definition at line 987 of file WEBOTS_NXT_bridge.hpp.

◆ set_touchSensors()

void guWhiteboard::WEBOTS_NXT_bumper::set_touchSensors ( const class WEBOTS_NXT_bridge objects)
inline

property setter

Definition at line 982 of file WEBOTS_NXT_bridge.hpp.

◆ touchSensors()

class WEBOTS_NXT_bridge * guWhiteboard::WEBOTS_NXT_bumper::touchSensors ( )
inline

property getter

Definition at line 979 of file WEBOTS_NXT_bridge.hpp.


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