

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 |
| cern::laser::guiplatform::util::ProxyBuffer::ProxyBuffer | ( | ) | [inline, private] |
Creates a new instance of ProxyBuffer
References buffer, and cern::laser::util::buffer::SynchroBuffer::setSynchroBufferListener().
Referenced by getDefault().
| void cern::laser::guiplatform::util::ProxyBuffer::close | ( | ) | [inline] |
References buffer, cern::laser::util::buffer::SynchroBuffer::close(), INSTANCE, and listener.
| void cern::laser::guiplatform::util::ProxyBuffer::disable | ( | ) | [inline] |
References buffer, and cern::laser::util::buffer::SynchroBuffer::disable().
| void cern::laser::guiplatform::util::ProxyBuffer::enable | ( | ) | [inline] |
References buffer, and cern::laser::util::buffer::SynchroBuffer::enable().
| static ProxyBuffer cern::laser::guiplatform::util::ProxyBuffer::getDefault | ( | ) | [inline, static] |
References INSTANCE, and ProxyBuffer().
| void cern::laser::guiplatform::util::ProxyBuffer::onAlarm | ( | Alarm | alarm | ) | [inline] |
Callback method. Called on alarm change arrival.
| alarm | the changed alarm |
Implements cern::laser::client::services::selection::AlarmSelectionListener.
References buffer, cern::laser::client::data::Alarm::getStatus(), cern::laser::client::data::Alarm::getTriplet(), logger, and cern::laser::util::buffer::SynchroBuffer::push().
| void cern::laser::guiplatform::util::ProxyBuffer::onException | ( | LaserSelectionException | e | ) | [inline] |
Callback method. Called on communication problems
| 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.
| event | the pulled objects event |
| 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.
SynchroBuffer cern::laser::guiplatform::util::ProxyBuffer::buffer = null [private] |
Referenced by close(), disable(), enable(), onAlarm(), and ProxyBuffer().
ProxyBuffer cern::laser::guiplatform::util::ProxyBuffer::INSTANCE = null [static, private] |
Referenced by close(), and getDefault().
Referenced by close(), onException(), pull(), and unregisterAlarmSelectionListener().
final Logger cern::laser::guiplatform::util::ProxyBuffer::logger [static, private] |
LogFactory.getLogger(ProxyBuffer.class.getName())
Referenced by onAlarm().
1.6.2