#include <acsexmplLampImpl.h>
Inheritance diagram for Lamp:
Public Member Functions | |
Lamp (const ACE_CString &name, maci::ContainerServices *containerServices) | |
virtual | ~Lamp () |
virtual baci::ActionRequest | invokeAction (int function, baci::BACIComponent *cob_p, const int &callbackID, const CBDescIn &descIn, baci::BACIValue *value_p, Completion &completion, CBDescOut &descOut) |
virtual baci::ActionRequest | onAction (baci::BACIComponent *cob_p, const int &callbackID, const CBDescIn &descIn, baci::BACIValue *value_p, Completion &completion, CBDescOut &descOut) |
virtual baci::ActionRequest | offAction (baci::BACIComponent *cob_p, const int &callbackID, const CBDescIn &descIn, baci::BACIValue *value_p, Completion &completion, CBDescOut &descOut) |
virtual void | on (ACS::CBvoid_ptr cb, const ACS::CBDescIn &desc) |
virtual void | off (ACS::CBvoid_ptr cb, const ACS::CBDescIn &desc) |
virtual ACS::RWdouble_ptr | brightness () |
Private Member Functions | |
void | operator= (const Lamp &) |
Private Attributes | |
baci::SmartPropertyPointer< baci::RWdouble > | m_brightness_sp |
|
Constructor
|
|
Destructor |
|
Returns a reference to the Brightness property Implementation of IDL interface for the property.
|
|
Action dispatcher function This function is called whenever an asynchronous request has to be handled. It receives (as parameters) the description of the function and selects the proper implementation to call.
Implements baci::ActionImplementator.
|
|
Switches off the lamp. Implementation of IDL off() interface. This method just registers the request in the asyncronous queue, together with the associated callback and returns control immediatly. The actual action will be invoked asyncronously by the asynchonous call manager by calling Lamp::offAction The given callback is used to inform the caller when the action is performed.
|
|
Implementation of asynchrnous acsexmplLamp::Lamp::off() method This is the function that actually switches off the Lamp and, when completed, invokes the callback installed by the client when it requested the action.
|
|
Switches on the lamp. Implementation of IDL on() interface. This method just registers the request in the asyncronous queue, together with the associated callback and returns control immediatly. The actual action will be invoked asyncronously by the asynchonous call manager by calling Lamp::onAction The given callback is used to inform the caller when the action is performed.
|
|
Implementation of asynchronous acsexmplLamp::Lamp::on() method This is the function that actually switches on the Lamp and, when completed, invokes the callback installed by the client when it requested the action.
|
|
ALMA C++ coding standards state copy operators should be disabled. |
|
m_brightness_sp is the lamp's setable brightness. |