YARP
Yet Another Robot Platform
yarp::dev::MobileBaseVelocity::Editor Class Reference

#include <yarp/dev/MobileBaseVelocity.h>

+ Inheritance diagram for yarp::dev::MobileBaseVelocity::Editor:

Public Member Functions

 Editor ()
 
 Editor (MobileBaseVelocity &obj)
 
 ~Editor () override
 
 Editor (const Editor &rhs)=delete
 
 Editor (Editor &&rhs)=delete
 
Editoroperator= (const Editor &rhs)=delete
 
Editoroperator= (Editor &&rhs)=delete
 
bool edit (MobileBaseVelocity &obj, bool dirty=true)
 
bool isValid () const
 
MobileBaseVelocitystate ()
 
void start_editing ()
 
void begin ()
 
void stop_editing ()
 
void end ()
 
void set_vel_x (const double vel_x)
 
double get_vel_x () const
 
virtual bool will_set_vel_x ()
 
virtual bool did_set_vel_x ()
 
void set_vel_y (const double vel_y)
 
double get_vel_y () const
 
virtual bool will_set_vel_y ()
 
virtual bool did_set_vel_y ()
 
void set_vel_theta (const double vel_theta)
 
double get_vel_theta () const
 
virtual bool will_set_vel_theta ()
 
virtual bool did_set_vel_theta ()
 
void clean ()
 
bool read (yarp::os::ConnectionReader &connection) override
 Read this object from a network connection. More...
 
bool write (yarp::os::ConnectionWriter &connection) const override
 Write this object to a network connection. More...
 
- Public Member Functions inherited from yarp::os::Wire
yarp::os::WireLinkyarp ()
 Get YARP state associated with this object. More...
 
- Public Member Functions inherited from yarp::os::PortReader
virtual ~PortReader ()
 Destructor. More...
 
virtual Type getReadType () const
 
- Public Member Functions inherited from yarp::os::PortWriter
virtual ~PortWriter ()
 Destructor. More...
 
virtual void onCompletion () const
 This is called when the port has finished all writing operations. More...
 
virtual void onCommencement () const
 This is called when the port is about to begin writing operations. More...
 
virtual yarp::os::Type getWriteType () const
 

Detailed Description

Definition at line 69 of file MobileBaseVelocity.h.

Constructor & Destructor Documentation

◆ Editor() [1/4]

yarp::dev::MobileBaseVelocity::Editor::Editor ( )

Definition at line 98 of file MobileBaseVelocity.cpp.

◆ Editor() [2/4]

yarp::dev::MobileBaseVelocity::Editor::Editor ( MobileBaseVelocity obj)

Definition at line 108 of file MobileBaseVelocity.cpp.

◆ ~Editor()

yarp::dev::MobileBaseVelocity::Editor::~Editor ( )
override

Definition at line 117 of file MobileBaseVelocity.cpp.

◆ Editor() [3/4]

yarp::dev::MobileBaseVelocity::Editor::Editor ( const Editor rhs)
delete

◆ Editor() [4/4]

yarp::dev::MobileBaseVelocity::Editor::Editor ( Editor &&  rhs)
delete

Member Function Documentation

◆ begin()

void yarp::dev::MobileBaseVelocity::Editor::begin ( )
inline

Definition at line 103 of file MobileBaseVelocity.h.

◆ clean()

void yarp::dev::MobileBaseVelocity::Editor::clean ( )

Definition at line 247 of file MobileBaseVelocity.cpp.

◆ did_set_vel_theta()

bool yarp::dev::MobileBaseVelocity::Editor::did_set_vel_theta ( )
virtual

Definition at line 241 of file MobileBaseVelocity.cpp.

◆ did_set_vel_x()

bool yarp::dev::MobileBaseVelocity::Editor::did_set_vel_x ( )
virtual

Definition at line 185 of file MobileBaseVelocity.cpp.

◆ did_set_vel_y()

bool yarp::dev::MobileBaseVelocity::Editor::did_set_vel_y ( )
virtual

Definition at line 213 of file MobileBaseVelocity.cpp.

