YARP
Yet Another Robot Platform
yarp::wire_rep_utils::WireTwiddler Class Reference

#include <yarp/wire_rep_utils/WireTwiddler.h>

Public Member Functions

 WireTwiddler ()
 
virtual ~WireTwiddler ()
 
bool configure (const char *txt, const char *prompt)
 
std::string fromTemplate (const yarp::os::Bottle &msg)
 
void show ()
 
int configure (yarp::os::Bottle &desc, int offset, bool &ignored, const std::string &vtag)
 
int getGapCount ()
 
void clear ()
 
const WireTwiddlerGapgetGap (int index)
 
std::string toString () const
 
const std::string & getPrompt () const
 
bool read (yarp::os::Bottle &bot, const yarp::os::Bytes &data)
 
bool write (yarp::os::Bottle &bot, yarp::os::ManagedBytes &data)
 

Detailed Description

Definition at line 71 of file WireTwiddler.h.

Constructor & Destructor Documentation

◆ WireTwiddler()

yarp::wire_rep_utils::WireTwiddler::WireTwiddler ( )
inline

Definition at line 74 of file WireTwiddler.h.

◆ ~WireTwiddler()

virtual yarp::wire_rep_utils::WireTwiddler::~WireTwiddler ( )
inlinevirtual

Definition at line 79 of file WireTwiddler.h.

Member Function Documentation

◆ clear()

void yarp::wire_rep_utils::WireTwiddler::clear ( )
inline

Definition at line 112 of file WireTwiddler.h.

◆ configure() [1/2]

bool WireTwiddler::configure ( const char *  txt,
const char *  prompt 
)

Definition at line 216 of file WireTwiddler.cpp.

◆ configure() [2/2]

int WireTwiddler::configure ( yarp::os::Bottle desc,
int  offset,
bool &  ignored,
const std::string &  vtag 
)

Definition at line 40 of file WireTwiddler.cpp.

◆ fromTemplate()

std::string WireTwiddler::fromTemplate ( const yarp::os::Bottle msg)

Definition at line 304 of file WireTwiddler.cpp.

◆ getGap()

const WireTwiddlerGap& yarp::wire_rep_utils::WireTwiddler::getGap ( int  index)
inline

Definition at line 118 of file WireTwiddler.h.

◆ getGapCount()

int yarp::wire_rep_utils::WireTwiddler::getGapCount ( )
inline

Definition at line 108 of file WireTwiddler.h.

◆ getPrompt()

const std::string& yarp::wire_rep_utils::WireTwiddler::getPrompt ( ) const
inline

Definition at line 124 of file WireTwiddler.h.

◆ read()

bool WireTwiddler::read ( yarp::os::Bottle bot,
const yarp::os::Bytes data 
)

Definition at line 393 of file WireTwiddler.cpp.

◆ show()

void WireTwiddler::show ( )

Definition at line 344 of file WireTwiddler.cpp.

◆ toString()

std::string WireTwiddler::toString ( ) const

Definition at line 362 of file WireTwiddler.cpp.

◆ write()

bool WireTwiddler::write ( yarp::os::Bottle bot,
yarp::os::ManagedBytes data 
)

Definition at line 401 of file WireTwiddler.cpp.


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