MIP_SDK
v3.0.0-208-gdb90bae
MicroStrain Communications Library for embedded systems
|
#include "mip_structures.hpp"
Go to the source code of this file.
Namespaces | |
mip | |
A collection of C++ classes and functions covering the full mip api. | |
mip::metadata | |
mip::metadata::utils | |
Macros | |
#define | GET_MIP_METADATA_NESTED_PARAM_INFO(MemberParameter, NestedMemberField) |
Get a pointer to a parameter given the member of a nested class/struct. More... | |
#define | GET_MIP_METADATA_PARAM_INFO(MipType, MemberField) |
Get a pointer to a parameter given the member of a class/struct. More... | |
Functions | |
Type | mip::metadata::utils::serializedType (const TypeInfo &type) |
Determines the type used for serialization purposes. More... | |
constexpr size_t | mip::metadata::utils::serializedSizeForBasicType (Type type, const void *info=nullptr) |
Gets the size of a basic type (including bitfields and enums if class_ is not NULL). More... | |
constexpr size_t | mip::metadata::utils::serializedSizeForBasicType (const TypeInfo &type) |
constexpr const char * | mip::metadata::utils::nameForBasicType (Type type) |
constexpr const char * | mip::metadata::utils::nameOfType (const TypeInfo &type) |
constexpr void | mip::metadata::utils::getOffsetForAlignment (const TypeInfo &type, size_t ¤t_offset) |
constexpr size_t | mip::metadata::utils::sizeForBasicType (const TypeInfo &type) |
constexpr size_t | mip::metadata::utils::sizeForBasicType (const Type type, const void *info=nullptr) |
Gets the size of a basic type (including bitfields and enums if info is not NULL). More... | |
constexpr size_t | mip::metadata::utils::alignmentForBasicType (const TypeInfo &type) |
constexpr size_t | mip::metadata::utils::alignmentForBasicType (const Type type, const void *info=nullptr) |
Gets the size of a basic type (including bitfields and enums if info is not NULL). More... | |
const ParameterInfo * | mip::metadata::utils::getParameterInfoFromStructMemberOffset (const size_t offset, const StructInfo &field_info) |
Get a pointer to a parameter given the offset of the member in the class/struct. More... | |
const ParameterInfo * | mip::metadata::utils::getNestedParameterInfoFromStructMemberOffset (const size_t base_offset, const size_t nested_offset, const StructInfo &field_info) |
Get a pointer to a parameter given the offset of the member in the class/struct. More... | |
const ParameterInfo * | mip::metadata::utils::getParameterInfoForMember (const StructInfo &struct_info, const char *param_name, const size_t dummy=0) |
Get a pointer to a parameter given the member of a MIP type. More... | |
#define GET_MIP_METADATA_NESTED_PARAM_INFO | ( | MemberParameter, | |
NestedMemberField | |||
) |
Get a pointer to a parameter given the member of a nested class/struct.
MemberParameter | Member parameter to get the type of which has metadata |
NestedMemberField | The member field within the nested parameter type |
#define GET_MIP_METADATA_PARAM_INFO | ( | MipType, | |
MemberField | |||
) |
Get a pointer to a parameter given the member of a class/struct.
MipType | MIP type that has metadata |
MemberField | The member field within the MIP type |