Language Mapping for Interfaces
  • IDL Interfaces are mapped to C++ classes (Code Sample 3)
    • Each operation is mapped into a public member function the class
    • IDL inheritance becomes C++ class inheritance
  • Each interface is mapped into 3 C++ classes
    • One is an abstract representation of the interface (Auction::Item)
      • The class declaration shown has had a number of static methods removed
      • These class methods provide some common utilities for manipulating CORBA object of this type. We'll see more of these utility methods later.
    • One is a concrete class used as a client proxy (Auction::Item_stub)
      • This class is not mandated by the standard and can vary from ORB to ORB
    • One is a concrete class used to implement the object (POA_Auction::Item)

Next Slide >>