Yate
Protected Member Functions | Protected Attributes | List of all members
RefPointerBase Class Reference

Internal helper class. More...

#include <yateclass.h>

Inheritance diagram for RefPointerBase:
RefPointer< Obj >

Protected Member Functions

 RefPointerBase ()
 
void assign (RefObject *oldptr, RefObject *newptr, void *pointer)
 

Protected Attributes

void * m_pointer
 

Detailed Description

Internal helper class.

Internal helper class providing a non-inline method to RefPointer. Please don't use this class directly, use RefPointer instead.

Constructor & Destructor Documentation

RefPointerBase ( )
inlineprotected

Default constructor, initialize to null pointer

Member Function Documentation

void assign ( RefObject oldptr,
RefObject newptr,
void *  pointer 
)
protected

Set a new stored pointer

Parameters
oldptrPointer to the RefObject of the old stored object
newptrPointer to the RefObject of the new stored object
pointerA void pointer to the derived class

Referenced by RefPointer< Obj >::assign().

Member Data Documentation

void* m_pointer
protected

The untyped stored pointer that should be casted to a RefObject derived class

Referenced by RefPointer< Obj >::pointer().


The documentation for this class was generated from the following file: