alma::ACS::jbaci::BACIFramework Class Reference

Collaboration diagram for alma::ACS::jbaci::BACIFramework:
Collaboration graph
[legend]

List of all members.

Static Public Member Functions

static synchronized BACITimer getTimer ()
static synchronized BACIDispatcher getDispatcher ()
static void initialize ()
static void initialize (ThreadFactory threadFactory)
static void shutdown ()

Static Private Attributes

static ThreadFactory threadFactory = null
static BACITimer timer = null
static BACIDispatcher dispatcher = null

Detailed Description

BACI framework manager class.

Author:
Matej Sekoranja
Version:
$id$

Member Function Documentation

static synchronized BACIDispatcher alma::ACS::jbaci::BACIFramework::getDispatcher (  )  [inline, static]

Get dispather instance.

References dispatcher, and threadFactory.

static synchronized BACITimer alma::ACS::jbaci::BACIFramework::getTimer (  )  [inline, static]

Get timer instance (singleton pattern).

References threadFactory, and timer.

static void alma::ACS::jbaci::BACIFramework::initialize ( ThreadFactory  threadFactory  )  [inline, static]

Initialize BACI framework using given thread factory.

Parameters:
threadFactory thread factory to be used, can be null.

References dispatcher, and timer.

static void alma::ACS::jbaci::BACIFramework::initialize (  )  [inline, static]

Initialize BACI framework not using any thread factory.

static void alma::ACS::jbaci::BACIFramework::shutdown (  )  [inline, static]

Shutdown BACI framework (terminate timer and dispatcher threads).

References dispatcher, alma::ACS::jbaci::BACIDispatcher::shutdown(), alma::ACS::jbaci::BACITimer::shutDown(), threadFactory, and timer.


Member Data Documentation

Dispatcher Singleton instance.

Referenced by getDispatcher(), initialize(), and shutdown().

ThreadFactory alma::ACS::jbaci::BACIFramework::threadFactory = null [static, private]

ThreadFactory to be used to create threads.

Referenced by getDispatcher(), getTimer(), and shutdown().

Timer singleton instance.

Referenced by getTimer(), initialize(), and shutdown().


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

Generated by  doxygen 1.6.2