ACS C++ Examples Documentation


Component Examples

Example

Brief Description

AmsSeq Antenna Mount System Pointing Model
Building Implements an hierarchical device using Door.
Calendar Simulates the behavior of a calendar using enums and pattern properties.
Door Door is a simple component that utilizes just about every ACS API.
Fridge FridgeControl shows BACI threads as well as a notification channel supplier.
Hello World ACS Hello World example.
Lamp Simple component with asynchronous methods.
Mount Simulates the behavior of an antenna interface.
Power Supply Simulates the behavior of a power supply and overwrites an ACS property.
Ramped Power Supply Simulates the behavior of a ramped power supply by inheriting from Power Supply's IDL interface and C++ implementation.
Slow Mount Similar to Mount, but simulate the movements of the antenna in a 30 secs time interval.
Lamp Wheel Simulates the behaviour of a generic lamp wheel, using an asynchronous method to rotate it.
Filter Wheel Simulates the behaviour of a generic filter wheel.
Error Component Simple Component that throws few exceptions and completions to show the use.

Client Examples

Example

Brief Description

Client Hello World A very simple client which interacts with the Hello World component.
Client List Components Lists all static components known to manager.
Client Logs into manager and manipulates mount components. Invokes an asynchronous method.
Client Wave Within a BACI thread, a mount component's positions follow a sine wave.
Client AmsSeq Obtains a reference to an AmsSeq component's pointing model, prints it, and then changes it.
Client Fridge Command Commands specified from the command-line are invoked on a fridge component.
Client Fridge Creates a BACI monitor using callbacks (running for 20 seconds) on the temperature property of a fridge component.
Client Fridge Channel Event Consumer Shows the implementation of an event channel consumer consuming events from a fridge component.
Client Alarm Thread Creates a BACI alarm set to go off when the value of a power supply's read-only double property goes out of range. This value "goes out of range" within a BACI thread.
Client Dynamic Component Simple example retrieves a dynamic Hello World component from manager.
Client Component IOR Prints out the stringified IOR of a component specified from the command-line.
Async Calls Client that uses asynchronous calls.
Client Error Component Client that uses the Error Component to catch exception/completion and their handling.

Miscellaneous Examples

Example

Brief Description

BACI Callback and Alarm Implementations The C++ implementations of various BACI IDL interfaces is shown here.
DevIO Implementation The implementation of a DevIO subclass is shown here.
Overriding BACI Properties The BACI property of a Power Supply is overriden in this example.








TODO List: