MIRA
Public Member Functions | Public Attributes | List of all members
ChannelBufferBase::Slot Struct Reference

Container for storing a single data element in the linked list. More...

#include <fw/ChannelBuffer.h>

Inheritance diagram for ChannelBufferBase::Slot:
Inheritance graph
[legend]

Public Member Functions

const Timetimestamp () const
 

Public Attributes

boost::shared_mutex lock
 
boost::mutex serializedValueLock
 Lock for writing serializedValue in readSerializedData. More...
 
const TimetimestampPtr
 Pointer to the actual timestamp in the slot data for easy access. More...
 
Buffer< uint8 > serializedValue
 The data of this slot as serialized data. More...
 
uint32 flags
 Used to store internal flags that are especially used by the remote capability of the framework. More...
 
Slotnext
 
Slotprev
 

Detailed Description

Container for storing a single data element in the linked list.

Member Function Documentation

◆ timestamp()

const Time& timestamp ( ) const
inline

Member Data Documentation

◆ lock

boost::shared_mutex lock

◆ serializedValueLock

boost::mutex serializedValueLock

Lock for writing serializedValue in readSerializedData.

It is needed, since readSerialized() can be called if the above mutex (lock) is shared locked only.

◆ timestampPtr

const Time* timestampPtr

Pointer to the actual timestamp in the slot data for easy access.

◆ serializedValue

Buffer<uint8> serializedValue

The data of this slot as serialized data.

If empty, the data was not serialized yet.

◆ flags

uint32 flags

Used to store internal flags that are especially used by the remote capability of the framework.

These flags are for internal use only and are managed by the ChannelBuffer.

◆ next

Slot* next
inherited

◆ prev

Slot* prev
inherited

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