MIRA
Public Types | Public Member Functions | Public Attributes | List of all members
ChannelReadWriteShared< DerivedContainer > Class Template Reference

Internally used by ChannelReadWriteBase! It contains the information about the channel and slot that can be shared between different ChannelRead/Write objects. More...

#include <fw/ChannelReadWrite.h>

Public Types

typedef ChannelReadWriteTraits< DerivedContainer >::ChannelType ChannelType
 
typedef ChannelReadWriteTraits< DerivedContainer >::Lock Lock
 
typedef ChannelReadWriteTraits< DerivedContainer >::SlotType Slot
 
typedef ChannelReadWriteTraits< DerivedContainer >::ValueType ValueType
 
typedef ChannelTypeChannelTypePtr
 

Public Member Functions

 ChannelReadWriteShared (ChannelTypePtr iChannel, Slot *iSlot)
 
 ~ChannelReadWriteShared ()
 

Public Attributes

ChannelTypePtr channel
 pointer to the channel our data/slot belongs to More...
 
Slotslot
 the slot in that channel we are pointing on (this pointer is valid unless the channel's buffer is destructed or promoted!) More...
 
Lock lock
 a shared lock for that data in the channel's buffer More...
 

Detailed Description

template<typename DerivedContainer>
class mira::ChannelReadWriteShared< DerivedContainer >

Internally used by ChannelReadWriteBase! It contains the information about the channel and slot that can be shared between different ChannelRead/Write objects.

In the destructor, this class calls the appropriate finish-method of the concrete ChannelRead/Write container below.

Member Typedef Documentation

◆ ChannelType

typedef ChannelReadWriteTraits<DerivedContainer>::ChannelType ChannelType

◆ Lock

typedef ChannelReadWriteTraits<DerivedContainer>::Lock Lock

◆ Slot

typedef ChannelReadWriteTraits<DerivedContainer>::SlotType Slot

◆ ValueType

typedef ChannelReadWriteTraits<DerivedContainer>::ValueType ValueType

◆ ChannelTypePtr

Constructor & Destructor Documentation

◆ ChannelReadWriteShared()

ChannelReadWriteShared ( ChannelTypePtr  iChannel,
Slot iSlot 
)
inline

◆ ~ChannelReadWriteShared()

Member Data Documentation

◆ channel

ChannelTypePtr channel

pointer to the channel our data/slot belongs to

◆ slot

Slot* slot

the slot in that channel we are pointing on (this pointer is valid unless the channel's buffer is destructed or promoted!)

◆ lock

Lock lock

a shared lock for that data in the channel's buffer


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