MIP_SDK  v3.0.0
MicroStrain Communications Library for embedded systems
Classes | Namespaces | Typedefs | Functions
mip_interface.hpp File Reference
#include "mip_parser.hpp"
#include "mip_cmdqueue.hpp"
#include <mip/mip_interface.h>
#include <mip/mip_descriptors.h>
#include <assert.h>
#include <string>

Go to the source code of this file.

Classes

struct  mip::Dispatcher
 
class  mip::Interface
 Represents a connected MIP device. More...
 

Namespaces

 microstrain
 
 mip
 A collection of C++ classes and functions covering the full mip api.
 

Typedefs

using mip::DispatchHandler = C::mip_dispatch_handler
 

Functions

void mip::connect_interface (mip::Interface &device, microstrain::Connection &conn)
 Sets up the mip interface callbacks to point at this object. More...
 
template<class Cmd >
CmdResult mip::runCommand (C::mip_interface &device, const Cmd &cmd, Timeout additionalTime=0)
 
template<class Cmd >
CmdResult mip::runCommand (C::mip_interface &device, const Cmd &cmd, typename Cmd::Response &response, Timeout additionalTime=0)
 
template<class Cmd , class... Args>
CmdResult mip::runCommand (C::mip_interface &device, const Args &&... args, Timeout additionalTime)
 
template<class Cmd >
bool mip::startCommand (C::mip_interface &device, C::mip_pending_cmd &pending, const Cmd &cmd, Timeout additionalTime)