Presentation is loading. Please wait.

Presentation is loading. Please wait.

Notification Channel - C++ API

Similar presentations


Presentation on theme: "Notification Channel - C++ API"— Presentation transcript:

1 Notification Channel - C++ API
ACS Training Notification Channel - C++ API

2 Getting Started At the console open up: and:
ACS/LGPL/CommonSoftware/acscourse/ws/include/acscourseMount5Impl.h and: ACS/LGPL/CommonSoftware/acscourse/ws/src/acscourseMount5Impl.cpp Garching, February 2004 ACS Training

3 What files need to be created?
An IDL file containing the definition of a struct the NC will send/receive. If using simple CORBA types, this is not necessary. A header/implementation each for the derived supplier and consumer. This is not necessary for the SimpleSupplier or SimpleConsumer classes. Garching, February 2004 ACS Training

4 Example(s) Please look at: acscourse/ws/idl/acscourseMount.idl
acscourse/ws/include/acscourseMount5Impl.h acscourse/ws/src/acscourseMount5Impl.cpp Garching, February 2004 ACS Training

5 What Methods are Available in the Consumer and Supplier Classes?
Garching, February 2004 ACS Training

6 Makefile Targets The only special thing that must be done is linking in the acsnc library. Done quite simply actually: xxx_LIBS = acsnc where xxx_ is replaced by the name of the library or executable you’re trying to create. Garching, February 2004 ACS Training

7 Learn From Others’ Mistakes
If it at all possible, do not thread Suppliers or Consumers. If this is done, there may be be problems restarting containers. Garching, February 2004 ACS Training

8 Questions about the C++ event channel API???
Garching, February 2004 ACS Training

9

10 Demo Garching, February 2004 ACS Training

11 Advanced Concepts: Adding Suppliers/Consumers to your Component
                Garching, February 2004 ACS Training


Download ppt "Notification Channel - C++ API"

Similar presentations


Ads by Google