Re: An interesting hack ?



All in all, the code looks beautiful, and it seems like it reduces the
ammount of boiler plate code that needs to be written by a sizable
chunk.  

> 	  a) Cannot sub-class without adding a new EPV - add a boolean on
> 	  b_type_unique - not a major problem.

I do not understand why though.

> 	  b) Ties us to ORBit - this is already the case, either way we
> 	  could have configure checks for other orbs if / when.

Not a problem.

> 	  d) The EPV struct has to be the first element in the derived
> 	  class data - life is tough. Note you can easily add your own
> 	  local methods and signals after this.

Couldnt this be part of the BObject structure?

I do have a couple of questions:

	* How does this interact with the _construct() pattern?  I
          assume this is left untouched, but the signatures would
          change.

	* Is there any way to make this source compatible with
          existing code?  I am thinking here that we could just keep
          the CORBA_Object argument in construct and just ignore it
          completely.  Maybe printing out a warning.

Best wishes,
Miguel.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]