[vtk-developers] vtkLiteObject?

David Gobbi dgobbi at irus.rri.ca
Tue Apr 9 17:07:20 EDT 2002


Hi Lisa,

So far vtkBasicObject sounds best to me, I guess because 'Basic'
is not used as part of any other VTK class name and therefore
doesn't have any undesired connotations.  But it still isn't very
specific.  OTOH, vtkLiteObject brings forth images of bad beer ads
(where the adjective applies to both the ads and the beer).
Apologies to Andy for my knee-jerk reactionism...

 - David


On Tue, 9 Apr 2002, Lisa Avila wrote:

> Hi David,
>
> If I saw two classes vtkObject and vtkReferenceCountedObject, I would think
> the first is not reference counted. Of course I am sitting here trying to
> come up with a better suggestion and failing miserably. I wouldn't use
> vtkAbstractObject since in the other places we use it, it is meant to
> define an API that is implemented by subclasses. This isn't quite the case
> here. Maybe vtkBasicObject? or vtkBaseObject? I guess these aren't all that
> specific but this may be a good thing (for example if we decide some other
> basic functionality from vtkObject should move into vtkBaseObject).
>
> Lisa
>
>
>
>
> At 04:28 PM 4/9/2002, David Gobbi wrote:
> >Oops, looks like I read things the wrong way around...
> >the new class will 'have' reference counting.   In
> >that case, vtkGCObject or vtkReferenceCountedObject.
> >I still don't like 'Lite', "Super' or 'Abstract' because
> >they aren't specific enough.
> >
> >  - David
> >
> >
> >On Tue, 9 Apr 2002, David Gobbi wrote:
> >
> > > Hi Andy,
> > >
> > > The non-reference counted versions of objects often
> > > contain the word 'Simple', e.g. vtkSimpleMutexLock,
> > > so vtkSimpleObject is my preference.
> > >
> > > For some reason 'vtkLiteObject' turns my stomach.
> > >
> > >  Cheers,
> > >
> > >  - David
> > >
> > > On 9 Apr 2002, Andy Cedilnik wrote:
> > >
> > > > Hello!
> > > >
> > > > I think we need to take reference counting out of vtkObject and
> > > > put it in a common superclass.
> > > > This is the case because vtkCommand and vtkContainer are not
> > > > subclasses vtkObject, so they do have to implement their own
> > > > reference counting scheme. Please let me know what you think
> > > > the name of the common superclass should be?
> > > >
> > > > vtkLiteObject?
> > > > vtkSuperObject?
> > > > vtkAbstractObject?
> > > >
> > > >                     Andy
> > >
> > > _______________________________________________
> > > vtk-developers mailing list
> > > vtk-developers at public.kitware.com
> > > http://public.kitware.com/mailman/listinfo/vtk-developers
> > >
> >
> >_______________________________________________
> >vtk-developers mailing list
> >vtk-developers at public.kitware.com
> >http://public.kitware.com/mailman/listinfo/vtk-developers
>




More information about the vtk-developers mailing list