YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
yarp::dev::vertex_t Class Reference

#include <yarp/dev/IFrameGrabberImage.h>

+ Inheritance diagram for yarp::dev::vertex_t:

Public Member Functions

virtual ~vertex_t ()
 
 vertex_t ()=default
 
 vertex_t (int x, int y)
 
bool read (yarp::os::ConnectionReader &connection) override
 Read this object from a network connection.
 
bool write (yarp::os::ConnectionWriter &connection) const override
 Write this object to a network connection.
 
- Public Member Functions inherited from yarp::os::Portable
virtual Type getType () const
 
- Public Member Functions inherited from yarp::os::PortReader
virtual ~PortReader ()
 Destructor.
 
virtual Type getReadType () const
 
- Public Member Functions inherited from yarp::os::PortWriter
virtual ~PortWriter ()
 Destructor.
 
virtual void onCompletion () const
 This is called when the port has finished all writing operations.
 
virtual void onCommencement () const
 This is called when the port is about to begin writing operations.
 
virtual yarp::os::Type getWriteType () const
 

Public Attributes

int x =0
 
int y =0
 

Additional Inherited Members

- Static Public Member Functions inherited from yarp::os::Portable
static bool copyPortable (const PortWriter &writer, PortReader &reader)
 Copy one portable to another, via writing and reading.
 

Detailed Description

Definition at line 30 of file IFrameGrabberImage.h.

Constructor & Destructor Documentation

◆ ~vertex_t()

yarp::dev::vertex_t::~vertex_t ( )
virtualdefault

◆ vertex_t() [1/2]

yarp::dev::vertex_t::vertex_t ( )
default

◆ vertex_t() [2/2]

yarp::dev::vertex_t::vertex_t ( int  x,
int  y 
)

Definition at line 22 of file IFrameGrabberImage.cpp.

Member Function Documentation

◆ read()

bool yarp::dev::vertex_t::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::Portable.

Definition at line 28 of file IFrameGrabberImage.cpp.

◆ write()

bool yarp::dev::vertex_t::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::Portable.

Definition at line 45 of file IFrameGrabberImage.cpp.

Member Data Documentation

◆ x

int yarp::dev::vertex_t::x =0

Definition at line 37 of file IFrameGrabberImage.h.

◆ y

int yarp::dev::vertex_t::y =0

Definition at line 38 of file IFrameGrabberImage.h.


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