YARP
Yet Another Robot Platform
Vocab.h File Reference
#include <yarp/os/NetInt32.h>
#include <string>
+ Include dependency graph for Vocab.h:

Go to the source code of this file.

Namespaces

 yarp
 The main, catch-all namespace for YARP.
 
 yarp::os
 An interface to the operating system, including Port based communication.
 
 yarp::os::Vocab
 

Functions

constexpr yarp::conf::vocab32_t yarp::os::createVocab (char a, char b=0, char c=0, char d=0)
 
NetInt32 yarp::os::Vocab::encode (const std::string &str)
 Convert a string into a vocabulary identifier. More...
 
std::string yarp::os::Vocab::decode (NetInt32 code)
 Convert a vocabulary identifier into a string. More...
 
constexpr int32_t VOCAB (char a, char b, char c, char d)
 
constexpr int32_t VOCAB4 (char a, char b, char c, char d)
 
constexpr int32_t VOCAB3 (char a, char b, char c)
 
constexpr int32_t VOCAB2 (char a, char b)
 
constexpr int32_t VOCAB1 (char a)
 

Function Documentation

◆ VOCAB()

constexpr int32_t VOCAB ( char  a,
char  b,
char  c,
char  d 
)

Definition at line 72 of file Vocab.h.

◆ VOCAB1()

constexpr int32_t VOCAB1 ( char  a)

Definition at line 80 of file Vocab.h.

◆ VOCAB2()

constexpr int32_t VOCAB2 ( char  a,
char  b 
)

Definition at line 78 of file Vocab.h.

◆ VOCAB3()

constexpr int32_t VOCAB3 ( char  a,
char  b,
char  c 
)

Definition at line 76 of file Vocab.h.

◆ VOCAB4()

constexpr int32_t VOCAB4 ( char  a,
char  b,
char  c,
char  d 
)

Definition at line 74 of file Vocab.h.