OmniEvents
OmniEvents::EventChannelStore Class Reference

Container for Event Channels. More...

#include <EventChannel.h>

Public Member Functions

 EventChannelStore ()
 
 ~EventChannelStore ()
 
void insert (EventChannel_i *channel)
 
void erase (EventChannel_i *channel)
 
void output (ostream &os)
 

Private Attributes

set< EventChannel_i * > _channels
 
omni_mutex _lock
 

Detailed Description

Container for Event Channels.

Definition at line 209 of file EventChannel.h.

Constructor & Destructor Documentation

◆ EventChannelStore()

OmniEvents::EventChannelStore::EventChannelStore ( )

Definition at line 381 of file EventChannel.cc.

◆ ~EventChannelStore()

OmniEvents::EventChannelStore::~EventChannelStore ( )

Definition at line 385 of file EventChannel.cc.

Member Function Documentation

◆ erase()

void OmniEvents::EventChannelStore::erase ( EventChannel_i channel)

Definition at line 398 of file EventChannel.cc.

References _channels, _lock, and DB.

Referenced by OmniEvents::EventChannel_i::run_undetached().

◆ insert()

void OmniEvents::EventChannelStore::insert ( EventChannel_i channel)

Definition at line 390 of file EventChannel.cc.

References _channels, _lock, and DB.

Referenced by OmniEvents::EventChannel_i::run_undetached().

◆ output()

void OmniEvents::EventChannelStore::output ( ostream os)

Definition at line 408 of file EventChannel.cc.

References _channels, and _lock.

Referenced by OmniEvents::EventChannelFactory_i::output().

Member Data Documentation

◆ _channels

set<EventChannel_i*> OmniEvents::EventChannelStore::_channels
private

Definition at line 218 of file EventChannel.h.

Referenced by erase(), insert(), and output().

◆ _lock

omni_mutex OmniEvents::EventChannelStore::_lock
private

Definition at line 219 of file EventChannel.h.

Referenced by erase(), insert(), and output().


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