23 #include <dccl/codecs3/field_codec_default.h> 25 #include "waveglider_sv2_codecs.h" 26 #include "waveglider_sv2_frontseat_driver.pb.h" 30 void dccl3_load(dccl::Codec*
dccl)
34 FieldCodecManager::add<goby::moos::SV2IdentifierCodec>(
"SV2.id");
35 FieldCodecManager::add<dccl::v3::DefaultMessageCodec,
36 google::protobuf::FieldDescriptor::TYPE_MESSAGE>(
"SV2");
37 FieldCodecManager::add<dccl::v3::DefaultBytesCodec,
38 google::protobuf::FieldDescriptor::TYPE_BYTES>(
"SV2");
39 FieldCodecManager::add<goby::moos::SV2NumericCodec<dccl::uint32> >(
"SV2");
56 void dccl3_unload(dccl::Codec*
dccl)
74 FieldCodecManager::remove<goby::moos::SV2IdentifierCodec>(
"SV2.id");
75 FieldCodecManager::remove<dccl::v3::DefaultMessageCodec,
76 google::protobuf::FieldDescriptor::TYPE_MESSAGE>(
"SV2");
77 FieldCodecManager::remove<dccl::v3::DefaultBytesCodec,
78 google::protobuf::FieldDescriptor::TYPE_BYTES>(
"SV2");
79 FieldCodecManager::remove<goby::moos::SV2NumericCodec<dccl::uint32> >(
"SV2");