Goby3
3.1.5a
2024.05.23
|
#include <goby/acomms/dccl/dccl.h>
Public Member Functions | |
std::shared_ptr< dccl::Codec > | codec () |
Return the underlying dccl::Codec that is used by this wrapper. More... | |
void | set_cfg (const protobuf::DCCLConfig &cfg) |
void | merge_cfg (const protobuf::DCCLConfig &cfg) |
void | load_shared_library_codecs (void *dl_handle) |
template<typename ProtobufMessage > | |
void | validate () |
template<typename ProtobufMessage > | |
void | info (std::ostream *os) const |
void | info_all (std::ostream *os) const |
template<typename ProtobufMessage > | |
unsigned | id () const |
unsigned | size (const google::protobuf::Message &msg) |
void | encode (std::string *bytes, const google::protobuf::Message &msg, bool header_only=false) |
void | decode (const std::string &bytes, google::protobuf::Message *msg, bool header_only=false) |
unsigned | id_from_encoded (const std::string &bytes) |
void | validate (const google::protobuf::Descriptor *desc) |
void | validate_repeated (const std::list< const google::protobuf::Descriptor * > &descs) |
void | info (const google::protobuf::Descriptor *desc, std::ostream *os) const |
void | info_repeated (const std::list< const google::protobuf::Descriptor * > &desc, std::ostream *os) const |
unsigned | id (const google::protobuf::Descriptor *desc) const |
template<typename GoogleProtobufMessagePointer > | |
unsigned | size_repeated (const std::list< GoogleProtobufMessagePointer > &msgs) |
template<typename GoogleProtobufMessagePointer > | |
GoogleProtobufMessagePointer | decode (const std::string &bytes, bool header_only=false) |
template<typename GoogleProtobufMessagePointer > | |
std::string | encode_repeated (const std::list< GoogleProtobufMessagePointer > &msgs) |
template<typename GoogleProtobufMessagePointer > | |
std::list< GoogleProtobufMessagePointer > | decode_repeated (const std::string &orig_bytes) |
template<typename DCCLTypedFieldCodecUint32 > | |
void | add_id_codec (const std::string &identifier) |
void | set_id_codec (const std::string &identifier) |
void | reset_id_codec () |
Static Public Member Functions | |
static DCCLCodec * | get () |
DCCLCodec is a singleton class; use this to get a pointer to the class. More... | |
static const std::string & | glog_encode_group () |
static const std::string & | glog_decode_group () |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |