DART  6.7.3
dart::common::signal::detail::ConnectionBody< SlotType > Class Template Reference

class ConnectionBody More...

#include <ConnectionBody.hpp>

Inheritance diagram for dart::common::signal::detail::ConnectionBody< SlotType >:
dart::common::signal::detail::ConnectionBodyBase

Public Member Functions

 ConnectionBody (const SlotType &_slot)
 Constructor given slot. More...
 
 ConnectionBody (SlotType &&_slot)
 Move constructor given slot. More...
 
virtual ~ConnectionBody ()
 Destructor. More...
 
const SlotType & getSlot ()
 Get slot. More...
 
void disconnect ()
 Disconnect. More...
 
bool isConnected () const
 Get true if this connection body is connected to the signal. More...
 

Protected Attributes

bool mIsConnected
 Connection flag. More...
 

Private Attributes

SlotType mSlot
 Slot. More...
 

Detailed Description

template<typename SlotType>
class dart::common::signal::detail::ConnectionBody< SlotType >

class ConnectionBody

Constructor & Destructor Documentation

◆ ConnectionBody() [1/2]

template<typename SlotType >
dart::common::signal::detail::ConnectionBody< SlotType >::ConnectionBody ( const SlotType &  _slot)

Constructor given slot.

◆ ConnectionBody() [2/2]

template<typename SlotType >
dart::common::signal::detail::ConnectionBody< SlotType >::ConnectionBody ( SlotType &&  _slot)

Move constructor given slot.

◆ ~ConnectionBody()

template<typename SlotType >
dart::common::signal::detail::ConnectionBody< SlotType >::~ConnectionBody
virtual

Destructor.

Member Function Documentation

◆ disconnect()

void dart::common::signal::detail::ConnectionBodyBase::disconnect ( )
inherited

Disconnect.

◆ getSlot()

template<typename SlotType >
const SlotType & dart::common::signal::detail::ConnectionBody< SlotType >::getSlot

Get slot.

◆ isConnected()

bool dart::common::signal::detail::ConnectionBodyBase::isConnected ( ) const
inherited

Get true if this connection body is connected to the signal.

Member Data Documentation

◆ mIsConnected

bool dart::common::signal::detail::ConnectionBodyBase::mIsConnected
protectedinherited

Connection flag.

◆ mSlot

template<typename SlotType >
SlotType dart::common::signal::detail::ConnectionBody< SlotType >::mSlot
private

Slot.