MIP_SDK
v3.0.0-187-g93c7302
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_PARAM_INFO(MipType, MemberField) mip::metadata::utils::getParameterInfoFromStructMemberOffset(offsetof(MipType, MemberField), mip::metadata::MetadataFor<MipType>().value) |
Get a pointer to a parameter given the offset of the member in the class/struct. More... | |
Functions | |
template<class Field , class T , auto Ptr> | |
void * | mip::metadata::utils::access (void *p) |
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 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::sizeForBasicType (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... | |
constexpr size_t | mip::metadata::utils::alignmentForBasicType (const TypeInfo &type) |
const ParameterInfo * | mip::metadata::utils::getParameterInfoFromStructMemberOffset (const size_t offset, const FieldInfo &field_info) |
Get a pointer to a parameter given the offset of the member in the class/struct. More... | |
#define GET_MIP_METADATA_PARAM_INFO | ( | MipType, | |
MemberField | |||
) | mip::metadata::utils::getParameterInfoFromStructMemberOffset(offsetof(MipType, MemberField), mip::metadata::MetadataFor<MipType>().value) |
Get a pointer to a parameter given the offset of the member in the class/struct.
MipType | MIP struct/class |
MemberField | The member field within the MIP struct/class |