Show
Ignore:
Timestamp:
05/05/08 07:12:19 (3 months ago)
Author:
vossg
Message:

changed: interface cleanup, removed ptr typedefs, nullfc

these will be needed for the 1.x compat stuff

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Source/Base/Base/OSGContainerForwards.h

    r1184 r1198  
    6060    typedef RefCountPtr<CLASST, WeakRefCountPolicy      > ObjWeakPtr;    \ 
    6161                                                                         \ 
     62    typedef CLASST       *                                ObjCPtr;       \ 
     63    typedef CLASST const *                                ConstObjCPtr;  \ 
     64 
     65 
     66 
     67#if 0 
     68                                                                         \ 
    6269    typedef CLASST       *                                ObjPtr;        \ 
    6370    typedef CLASST const *                                ConstObjPtr;   \ 
    64                                                                          \ 
    65     typedef CLASST       *                                ObjCPtr;       \ 
    66     typedef CLASST const *                                ConstObjCPtr; 
    67  
    68  
     71 
     72#endif 
    6973 
    7074 
     
    8286    typedef CLASST##MTRecPtr                       CLASST##MTRefPtr;     \ 
    8387                                                                         \ 
     88 
     89 
     90#if 0 
     91    typedef CLASST       * CLASST##CPtr;                                 \ 
     92    typedef CLASST const * Const##CLASST##CPtr;                          \ 
     93                                                                         \ 
    8494    typedef CLASST       * CLASST##Ptr;                                  \ 
    8595    typedef CLASST const * Const##CLASST##Ptr;                           \ 
    86                                                                          \ 
    87     typedef CLASST       * CLASST##CPtr;                                 \ 
    88     typedef CLASST const * Const##CLASST##CPtr; 
    89  
    90  
     96 
     97#endif 
     98 
     99#if 0 
    91100#define OSG_GEN_NAMED_PTR(CLASST, NAME)                    \ 
    92     typedef CLASST       * NAME##Ptr;                      \ 
    93     typedef CLASST const * Const##NAME##Ptr;                
    94  
    95  
    96  
     101    typedef CLASST       * NAME##CPtr;                     \ 
     102    typedef CLASST const * Const##NAME##CPtr;               
     103#endif 
     104 
     105 
     106#if 0 
    97107#define NullFC      NULL 
    98108#define OSGNullFC   NULL 
    99  
     109#endif 
    100110 
    101111OSG_BEGIN_NAMESPACE 
     
    153163 
    154164typedef boost::function< 
    155               void (FieldContainerCPtr, ConstFieldMaskArg )> ChangedFunctor; 
     165              void (FieldContainer *, ConstFieldMaskArg )> ChangedFunctor; 
    156166 
    157167typedef boost::function<void (DrawEnv *)> RenderFunctor;