libuav original

Dependents:   UAVCAN UAVCAN_Subscriber

Embed: (wiki syntax)

« Back to documentation index

DefaultDataTypeRegistrator< Type > Struct Template Reference

DefaultDataTypeRegistrator< Type > Struct Template Reference

This class is used by autogenerated data types to register with the data type registry automatically before main() is called. More...

#include <global_data_type_registry.hpp>


Detailed Description

template<typename Type>
struct uavcan::DefaultDataTypeRegistrator< Type >

This class is used by autogenerated data types to register with the data type registry automatically before main() is called.

Note that if a generated data type header file is not included by any translation unit of the application, the data type will not be registered.

Data type needs to have a default ID to be registrable by this class.

Definition at line 186 of file global_data_type_registry.hpp.