Description
The class Mount simulates the behaviour of an antenna interface.
It provides only two asynchronous methods: objstar(...) and
objfix(...). Both of these methods only write data into virtual
read-only double properties: actAz, actEl, cmdAz, and cmdEl.
What can I gain from this example?
- an example derived from the ACS::CharacteristicComponent IDL interface.
- understanding of asynchronous method implementation accomplished by inheriting methods from the baci::ActionImplementator class.
- asynchronous methods which take in (multiple) parameters.
- clean implementation of the invokeAction method using an array of function pointers.
- a "real-world" example dealing with radio astronomy.
- writing values to read-only BACI properties by using the property's underlying DevIO instance.
- standard ACS logging macros.
- ACS asynchronous error handling.
Links