implementing polymorphic callbacks for ada c bindings
play

Implementing Polymorphic Callbacks for Ada/C++ Bindings Maciej - PowerPoint PPT Presentation

Implementing Polymorphic Callbacks for Ada/C++ Bindings Maciej Sobczak YAMI4 Multilanguage Asynchronous Messaging Library User Programs Ada General-Purpose C++ General-Purpose Ada Core C++ Core Operating System But this is a common


  1. Implementing Polymorphic Callbacks for Ada/C++ Bindings Maciej Sobczak

  2. YAMI4 – Multilanguage Asynchronous Messaging Library User Programs Ada General-Purpose C++ General-Purpose Ada Core C++ Core Operating System

  3. But this is a common problem! WWW request GUI events handlers DB stored Alarms procedures

  4. One-page problem

  5. Callbacks anatomy Object-Oriented Callback Object Action

  6. Solution Ada user code Ada translation layer C wrapper C++ notifications

  7. Problem Object-Oriented Callback Ada user code Object Ada translation layer Action C wrapper Object pointer is C++ notifications created in Ada and used in Ada

  8. Problem Object-Oriented Callback Ada user code Object Ada translation layer Action C wrapper Procedure pointer is C++ notifications created in Ada but used in C++

  9. Dependencies Ada C++

Recommend


More recommend