1 / 11

ACS Training

ACS Training. Notification Channel - C++ API. Getting Started. At the console open up: ACS/LGPL/CommonSoftware/acscourse/ws/include/acscourseMount5Impl.h and: ACS/LGPL/CommonSoftware/acscourse/ws/src/acscourseMount5Impl.cpp. What files need to be created?.

Download Presentation

ACS Training

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. ACS Training Notification Channel - C++ API

  2. Getting Started At the console open up: ACS/LGPL/CommonSoftware/acscourse/ws/include/acscourseMount5Impl.h and: ACS/LGPL/CommonSoftware/acscourse/ws/src/acscourseMount5Impl.cpp 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. ACS Training

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

  5. What Methods are Available in the Consumer and Supplier Classes? www.eso.org/~almamgr/AlmaAcs/OnlineDocs/ACS_docs/cpp/classSupplier.html www.eso.org/~almamgr/AlmaAcs/OnlineDocs/ACS_docs/cpp/classConsumer.html 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. 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. ACS Training

  8. Questions about the C++ event channel API??? ACS Training

  9. Demo ACS Training

  10. Advanced Concepts:Adding Suppliers/Consumers to your Component ACS Training

More Related