alma::demo::LampCallbackImpl::LampCallbackImpl Class Reference

Inheritance diagram for alma::demo::LampCallbackImpl::LampCallbackImpl:
Inheritance graph
[legend]
Collaboration diagram for alma::demo::LampCallbackImpl::LampCallbackImpl:
Collaboration graph
[legend]

List of all members.

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"

Detailed Description

Author:
rgeorgie

Member Function Documentation

double alma::demo::LampCallbackImpl::LampCallbackImpl::acsExceptionMethodDouble (  )  throws ACSException [inline]
void alma::demo::LampCallbackImpl::LampCallbackImpl::acsExceptionMethodVoid (  )  throws ACSException [inline]
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.

See also:
alma.demo.LampCallbackOperations::exceptionMethod()

Implements alma::demo::LampCallbackOperations.

Lamp alma::demo::LampCallbackImpl::LampCallbackImpl::getLamp (  )  throws LampUnavailable [inline]

Getts the lamp component LAMP1.

Returns:
Lamp
Exceptions:
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.

Returns:
RWdouble
Exceptions:
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]
void alma::demo::LampCallbackImpl::LampCallbackImpl::stopMonitor (  )  throws LampUnavailable [inline]

Member Data Documentation

Referenced by monitorLampBrightness().

Referenced by getLamp(), and getLampBrightnessObject().

final String alma::demo::LampCallbackImpl::LampCallbackImpl::m_lampCurl = "LAMP1" [static, private]

Referenced by cleanUp(), and getLamp().


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

Generated by  doxygen 1.6.2