#include <acstestcompErrorExplorerImpl.h>
Public Member Functions | |
ErrorExplorerImpl (const ACE_CString &name, maci::ContainerServices *containerServices) | |
virtual | ~ErrorExplorerImpl () |
virtual ACS::RWdouble_ptr | explorerDoubleProperty () |
Private Member Functions | |
void | operator= (const ErrorExplorerImpl &) |
Private Attributes | |
baci::SmartPropertyPointer < baci::RWdouble > | m_explorerDoubleProperty_sp |
The class ErrorExplorer 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:
ErrorExplorerImpl::ErrorExplorerImpl | ( | const ACE_CString & | name, | |
maci::ContainerServices * | containerServices | |||
) |
Constructor
name | component name | |
containerService | A pointer to the container services |
virtual ErrorExplorerImpl::~ErrorExplorerImpl | ( | ) | [virtual] |
Destructor
virtual ACS::RWdouble_ptr ErrorExplorerImpl::explorerDoubleProperty | ( | ) | [virtual] |
Returns a reference to the current_p property (commanded current). Implementation of IDL interface for the property.
void ErrorExplorerImpl::operator= | ( | const ErrorExplorerImpl & | ) | [private] |
ALMA C++ coding standards state copy operators should be disabled.
m_readback_sp is the actual value of ErrorExplorer's current.