#include <acsexmplBuildingImpl.h>
Inheritance diagram for Building:
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 |
|
Constructor
|
|
Destructor |
|
Called after the last functional call to the component has finished. The component should then orderly release resources etc. As required by the CharacteristicComponentImpl class, I call first explicitly the cleanUp() of the parent class. This makes sure that all threads are stopped and the Component's state set. Depending on what resources are used by a class implementing a Component and by the implementation of the parent class (if it does not inherit directly from acscomponent::ACSComponentImpl or baci:: CharacteristicComponentImpl) it might be necessary to call the cleanuUp() method of the base class AFTER having released resources allocated by the current class. For an example, see the FridgeControl class Always check the documentation of the parent class and consider what resources are allocated by this class to extablish the requirements for the execution of lifecycle chained methods.
Reimplemented from acscomponent::ACSComponentImpl.
|
|
Closes the FRONTDOOR Implementation of the IDL closeFrontDoor() interface.
|
|
Called after initialize to tell the component that it has to be ready to accept incoming functional calls any time. Must be implemented as a synchronous (blocking) call (can spawn threads though).
Reimplemented from acscomponent::ACSComponentImpl.
|
|
Opens the FRONTDOOR Implementation of the IDL openFrontDoor() interface.
|
|
ALMA C++ coding standards state copy operators should be disabled. |
|
Returns a reference to the version property Implementation of IDL interface for the property.
|
|
The door that belongs to this building. |
|
m_version_sp is a string which shows the version of class Building being used. |