Public Types | Public Member Functions | List of all members
DataPacketCache Class Reference

A cache of data packets. More...

#include <datapacketcache.h>

Inheritance diagram for DataPacketCache:
Inheritance graph
[legend]

Public Types

typedef std::map< int64_t, XsDataPacket * > Base
 A map typed of integer values and data packets. More...
 

Public Member Functions

std::pair< iterator, bool > insert (int64_t id, XsDataPacket const &p)
 Inserts a data packet. More...
 

Detailed Description

A cache of data packets.

Definition at line 75 of file datapacketcache.h.

Member Typedef Documentation

◆ Base

typedef std::map<int64_t, XsDataPacket*> DataPacketCache::Base

A map typed of integer values and data packets.

Definition at line 80 of file datapacketcache.h.

Member Function Documentation

◆ insert()

std::pair< DataPacketCache::iterator, bool > DataPacketCache::insert ( int64_t  id,
XsDataPacket const &  p 
)

Inserts a data packet.

Parameters
idThe ID of data packet
pThe data packet to insert
Returns
A pair of iterator and boolean value

Definition at line 68 of file datapacketcache.cpp.


The documentation for this class was generated from the following files:


xsens_mti_driver
Author(s):
autogenerated on Sun Sep 3 2023 02:43:21