Building − |
#include <acsexmplBuildingImpl.h> Inherits baci::CharacteristicComponentImpl. |
Public Member Functions |
Building (const ACE_CString &name, maci::ContainerServices *containerServices) |
virtual ~Building () |
virtual void openFrontDoor () |
virtual void closeFrontDoor () |
virtual ACS::ROstring_ptr version () |
virtual void execute () |
virtual void cleanUp () |
Private Member Functions |
void operator= (const Building &) |
Private Attributes |
baci::SmartPropertyPointer< baci::ROstring > m_version_sp |
acsexmplBuilding::Door_var m_door_p |
Implements an hierarchical device using Door Door. This class implements an example device ’Building’. The purpose is to show the implementation of hierarchical devices. Building has two methods: openFrontDoor() and closeFrontDoor(). It also provides one property, version, which is just the version of Building being used. Building does not have any Door members, but instead uses the ContainerServices to activate a door whenever calls to these methods are made. Since this device has only synchronous methods, we do not inherit from the ActionImplementator class and we do not implement the invokeAction method. Version: |
Building::Building (const ACE_CString & name, maci::ContainerServices * containerServices) Constructor |
Parameters: |
poa Poa which will activate this and also all
other components. |
Generated automatically by Doxygen for ACS-2015.2 C++ API from the source code. |