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

#include <yarp/dev/Map2DLocationData.h>

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

Public Member Functions

 Editor ()
 
 Editor (Map2DLocationData &obj)
 
 ~Editor () override
 
 Editor (const Editor &rhs)=delete
 
 Editor (Editor &&rhs)=delete
 
Editoroperator= (const Editor &rhs)=delete
 
Editoroperator= (Editor &&rhs)=delete
 
bool edit (Map2DLocationData &obj, bool dirty=true)
 
bool isValid () const
 
Map2DLocationDatastate ()
 
void start_editing ()
 
void begin ()
 
void stop_editing ()
 
void end ()
 
void set_map_id (const std::string &map_id)
 
const std::string & get_map_id () const
 
virtual bool will_set_map_id ()
 
virtual bool did_set_map_id ()
 
void set_x (const double x)
 
double get_x () const
 
virtual bool will_set_x ()
 
virtual bool did_set_x ()
 
void set_y (const double y)
 
double get_y () const
 
virtual bool will_set_y ()
 
virtual bool did_set_y ()
 
void set_theta (const double theta)
 
double get_theta () const
 
virtual bool will_set_theta ()
 
virtual bool did_set_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...
 
const yarp::os::WireLinkyarp () const
 Get YARP state associated with this object (const version). 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 59 of file Map2DLocationData.h.

Constructor & Destructor Documentation

◆ Editor() [1/4]

yarp::dev::Map2DLocationData::Editor::Editor ( )

Definition at line 104 of file Map2DLocationData.cpp.

◆ Editor() [2/4]

yarp::dev::Map2DLocationData::Editor::Editor ( Map2DLocationData obj)

Definition at line 114 of file Map2DLocationData.cpp.

◆ ~Editor()

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

Definition at line 123 of file Map2DLocationData.cpp.

◆ Editor() [3/4]

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

◆ Editor() [4/4]

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

Member Function Documentation

◆ begin()

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

Definition at line 93 of file Map2DLocationData.h.

◆ clean()

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

Definition at line 281 of file Map2DLocationData.cpp.

◆ did_set_map_id()

bool yarp::dev::Map2DLocationData::Editor::did_set_map_id ( )
virtual

Definition at line 191 of file Map2DLocationData.cpp.

◆ did_set_theta()

bool yarp::dev::Map2DLocationData::Editor::did_set_theta ( )
virtual

Definition at line 275 of file Map2DLocationData.cpp.

◆ did_set_x()

bool yarp::dev::Map2DLocationData::Editor::did_set_x ( )
virtual

Definition at line 219 of file Map2DLocationData.cpp.

◆ did_set_y()

bool yarp::dev::Map2DLocationData::Editor::did_set_y ( )
virtual

Definition at line 247 of file Map2DLocationData.cpp.

◆ edit()

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

Definition at line 131 of file Map2DLocationData.cpp.

◆ end()

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

Definition at line 104 of file Map2DLocationData.h.

◆ get_map_id()

const std::string & yarp::dev::Map2DLocationData::Editor::get_map_id ( ) const

Definition at line 179 of file Map2DLocationData.cpp.

◆ get_theta()

double yarp::dev::Map2DLocationData::Editor::get_theta ( ) const

Definition at line 263 of file Map2DLocationData.cpp.

◆ get_x()

double yarp::dev::Map2DLocationData::Editor::get_x ( ) const

Definition at line 207 of file Map2DLocationData.cpp.

◆ get_y()

double yarp::dev::Map2DLocationData::Editor::get_y ( ) const

Definition at line 235 of file Map2DLocationData.cpp.

◆ isValid()

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

Definition at line 143 of file Map2DLocationData.cpp.

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ read()

bool yarp::dev::Map2DLocationData::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 287 of file Map2DLocationData.cpp.

◆ set_map_id()

void yarp::dev::Map2DLocationData::Editor::set_map_id ( const std::string &  map_id)

Definition at line 169 of file Map2DLocationData.cpp.

◆ set_theta()

void yarp::dev::Map2DLocationData::Editor::set_theta ( const double  theta)

Definition at line 253 of file Map2DLocationData.cpp.

◆ set_x()

void yarp::dev::Map2DLocationData::Editor::set_x ( const double  x)

Definition at line 197 of file Map2DLocationData.cpp.

◆ set_y()

void yarp::dev::Map2DLocationData::Editor::set_y ( const double  y)

Definition at line 225 of file Map2DLocationData.cpp.

◆ start_editing()

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

Definition at line 155 of file Map2DLocationData.cpp.

◆ state()

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

Definition at line 149 of file Map2DLocationData.cpp.

◆ stop_editing()

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

Definition at line 161 of file Map2DLocationData.cpp.

◆ will_set_map_id()

bool yarp::dev::Map2DLocationData::Editor::will_set_map_id ( )
virtual

Definition at line 185 of file Map2DLocationData.cpp.

◆ will_set_theta()

bool yarp::dev::Map2DLocationData::Editor::will_set_theta ( )
virtual

Definition at line 269 of file Map2DLocationData.cpp.

◆ will_set_x()

bool yarp::dev::Map2DLocationData::Editor::will_set_x ( )
virtual

Definition at line 213 of file Map2DLocationData.cpp.

◆ will_set_y()

bool yarp::dev::Map2DLocationData::Editor::will_set_y ( )
virtual

Definition at line 241 of file Map2DLocationData.cpp.

◆ write()

bool yarp::dev::Map2DLocationData::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 435 of file Map2DLocationData.cpp.


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