YARP
Yet Another Robot Platform
RosHeader Class Reference

#include <tcpros_carrier/RosHeader.h>

Public Member Functions

std::string writeHeader ()
 
bool readHeader (const std::string &bin)
 
std::string toString () const
 

Static Public Member Functions

static void appendInt32 (char *&buf, int x)
 
static void appendString (char *&buf, const std::string &str)
 
static std::string showMessage (std::string s)
 

Public Attributes

std::map< std::string, std::string > data
 

Detailed Description

Definition at line 15 of file RosHeader.h.

Member Function Documentation

◆ appendInt32()

void RosHeader::appendInt32 ( char *&  buf,
int  x 
)
static

Definition at line 20 of file RosHeader.cpp.

◆ appendString()

void RosHeader::appendString ( char *&  buf,
const std::string &  str 
)
static

Definition at line 26 of file RosHeader.cpp.

◆ readHeader()

bool RosHeader::readHeader ( const std::string &  bin)

Definition at line 63 of file RosHeader.cpp.

◆ showMessage()

string RosHeader::showMessage ( std::string  s)
static

Definition at line 32 of file RosHeader.cpp.

◆ toString()

std::string RosHeader::toString ( ) const

Definition at line 90 of file RosHeader.cpp.

◆ writeHeader()

string RosHeader::writeHeader ( )

Definition at line 42 of file RosHeader.cpp.

Member Data Documentation

◆ data

std::map<std::string,std::string> RosHeader::data

Definition at line 18 of file RosHeader.h.


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