◆ edit()

bool yarp::dev::MobileBaseVelocity::Editor::edit ( MobileBaseVelocity obj,
bool  dirty = true 
)

Definition at line 125 of file MobileBaseVelocity.cpp.

◆ end()

void yarp::dev::MobileBaseVelocity::Editor::end ( )
inline

Definition at line 114 of file MobileBaseVelocity.h.

◆ get_vel_theta()

double yarp::dev::MobileBaseVelocity::Editor::get_vel_theta ( ) const

Definition at line 229 of file MobileBaseVelocity.cpp.

◆ get_vel_x()

double yarp::dev::MobileBaseVelocity::Editor::get_vel_x ( ) const

Definition at line 173 of file MobileBaseVelocity.cpp.

◆ get_vel_y()

double yarp::dev::MobileBaseVelocity::Editor::get_vel_y ( ) const

Definition at line 201 of file MobileBaseVelocity.cpp.

◆ isValid()

bool yarp::dev::MobileBaseVelocity::Editor::isValid ( ) const

Definition at line 137 of file MobileBaseVelocity.cpp.

◆ operator=() [1/2]

Editor& yarp::dev::MobileBaseVelocity::Editor::operator= ( const Editor rhs)
delete

◆ operator=() [2/2]

Editor& yarp::dev::MobileBaseVelocity::Editor::operator= ( Editor &&  rhs)
delete

◆ read()

bool yarp::dev::MobileBaseVelocity::Editor::read ( yarp::os::ConnectionReader reader)
overridevirtual

Read this object from a network connection.

Override this for your particular class.

Parameters
readeran interface to the network connection for reading
Returns
true iff the object is successfully read

Implements yarp::os::PortReader.

Definition at line 253 of file MobileBaseVelocity.cpp.

◆ set_vel_theta()

void yarp::dev::MobileBaseVelocity::Editor::set_vel_theta ( const double  vel_theta)

Definition at line 219 of file MobileBaseVelocity.cpp.

◆ set_vel_x()

void yarp::dev::MobileBaseVelocity::Editor::set_vel_x ( const double  vel_x)

Definition at line 163 of file MobileBaseVelocity.cpp.

◆ set_vel_y()

void yarp::dev::MobileBaseVelocity::Editor::set_vel_y ( const double  vel_y)

Definition at line 191 of file MobileBaseVelocity.cpp.

◆ start_editing()

void yarp::dev::MobileBaseVelocity::Editor::start_editing ( )

Definition at line 149 of file MobileBaseVelocity.cpp.

◆ state()

MobileBaseVelocity & yarp::dev::MobileBaseVelocity::Editor::state ( )

Definition at line 143 of file MobileBaseVelocity.cpp.

◆ stop_editing()

void yarp::dev::MobileBaseVelocity::Editor::stop_editing ( )

Definition at line 155 of file MobileBaseVelocity.cpp.

◆ will_set_vel_theta()

bool yarp::dev::MobileBaseVelocity::Editor::will_set_vel_theta ( )
virtual

Definition at line 235 of file MobileBaseVelocity.cpp.

◆ will_set_vel_x()

bool yarp::dev::MobileBaseVelocity::Editor::will_set_vel_x ( )
virtual

Definition at line 179 of file MobileBaseVelocity.cpp.

◆ will_set_vel_y()

bool yarp::dev::MobileBaseVelocity::Editor::will_set_vel_y ( )
virtual

Definition at line 207 of file MobileBaseVelocity.cpp.

◆ write()

bool yarp::dev::MobileBaseVelocity::Editor::write ( yarp::os::ConnectionWriter writer) const
overridevirtual

Write this object to a network connection.

Override this for your particular class. Be aware that depending on the nature of the connections a port has, and what protocol they use, and how efficient the YARP implementation is, this method may be called once, twice, or many times, as the result of a single call to Port::write

Parameters
writeran interface to the network connection for writing
Returns
true iff the object is successfully written

Implements yarp::os::PortWriter.

Definition at line 395 of file MobileBaseVelocity.cpp.


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