YARP
Yet Another Robot Platform
RosSlave Class Reference

#include <tcpros_carrier/RosSlave.h>

+ Inheritance diagram for RosSlave:

Public Member Functions

 RosSlave ()
 
void start (const char *hostname, int portnum)
 
void stop ()
 
yarp::os::Contact where ()
 
bool isOk ()
 
bool read (yarp::os::ConnectionReader &reader) override
 Read this object from a network connection. More...
 
- Public Member Functions inherited from yarp::os::PortReader
virtual ~PortReader ()
 Destructor. More...
 
virtual Type getReadType () const
 

Detailed Description

Definition at line 17 of file RosSlave.h.

Constructor & Destructor Documentation

◆ RosSlave()

RosSlave::RosSlave ( )
inline

Definition at line 27 of file RosSlave.h.

Member Function Documentation

◆ isOk()

bool RosSlave::isOk ( )
inline

Definition at line 61 of file RosSlave.h.

◆ read()

bool RosSlave::read ( yarp::os::ConnectionReader reader)
inlineoverridevirtual

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 65 of file RosSlave.h.

◆ start()

void RosSlave::start ( const char *  hostname,
int  portnum 
)
inline

Definition at line 33 of file RosSlave.h.

◆ stop()

void RosSlave::stop ( )
inline

Definition at line 40 of file RosSlave.h.

◆ where()

yarp::os::Contact RosSlave::where ( )
inline

Definition at line 57 of file RosSlave.h.


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