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
 Short readable codes.
 

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 
)
constexpr

Definition at line 75 of file Vocab.h.

◆ VOCAB1()

constexpr int32_t VOCAB1 ( char  a)
constexpr

Definition at line 95 of file Vocab.h.

◆ VOCAB2()

constexpr int32_t VOCAB2 ( char  a,
char  b 
)
constexpr

Definition at line 90 of file Vocab.h.

◆ VOCAB3()

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

Definition at line 85 of file Vocab.h.

◆ VOCAB4()

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

Definition at line 80 of file Vocab.h.