ALMA Computing Group
Public Member Functions | Private Member Functions | Private Attributes

Lamp Interface Reference

Interface LampWheel is a very simple interface which uses only asynchronous methods. More...

import "acsexmplLampWheel.idl";

List of all members.

Public Member Functions

 Lamp (const ACE_CString &name, maci::ContainerServices *containerServices)
 Constructor.
virtual ~Lamp ()
 Destructor.
virtual baci::ActionRequest invokeAction (int function, baci::BACIComponent *cob_p, const int &callbackID, const CBDescIn &descIn, baci::BACIValue *value_p, Completion &completion, CBDescOut &descOut)
 Action dispatcher function This function is called whenever an asynchronous request has to be handled.
virtual baci::ActionRequest onAction (baci::BACIComponent *cob_p, const int &callbackID, const CBDescIn &descIn, baci::BACIValue *value_p, Completion &completion, CBDescOut &descOut)
 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.
virtual baci::ActionRequest offAction (baci::BACIComponent *cob_p, const int &callbackID, const CBDescIn &descIn, baci::BACIValue *value_p, Completion &completion, CBDescOut &descOut)
 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.
virtual void on (ACS::CBvoid_ptr cb, const ACS::CBDescIn &desc)
 Switches on the lamp.
virtual void off (ACS::CBvoid_ptr cb, const ACS::CBDescIn &desc)
 Switches off the lamp.
virtual ACS::RWdouble_ptr brightness ()
 Returns a reference to the Brightness property Implementation of IDL interface for the property.

Private Member Functions

void operator= (const Lamp &)
 ALMA C++ coding standards state copy operators should be disabled.

Private Attributes

baci::SmartPropertyPointer
< baci::RWdouble > 
m_brightness_sp
 m_brightness_sp is the lamp's setable brightness.

Detailed Description

Interface LampWheel is a very simple interface which uses only asynchronous methods.


Constructor & Destructor Documentation

Lamp::Lamp ( const ACE_CString &  name,
maci::ContainerServices *  containerServices 
)

Constructor.

Parameters:
name component's name. This is also the name that will be used to find the configuration data for the component in the Configuration Database.
containerServices The pointer to the ContainerServices

Definition at line 57 of file acsexmplLampImpl.cpp.


The documentation for this interface was generated from the following files: