Description
RampedPowerSupply simulates the behavior of a ramped power supply.
All of this class's methods are asynchronous. What makes
RampedPowerSupply special is that it's IDL interface inherits from
PowerSupply and the C++ implementation is derived from PowerSupply's C++ implementation.
Another interesting aspect of this example is PowerSupply and RampedPowerSupply are
defined in two separate IDLs.
What can I gain from this example?
- the implementation of a component derived from another C++ component implementation.
- an understanding of simple asynchronous method implementation accomplished by inheriting methods from the ActionImplementator class.
- read-only and read-write property usage.
- writing values to read-only BACI properties by using the property's underlying DevIO instance.
- standard ACS logging macros.
- limited CORBA error handling.
- asynchronous error handling.
Links