[IGSTK-Users] igstkObserverObjectMacro and igstkObserverMacro

Torleif Sandnes Torleif.Sandnes at sintef.no
Mon Apr 16 04:38:12 EDT 2007


Hi.

I have a short question on the rationale behind the naming of the  
macros igstObserverObjectMacro and igstkObserverMacro:
Why is igstkObserverObjectMacro the macro that defines an observer  
with a *pointer* to a payload, while igstkObserverMacro defines an  
observer with an actual object as payload? This seems counter- 
inituitive to me.

IMHO, a name like igstkObserverPointerObjectMacro for the macro that  
defines an observer that has a pointer to an object, and   
igstkObserverObjectMacro for the macro that defines an observer with  
an actual object would be better.

Regards,

Torleif Sandnes
Sintef Health Research Norway



More information about the IGSTK-Users mailing list