Description
The purpose of Building is to show the implementation of hierarchical
devices. Building provides two synchronous methods,
openFrontDoor() and closeFrontDoor(). These methods use the container
to activate a Door object and then perform actions on that object.
Building also has one property, version, which is just the
version of the C++ Building implementation currently used.
What can I gain from this example?
- an example derived from the ACS::CharacteristicComponent IDL interface.
- overriding component lifecycle methods (see execute).
- the knowledge of how to create heirarchial devices.
- how to use the container services to activate other components.
- writing values to read-only BACI properties by using the property's underlying DevIO instance.
- standard ACS logging macros.
- limited CORBA error handling.
- limited CORBA exception handling.
,li>how to use the SmartPropertyPointer for a property
Links