

Public Member Functions | |
| void | cleanUp () |
| double | monitorLampBrightness () throws LampUnavailable |
| void | stopMonitor () throws LampUnavailable |
| void | exceptionMethod () throws LampUnavailable |
| void | acsExceptionMethodVoid () throws ACSException |
| double | acsExceptionMethodDouble () throws ACSException |
| Lamp | getLamp () throws LampUnavailable |
| RWdouble | getLampBrightnessObject () throws LampUnavailable |
Private Member Functions | |
| void | acsJExceptionMethod () throws AcsJException |
Private Attributes | |
| Lamp | m_lamp |
| RWdouble | m_brightness |
| CBdoubleLampCallback | m_cb |
| CBDescIn | m_desc |
| Monitordouble | m_monitor |
Static Private Attributes | |
| static final String | m_lampCurl = "LAMP1" |
| double alma::demo::LampCallbackImpl::LampCallbackImpl::acsExceptionMethodDouble | ( | ) | throws ACSException [inline] |
Implements alma::demo::LampCallbackOperations.
References acsExceptionMethodVoid().
| void alma::demo::LampCallbackImpl::LampCallbackImpl::acsExceptionMethodVoid | ( | ) | throws ACSException [inline] |
Implements alma::demo::LampCallbackOperations.
References acsJExceptionMethod(), and alma::acs::exceptions::AcsJException::getACSException().
Referenced by acsExceptionMethodDouble().
| void alma::demo::LampCallbackImpl::LampCallbackImpl::acsJExceptionMethod | ( | ) | throws AcsJException [inline, private] |
Referenced by acsExceptionMethodVoid().
| void alma::demo::LampCallbackImpl::LampCallbackImpl::cleanUp | ( | ) | [inline] |
Called after the last functional call to the component has finished. The component should then orderly release resources etc.
Reimplemented from alma::acs::component::ComponentImplBase.
References alma::acs::component::ComponentImplBase::m_containerServices, m_lampCurl, and alma::acs::component::ComponentImplBase::m_logger.
| void alma::demo::LampCallbackImpl::LampCallbackImpl::exceptionMethod | ( | ) | throws LampUnavailable [inline] |
Throws a plain CORBA exception, that is, one that does not collaborate with the ACS error system.
Implements alma::demo::LampCallbackOperations.
| Lamp alma::demo::LampCallbackImpl::LampCallbackImpl::getLamp | ( | ) | throws LampUnavailable [inline] |
Getts the lamp component LAMP1.
| java.lang.Exception |
References alma::acs::component::ComponentImplBase::m_containerServices, m_lamp, m_lampCurl, and alma::acs::component::ComponentImplBase::m_logger.
Referenced by getLampBrightnessObject().
| RWdouble alma::demo::LampCallbackImpl::LampCallbackImpl::getLampBrightnessObject | ( | ) | throws LampUnavailable [inline] |
Gets the lamp component's brightness CORBA object as RWdouble.
| java.lang.Exception |
References alma::acsexmplLamp::LampOperations::brightness(), getLamp(), m_brightness, m_lamp, and alma::acs::component::ComponentImplBase::m_logger.
Referenced by monitorLampBrightness().
| double alma::demo::LampCallbackImpl::LampCallbackImpl::monitorLampBrightness | ( | ) | throws LampUnavailable [inline] |
Attaches a monitor to the brightness object of the lamp component. The component uses a callback when the interval set to the timer expires.
| alma.demo.LampUnavailable |
Implements alma::demo::LampCallbackOperations.
References alma::ACS::PdoubleOperations::create_monitor(), alma::ACS::PdoubleOperations::get_sync(), getLampBrightnessObject(), m_brightness, m_cb, alma::acs::component::ComponentImplBase::m_containerServices, m_desc, alma::acs::component::ComponentImplBase::m_logger, m_monitor, and alma::ACS::MonitorOperations::set_timer_trigger().
| void alma::demo::LampCallbackImpl::LampCallbackImpl::stopMonitor | ( | ) | throws LampUnavailable [inline] |
Stops the monitor upon request.
| alma.demo.LampUnavailable |
Implements alma::demo::LampCallbackOperations.
References alma::ACS::SubscriptionOperations::destroy(), m_cb, alma::acs::component::ComponentImplBase::m_containerServices, alma::acs::component::ComponentImplBase::m_logger, and m_monitor.
Referenced by getLampBrightnessObject(), and monitorLampBrightness().
Referenced by monitorLampBrightness(), and stopMonitor().
Referenced by monitorLampBrightness().
Referenced by getLamp(), and getLampBrightnessObject().
final String alma::demo::LampCallbackImpl::LampCallbackImpl::m_lampCurl = "LAMP1" [static, private] |
Referenced by monitorLampBrightness(), and stopMonitor().
1.6.2