ALMA Computing Group

alma::demo::LampAccessImpl::LampAccessImpl Class Reference

Collaboration diagram for alma::demo::LampAccessImpl::LampAccessImpl:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void initialize (ContainerServices containerServices) throws ComponentLifecycleException
void cleanUp ()
 Releases the lamp component.
void setLampBrightness (double brightness) throws LampUnavailable
 Passes a value to the brightness property of the lamp component.
double getLampBrightness () throws LampUnavailable
 Returns the magnitude of the lamp component's brightness.

Package Functions

RWdouble getLampBrightnessProperty () throws LampUnavailable
 Gets the lamp component's (LAMP1) brightness as RWdouble.

Private Attributes

RWdouble m_brightness
CBvoidLampAccess m_cb
CBvoid m_cbvoid
CBDescIn m_desc

Static Private Attributes

final String m_lampCurl = "LAMP1"

Member Function Documentation

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

Releases the lamp component.

See also:
alma.acs.component.ComponentLifecycle#cleanUp()
Definition at line 72 of file LampAccessImpl.java.

References m_lampCurl.

double alma::demo::LampAccessImpl::LampAccessImpl::getLampBrightness  )  throws LampUnavailable [inline]
 

Returns the magnitude of the lamp component's brightness.

Returns:
double
See also:
alma.demo.LampAccessOperations#getLampBrightness()
Exceptions:
LampUnavailable 
Definition at line 142 of file LampAccessImpl.java.

References getLampBrightnessProperty(), and m_brightness.

RWdouble alma::demo::LampAccessImpl::LampAccessImpl::getLampBrightnessProperty  )  throws LampUnavailable [inline, package]
 

Gets the lamp component's (LAMP1) brightness as RWdouble.

Returns:
RWdouble
Exceptions:
LampUnavailable 
Definition at line 169 of file LampAccessImpl.java.

References m_brightness, and m_lampCurl.

Referenced by getLampBrightness(), initialize(), and setLampBrightness().

void alma::demo::LampAccessImpl::LampAccessImpl::initialize ContainerServices  containerServices  )  throws ComponentLifecycleException [inline]
 

Definition at line 51 of file LampAccessImpl.java.

References getLampBrightnessProperty().

void alma::demo::LampAccessImpl::LampAccessImpl::setLampBrightness double  brightness  )  throws LampUnavailable [inline]
 

Passes a value to the brightness property of the lamp component.

Parameters:
brightness 
See also:
alma.demo.LampAccessOperations#setLampBrightness(double)
Exceptions:
LampUnavailable 
Definition at line 88 of file LampAccessImpl.java.

References getLampBrightnessProperty(), m_brightness, m_cb, m_cbvoid, and m_desc.


Member Data Documentation

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

Definition at line 41 of file LampAccessImpl.java.

Referenced by getLampBrightness(), getLampBrightnessProperty(), and setLampBrightness().

CBvoidLampAccess alma::demo::LampAccessImpl::LampAccessImpl::m_cb [private]
 

Definition at line 42 of file LampAccessImpl.java.

Referenced by setLampBrightness().

CBvoid alma::demo::LampAccessImpl::LampAccessImpl::m_cbvoid [private]
 

Definition at line 43 of file LampAccessImpl.java.

Referenced by setLampBrightness().

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

Definition at line 44 of file LampAccessImpl.java.

Referenced by setLampBrightness().

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

Definition at line 45 of file LampAccessImpl.java.

Referenced by cleanUp(), and getLampBrightnessProperty().


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