MIP_SDK  v3.0.0
MicroStrain Communications Library for embedded systems
Public Member Functions | List of all members
mip::CmdQueue Struct Reference

C++ wrapper around a command queue. More...

#include <mip_cmdqueue.hpp>

Inheritance diagram for mip::CmdQueue:
mip::C::mip_cmd_queue

Public Member Functions

 CmdQueue (Timeout baseReplyTimeout=1000)
 
 ~CmdQueue ()
 
 CmdQueue (const CmdQueue &)=delete
 
CmdQueueoperator= (const CmdQueue &)=delete
 
void enqueue (C::mip_pending_cmd &cmd)
 
void dequeue (C::mip_pending_cmd &cmd)
 
void clear ()
 
void update (Timestamp now)
 
void setBaseReplyTimeout (Timeout timeout)
 
Timeout baseReplyTimeout () const
 
void processPacket (const C::mip_packet_view &packet, Timestamp timestamp)
 

Detailed Description

C++ wrapper around a command queue.

Constructor & Destructor Documentation

◆ CmdQueue() [1/2]

mip::CmdQueue::CmdQueue ( Timeout  baseReplyTimeout = 1000)
inline

◆ ~CmdQueue()

mip::CmdQueue::~CmdQueue ( )
inline

◆ CmdQueue() [2/2]

mip::CmdQueue::CmdQueue ( const CmdQueue )
delete

Member Function Documentation

◆ baseReplyTimeout()

Timeout mip::CmdQueue::baseReplyTimeout ( ) const
inline

◆ clear()

void mip::CmdQueue::clear ( )
inline

◆ dequeue()

void mip::CmdQueue::dequeue ( C::mip_pending_cmd cmd)
inline

◆ enqueue()

void mip::CmdQueue::enqueue ( C::mip_pending_cmd cmd)
inline

◆ operator=()

CmdQueue& mip::CmdQueue::operator= ( const CmdQueue )
delete

◆ processPacket()

void mip::CmdQueue::processPacket ( const C::mip_packet_view packet,
Timestamp  timestamp 
)
inline

◆ setBaseReplyTimeout()

void mip::CmdQueue::setBaseReplyTimeout ( Timeout  timeout)
inline

◆ update()

void mip::CmdQueue::update ( Timestamp  now)
inline

The documentation for this struct was generated from the following file: