MIRA
Public Member Functions | Public Attributes | List of all members
ChannelBuffer< void >::Slot Struct Reference

Typed slot derived from ChannelBufferBase::Slot. More...

#include <fw/ChannelBuffer.h>

Inheritance diagram for ChannelBuffer< void >::Slot:
Inheritance graph
[legend]

Public Member Functions

EIGEN_MAKE_ALIGNED_OPERATOR_NEW std::unique_ptr< ChannelBufferBase::Slotclone () override
 
const Timetimestamp () const
 

Public Attributes

ValueType header
 
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

template<>
struct mira::ChannelBuffer< void >::Slot

Typed slot derived from ChannelBufferBase::Slot.

Member Function Documentation

◆ clone()

EIGEN_MAKE_ALIGNED_OPERATOR_NEW std::unique_ptr<ChannelBufferBase::Slot> clone ( )
inlineoverridevirtual

◆ timestamp()

const Time& timestamp ( ) const
inlineinherited

Member Data Documentation

◆ header

ValueType header

◆ lock

boost::shared_mutex lock
inherited

◆ serializedValueLock

boost::mutex serializedValueLock
inherited

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
inherited

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

◆ serializedValue

Buffer<uint8> serializedValue
inherited

The data of this slot as serialized data.

If empty, the data was not serialized yet.

◆ flags

uint32 flags
inherited

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: