#include <acsexmplRampedPowerSupplyImpl.h>


Public Member Functions | |
| RampedPowerSupply (const ACE_CString &name, maci::ContainerServices *containerServices) | |
| ~RampedPowerSupply () | |
| virtual baci::ActionRequest | invokeAction (int function, baci::BACIComponent *component_p, const int &callbackID, const CBDescIn &descIn, baci::BACIValue *value_p, Completion &completion, CBDescOut &descOut) |
| virtual baci::ActionRequest | startRampingAction (baci::BACIComponent *component_p, const int &callbackID, const CBDescIn &descIn, baci::BACIValue *value_p, Completion &completion, CBDescOut &descOut) |
| virtual baci::ActionRequest | stopRampingAction (baci::BACIComponent *component_p, const int &callbackID, const CBDescIn &descIn, baci::BACIValue *value_p, Completion &completion, CBDescOut &descOut) |
| virtual void | startRamping (CORBA::Long rampingSteps, ACS::CBvoid_ptr cb, const ACS::CBDescIn &desc) |
| virtual void | stopRamping (ACS::CBvoid_ptr cb, const ACS::CBDescIn &desc) |
| virtual ACS::RWstring_ptr | rampingStatus () |
| virtual ACS::ROlong_ptr | rampingStep () |
Static Public Attributes | |
| static const int | START_RAMPING = 3 |
| static const int | STOP_RAMPING = 4 |
Private Member Functions | |
| void | operator= (const RampedPowerSupply &) |
Private Attributes | |
| baci::SmartPropertyPointer < baci::ROlong > | m_rampingStep_sp |
| DevIO< CORBA::Long > * | m_rampingStep_devio_p |
| baci::SmartPropertyPointer < baci::RWstring > | m_rampingStatus_sp |
Simulates the behavior of a ramped power supply by inheriting from Power Supply's IDL interface and C++ implementation. The class RampedPowerSupply simulates the behaviour of a ramped power supply and is derived from the PowerSupply IDL interface. This class shows how to utilize inheritance in both the C++ and IDL class/interface.
Asynchronous calls are implemented using the ...... pattern and the ..... support classes. For each xxx action defined in the IDL interface two methods are provided:
Class RampedPowerSupply also provides the properties rampingStatus and rampingSteps in addition to anything inherited from PowerSupply.
| RampedPowerSupply::RampedPowerSupply | ( | const ACE_CString & | name, | |
| maci::ContainerServices * | containerServices | |||
| ) |
Constructor
| poa | poa which will activate this and also all other components | |
| name | component name |
1.7.0