|
Goby3 3.3.0
2025.07.10
|
Enumeration and helper functions for marshalling scheme identification. More...
#include <goby/middleware/marshalling/interface.h>
Public Types | |
| enum | MarshallingSchemeEnum { ALL_SCHEMES = -2 , NULL_SCHEME = -1 , CSTR = 0 , PROTOBUF = 1 , DCCL = 2 , CXX_OBJECT = 5 , MAVLINK = 6 , JSON = 7 } |
| Marshalilng schemes implemented in Goby. More... | |
Static Public Member Functions | |
| static std::string | to_string (int e) |
| Convert a known marshalling scheme to a human-readable string or an unknown scheme to the string representation of its numeric value. | |
| static int | from_string (const std::string &s) |
| Convert from a string to a marshalling scheme id. | |
Enumeration and helper functions for marshalling scheme identification.
Definition at line 45 of file interface.h.
Marshalilng schemes implemented in Goby.
| Enumerator | |
|---|---|
| ALL_SCHEMES | |
| NULL_SCHEME | |
| CSTR | |
| PROTOBUF | |
| DCCL | |
| CXX_OBJECT | |
| MAVLINK | |
| JSON | |
Definition at line 48 of file interface.h.
|
inlinestatic |
Convert from a string to a marshalling scheme id.
| s | string representation of marshalling scheme, e.g. "PROTOBUF" or "450" |
Definition at line 77 of file interface.h.
|
inlinestatic |
Convert a known marshalling scheme to a human-readable string or an unknown scheme to the string representation of its numeric value.
| e | Marshalling scheme id to convert |
Definition at line 67 of file interface.h.