MIP_SDK
v3.0.0
MicroStrain Communications Library for embedded systems
|
#include "mip_result.hpp"
#include "mip_serialization.hpp"
#include <mip/mip_descriptors.h>
#include <tuple>
#include <type_traits>
#include <functional>
Go to the source code of this file.
Classes | |
struct | mip::CompositeDescriptor |
Convenience struct holding both descriptor set and field descriptor. More... | |
struct | mip::FieldStruct |
struct | mip::Bitfield< DerivedT > |
A dummy struct which is used to mark bitfield objects. More... | |
struct | mip::TypedResult< MipCmd > |
A CmdResult that knows the corresponding command type. More... | |
Namespaces | |
mip | |
A collection of C++ classes and functions covering the full mip api. | |
Typedefs | |
template<class T > | |
using | mip::isField = std::is_base_of< FieldStruct, T > |
template<class T > | |
using | mip::EnableForFieldTypes = std::enable_if< isField< T >::value, T > |
Enumerations | |
enum | mip::FunctionSelector : uint8_t { mip::FunctionSelector::WRITE = C::MIP_FUNCTION_WRITE, mip::FunctionSelector::READ = C::MIP_FUNCTION_READ, mip::FunctionSelector::SAVE = C::MIP_FUNCTION_SAVE, mip::FunctionSelector::LOAD = C::MIP_FUNCTION_LOAD, mip::FunctionSelector::RESET = C::MIP_FUNCTION_RESET } |
Functions | |
template<class Derived > | |
size_t | mip::insert (Serializer &serializer, const Bitfield< Derived > &bitfield) |
template<class Derived > | |
size_t | mip::extract (Serializer &serializer, Bitfield< Derived > &bitfield) |
bool | mip::isValidDescriptorSet (uint8_t descriptorSet) |
bool | mip::isDataDescriptorSet (uint8_t descriptorSet) |
bool | mip::isCommandDescriptorSet (uint8_t descriptorSet) |
bool | mip::isReservedDescriptorSet (uint8_t descriptorSet) |
bool | mip::isGnssDataDescriptorSet (uint8_t descriptorSet) |
bool | mip::isValidFieldDescriptor (uint8_t fieldDescriptor) |
bool | mip::isCommandFieldDescriptor (uint8_t fieldDescriptor) |
bool | mip::isReplyFieldDescriptor (uint8_t fieldDescriptor) |
bool | mip::isResponseFieldDescriptor (uint8_t fieldDescriptor) |
bool | mip::isReservedFieldDescriptor (uint8_t fieldDescriptor) |
bool | mip::isSharedDataFieldDescriptor (uint8_t fieldDescriptor) |