Classes | Public Member Functions | Protected Member Functions

BlackBoardSynchronizationThread Class Reference

Thread to synchronize two BlackBoards. More...

#include "sync_thread.h"

Inheritance diagram for BlackBoardSynchronizationThread:
Inheritance graph
[legend]

List of all members.

Classes

struct  combo_t
class  InterfaceInfo

Public Member Functions

 BlackBoardSynchronizationThread (std::string &bbsync_cfg_prefix, std::string &peer_cfg_prefix, std::string &peer)
 Constructor.
virtual ~BlackBoardSynchronizationThread ()
 Destructor.
virtual void init ()
virtual void loop ()
virtual void finalize ()
void writer_added (fawkes::Interface *interface) throw ()
 A writer has been added for an interface.
void writer_removed (fawkes::Interface *interface) throw ()
 A writer has been removed for an interface.

Protected Member Functions

virtual void run ()
 Stub to see name in backtrace for easier debugging.

Detailed Description

Thread to synchronize two BlackBoards.

Author:
Tim Niemueller

Definition at line 44 of file sync_thread.h.


Constructor & Destructor Documentation

BlackBoardSynchronizationThread::BlackBoardSynchronizationThread ( std::string &  bbsync_cfg_prefix,
std::string &  peer_cfg_prefix,
std::string &  peer 
)

Constructor.

Parameters:
bbsync_cfg_prefix Configuration prefix for the whole bbsync plugin
peer_cfg_prefix The configuration prefix for the peer this sync thread has been created for.
peer name of the peer configuration for this thread

Definition at line 45 of file sync_thread.cpp.

References fawkes::Thread::set_name(), and fawkes::Thread::set_prepfin_conc_loop().

BlackBoardSynchronizationThread::~BlackBoardSynchronizationThread (  )  [virtual]

Destructor.

Definition at line 62 of file sync_thread.cpp.


Member Function Documentation

virtual void BlackBoardSynchronizationThread::run (  )  [inline, protected, virtual]

Stub to see name in backtrace for easier debugging.

See also:
Thread::run()

Definition at line 64 of file sync_thread.h.

void BlackBoardSynchronizationThread::writer_added ( fawkes::Interface interface  )  throw ()

A writer has been added for an interface.

To be called only by SyncWriterInterfaceListener.

Parameters:
interface the interface a writer has been added for.

Definition at line 305 of file sync_thread.cpp.

void BlackBoardSynchronizationThread::writer_removed ( fawkes::Interface interface  )  throw ()

A writer has been removed for an interface.

To be called only by SyncWriterInterfaceListener.

Parameters:
interface the interface a writer has been removed for.

Definition at line 349 of file sync_thread.cpp.


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