Public Member Functions | Protected Attributes | Private Member Functions | Private Attributes

PowerSupply Class Reference
[ACS Components Examples]

#include <acsexmplPowerSupplyImpl.h>

Inheritance diagram for PowerSupply:
Inheritance graph
[legend]
Collaboration diagram for PowerSupply:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 PowerSupply (const ACE_CString &name, maci::ContainerServices *containerServices)
virtual ~PowerSupply ()
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 onAction (baci::BACIComponent *component_p, const int &callbackID, const CBDescIn &descIn, baci::BACIValue *value_p, Completion &completion, CBDescOut &descOut)
virtual baci::ActionRequest offAction (baci::BACIComponent *component_p, const int &callbackID, const CBDescIn &descIn, baci::BACIValue *value_p, Completion &completion, CBDescOut &descOut)
virtual baci::ActionRequest resetAction (baci::BACIComponent *component_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 void reset (ACS::CBvoid_ptr cb, const ACS::CBDescIn &desc)
virtual ACS::RWdouble_ptr current ()
virtual ACS::ROdouble_ptr readback ()
virtual ACS::ROpattern_ptr status ()
virtual void execute ()

Protected Attributes

baci::SmartPropertyPointer
< baci::ROpattern
m_status_sp

Private Member Functions

void operator= (const PowerSupply &)

Private Attributes

baci::SmartPropertyPointer
< baci::ROdouble
m_readback_sp
baci::SmartPropertyPointer
< PowerSupplyCurrent
m_current_sp

Detailed Description

Simulates the behavior of a power supply and overwrites an ACS property. The class PowerSupply simulates the behaviour of a power supply. It provides three methods: on, off and reset. It also provides the properties current, readback and status. Asynchronous calls are implemented using the ...... pattern and the ..... support classes. For each xxx action defined in the IDL interface two methods are provided:

Author:
Matej Sekoranja, Jozef Stefan Institute, Slovenia
Version:
"@(#) $Id: acsexmplPowerSupplyImpl.h,v 1.106 2008/10/09 08:41:11 cparedes Exp $"

Constructor & Destructor Documentation

PowerSupply::PowerSupply ( const ACE_CString &  name,
maci::ContainerServices containerServices 
)

Constructor

Parameters:
name component name
containerService A pointer to the container services

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