cern::laser::guiplatform::util::ProxyBuffer Class Reference

Inheritance diagram for cern::laser::guiplatform::util::ProxyBuffer:
Inheritance graph
[legend]
Collaboration diagram for cern::laser::guiplatform::util::ProxyBuffer:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void enable ()
void disable ()
void close ()
void onAlarm (Alarm alarm)
void onException (LaserSelectionException e)
void pull (PullEvent pullEvent) throws PullException
void registerAlarmSelectionListener (AlarmSelectionListener listener)
void unregisterAlarmSelectionListener ()

Static Public Member Functions

static ProxyBuffer getDefault ()

Private Member Functions

 ProxyBuffer ()

Private Attributes

AlarmSelectionListener listener = null
SynchroBuffer buffer = null

Static Private Attributes

static final Logger logger
static ProxyBuffer INSTANCE = null

Detailed Description

Author:
Bartlomiej Pawlowski <Bartlomiej.Pawlowski@cern.ch>

Constructor & Destructor Documentation

cern::laser::guiplatform::util::ProxyBuffer::ProxyBuffer (  )  [inline, private]

Member Function Documentation

void cern::laser::guiplatform::util::ProxyBuffer::close (  )  [inline]
void cern::laser::guiplatform::util::ProxyBuffer::disable (  )  [inline]
void cern::laser::guiplatform::util::ProxyBuffer::enable (  )  [inline]
static ProxyBuffer cern::laser::guiplatform::util::ProxyBuffer::getDefault (  )  [inline, static]

References INSTANCE, and ProxyBuffer().

void cern::laser::guiplatform::util::ProxyBuffer::onAlarm ( Alarm  alarm  )  [inline]
void cern::laser::guiplatform::util::ProxyBuffer::onException ( LaserSelectionException  e  )  [inline]

Callback method. Called on communication problems

Parameters:
e the LaserSelectionException carrying the exception code

Implements cern::laser::client::services::selection::AlarmSelectionListener.

References listener, and cern::laser::client::services::selection::AlarmSelectionListener::onException().

void cern::laser::guiplatform::util::ProxyBuffer::pull ( PullEvent  event  )  throws PullException [inline]

Callback method. Called with respect to the window size management properties. The callback is executed within a single thread of execution.

Parameters:
event the pulled objects event
Exceptions:
PullException if the pull action failed

Implements cern::laser::util::buffer::SynchroBufferListener.

References listener, and cern::laser::client::services::selection::AlarmSelectionListener::onAlarm().

void cern::laser::guiplatform::util::ProxyBuffer::registerAlarmSelectionListener ( AlarmSelectionListener  listener  )  [inline]
void cern::laser::guiplatform::util::ProxyBuffer::unregisterAlarmSelectionListener (  )  [inline]

References listener.


Member Data Documentation

Referenced by close(), and getDefault().

Initial value:
 
            LogFactory.getLogger(ProxyBuffer.class.getName())

Referenced by onAlarm().


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

Generated by  doxygen 1.6.2