Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

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

final String m_lampCurl = "LAMP1"

Detailed Description

Author:
rgeorgie


Member Function Documentation

double alma::demo::LampCallbackImpl::LampCallbackImpl::acsExceptionMethodDouble  )  throws ACSException [inline]
 

Implements alma::demo::LampCallbackOperations.

void alma::demo::LampCallbackImpl::LampCallbackImpl::acsExceptionMethodVoid  )  throws ACSException [inline]
 

Implements alma::demo::LampCallbackOperations.

void alma::demo::LampCallbackImpl::LampCallbackImpl::acsJExceptionMethod  )  throws AcsJException [inline, private]
 

void alma::demo::LampCallbackImpl::LampCallbackImpl::cleanUp  )  [inline]
 

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 

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 

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.

Returns:
double
See also:
LampCallbackOperations::monitorLampBrightness()
Exceptions:
alma.demo.LampUnavailable 

Implements alma::demo::LampCallbackOperations.

void alma::demo::LampCallbackImpl::LampCallbackImpl::stopMonitor  )  throws LampUnavailable [inline]
 

Stops the monitor upon request.

See also:
alma.demo.LampCallbackOperations::stopMonitor()
Exceptions:
alma.demo.LampUnavailable 

Implements alma::demo::LampCallbackOperations.


Member Data Documentation

RWdouble alma::demo::LampCallbackImpl::LampCallbackImpl::m_brightness [private]
 

CBdoubleLampCallback alma::demo::LampCallbackImpl::LampCallbackImpl::m_cb [private]
 

CBDescIn alma::demo::LampCallbackImpl::LampCallbackImpl::m_desc [private]
 

Lamp alma::demo::LampCallbackImpl::LampCallbackImpl::m_lamp [private]
 

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

Monitordouble alma::demo::LampCallbackImpl::LampCallbackImpl::m_monitor [private]
 


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 03:03:59 2009 for ACS Java API by doxygen 1.3.8