Common definitions


[] introduction, legacy, interfaces, examples, conclusions, references, appendix
The macros in common.h have been introduced to allow for multiple CORBA implementations.

Common definitions

  #ifndef _orb_common_h
  #define _orb_common_h
  
  #ifndef ENV
  #define ENV CORBA::Environment&
  #endif
  #ifndef _sk
  #define _sk(X) X##BOAImpl
  #endif
  #ifndef _msk
  #define _msk(M,X) M::_sk(X)
  #endif
  #ifndef _crob
  #define _crob(M,X) public virtual _msk(M,X) 
  #endif
  
  #endif
  

slide: Common definitions

These macros as well as a number of other technical solutions have been inspired by the work of John Caspers as described in Isis.
[] introduction, legacy, interfaces, examples, conclusions, references, appendix