

Public Member Functions | |
| void | initialize (ContainerServices containerServices) throws ComponentLifecycleException |
| void | cleanUp () |
| void | setLampBrightness (double brightness) throws LampUnavailable |
| double | getLampBrightness () throws LampUnavailable |
Package Functions | |
| RWdouble | getLampBrightnessProperty () throws LampUnavailable |
Private Attributes | |
| RWdouble | m_brightness |
| CBvoidLampAccess | m_cb |
| CBvoid | m_cbvoid |
| CBDescIn | m_desc |
Static Private Attributes | |
| static final String | m_lampCurl = "LAMP1" |
| void alma::demo::LampAccessImpl::LampAccessImpl::cleanUp | ( | ) | [inline] |
Releases the lamp component.
Reimplemented from alma::acs::component::ComponentImplBase.
References alma::acs::component::ComponentImplBase::m_containerServices, m_lampCurl, alma::acs::component::ComponentImplBase::m_logger, and alma::acs::container::ContainerServices::releaseComponent().
| double alma::demo::LampAccessImpl::LampAccessImpl::getLampBrightness | ( | ) | throws LampUnavailable [inline] |
Returns the magnitude of the lamp component's brightness.
| LampUnavailable |
Implements alma::demo::LampAccessOperations.
References alma::ACS::PdoubleOperations::get_sync(), getLampBrightnessProperty(), m_brightness, and alma::acs::component::ComponentImplBase::m_logger.
| RWdouble alma::demo::LampAccessImpl::LampAccessImpl::getLampBrightnessProperty | ( | ) | throws LampUnavailable [inline, package] |
Gets the lamp component's (LAMP1) brightness as RWdouble.
| LampUnavailable |
References alma::acsexmplLamp::LampOperations::brightness(), alma::acs::container::ContainerServices::getComponent(), m_brightness, alma::acs::component::ComponentImplBase::m_containerServices, and m_lampCurl.
Referenced by getLampBrightness(), initialize(), and setLampBrightness().
| void alma::demo::LampAccessImpl::LampAccessImpl::initialize | ( | ContainerServices | containerServices | ) | throws ComponentLifecycleException [inline] |
Subclass must call super.initialize(containerServices) unless it overrides as well all other methods which access the member vars of this class.
Reimplemented from alma::acs::component::ComponentImplBase.
References getLampBrightnessProperty(), and alma::acs::component::ComponentImplBase::m_logger.
| void alma::demo::LampAccessImpl::LampAccessImpl::setLampBrightness | ( | double | brightness | ) | throws LampUnavailable [inline] |
Passes a value to the brightness property of the lamp component.
| brightness |
| LampUnavailable |
Implements alma::demo::LampAccessOperations.
References alma::acs::container::ContainerServicesBase::activateOffShoot(), getLampBrightnessProperty(), m_brightness, m_cb, m_cbvoid, alma::acs::component::ComponentImplBase::m_containerServices, m_desc, alma::acs::component::ComponentImplBase::m_logger, and alma::ACS::RWdoubleOperations::set_async().
Referenced by getLampBrightness(), getLampBrightnessProperty(), and setLampBrightness().
Referenced by setLampBrightness().
Referenced by setLampBrightness().
Referenced by setLampBrightness().
final String alma::demo::LampAccessImpl::LampAccessImpl::m_lampCurl = "LAMP1" [static, private] |
Referenced by cleanUp(), and getLampBrightnessProperty().
1.6.2