Class ProtoSerializable

Nested Relationships

Nested Types

Inheritance Relationships

Derived Types

Class Documentation

class ProtoSerializable

Subclassed by dai::EncodedFrame, dai::IMUData, dai::ImgAnnotations, dai::ImgDetections, dai::ImgFrame, dai::PointCloudData, dai::SpatialImgDetections

Public Functions

virtual ~ProtoSerializable()
template<typename ...T>
inline std::vector<std::uint8_t> serializeProto(T...) const

Placeholder for serializeProto when Protobuf is disabled.

Returns:

Throws compile-time error if used

template<typename ...T>
inline SchemaPair serializeSchema(T...) const

Placeholder for serializeSchema when Protobuf is disabled.

Returns:

Throws compile-time error if used

template<typename ...T>
struct dependent_false

Public Static Attributes

static constexpr bool value = false
struct SchemaPair

Public Members

std::string schemaName
std::string schema