Specialization for DCCL message types that are fully qualified Protobuf message types (static), e.g. DataType == Foo for "message Foo".
More...
|
static std::vector< char > | serialize (const DataType &msg) |
| Serialize message using DCCL encoding. More...
|
|
static std::string | type_name (const DataType &d=DataType()) |
| Full protobuf Message name (identical to Protobuf specialization) More...
|
|
template<typename CharIterator > |
static std::shared_ptr< DataType > | parse (CharIterator bytes_begin, CharIterator bytes_end, CharIterator &actual_end, const std::string &type=type_name()) |
| Parse one DCCL message. More...
|
|
static unsigned | id () |
| Returns the DCCL ID. More...
|
|
static unsigned | id (const google::protobuf::Message &d) |
|
template<typename CharIterator > |
static unsigned | id (CharIterator begin, CharIterator end) |
|
static unsigned | id (const std::string &full_name) |
|
static void | load_metadata (const goby::middleware::protobuf::SerializerProtobufMetadata &meta) |
|
static goby::middleware::intervehicle::protobuf::DCCLForwardedData | unpack (const std::string &bytes) |
|
static void | load_library (const std::string &library) |
|
static void | setup_dlog () |
| Enable dlog output to glog using same verbosity settings as glog. More...
|
|
template<typename DataType>
struct goby::middleware::SerializerParserHelper< DataType, MarshallingScheme::DCCL >
Specialization for DCCL message types that are fully qualified Protobuf message types (static), e.g. DataType == Foo for "message Foo".
DCCL is defined as distinct from the PROTOBUF Marshalling scheme if the DataTYpe has the DCCLParameters enumeration, as output by the protoc-gen-dccl
plugin to protoc
. If this plugin isn't used when compiling your .proto files, DCCL types will be identified as Protobuf types.
Definition at line 44 of file dccl.h.