Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

GlobalPointerRegistry Class Reference

#include <globalPointerRegistry.h>

List of all members.

Static Public Member Functions

INLINE void * get_pointer (TypeHandle type)
INLINE void store_pointer (TypeHandle type, void *ptr)
INLINE void clear_pointer (TypeHandle type)

Private Types

typedef pmap< TypeHandle,
void * > 
Pointers

Private Member Functions

void * ns_get_pointer (TypeHandle type) const
void ns_store_pointer (TypeHandle type, void *ptr)
void ns_clear_pointer (TypeHandle type)

Static Private Member Functions

INLINE GlobalPointerRegistry * get_global_ptr ()

Private Attributes

Pointers _pointers

Static Private Attributes

GlobalPointerRegistry * _global_ptr


Member Typedef Documentation

typedef pmap<TypeHandle, void *> GlobalPointerRegistry::Pointers [private]
 

Definition at line 82 of file globalPointerRegistry.h.


Member Function Documentation

INLINE void GlobalPointerRegistry::clear_pointer TypeHandle  type  )  [static]
 

Referenced by ns_store_pointer().

INLINE GlobalPointerRegistry* GlobalPointerRegistry::get_global_ptr  )  [static, private]
 

INLINE void* GlobalPointerRegistry::get_pointer TypeHandle  type  )  [static]
 

void GlobalPointerRegistry::ns_clear_pointer TypeHandle  type  )  [private]
 

Definition at line 99 of file globalPointerRegistry.cxx.

References _pointers, TypeHandle::none(), and type.

void * GlobalPointerRegistry::ns_get_pointer TypeHandle  type  )  const [private]
 

Definition at line 37 of file globalPointerRegistry.cxx.

References _pointers, TypeHandle::none(), NULL, and type.

void GlobalPointerRegistry::ns_store_pointer TypeHandle  type,
void *  ptr
[private]
 

Definition at line 61 of file globalPointerRegistry.cxx.

References _pointers, clear_pointer(), TypeHandle::none(), NULL, and type.

INLINE void GlobalPointerRegistry::store_pointer TypeHandle  type,
void *  ptr
[static]
 


Member Data Documentation

GlobalPointerRegistry * GlobalPointerRegistry::_global_ptr [static, private]
 

Definition at line 27 of file globalPointerRegistry.cxx.

Pointers GlobalPointerRegistry::_pointers [private]
 

Definition at line 83 of file globalPointerRegistry.h.

Referenced by ns_clear_pointer(), ns_get_pointer(), and ns_store_pointer().


The documentation for this class was generated from the following files:
Generated on Fri Apr 18 00:12:26 2003 for Panda by doxygen1.3