Ipc::Mem::Pointer< Class > Class Template Reference

#include <Pointer.h>

Inheritance diagram for Ipc::Mem::Pointer< Class >:
Collaboration diagram for Ipc::Mem::Pointer< Class >:

Public Member Functions

 Pointer (Object< Class > *const anObject=NULL)
 
Class * operator-> () const
 
Class & operator* () const
 
const Class * getRaw () const
 
Class * getRaw ()
 
 operator bool () const
 
bool operator! () const
 
bool operator== (const RefCount &p) const
 
bool operator!= (const RefCount &p) const
 

Private Types

typedef RefCount< Object< Class > > Base
 

Detailed Description

template<class Class>
class Ipc::Mem::Pointer< Class >

uses a refcounted pointer to Object<Class> as a parent, but translates its API to return raw Class pointers

Definition at line 54 of file Pointer.h.

Member Typedef Documentation

template<class Class>
typedef RefCount< Object<Class> > Ipc::Mem::Pointer< Class >::Base
private

Definition at line 82 of file Pointer.h.

Constructor & Destructor Documentation

template<class Class>
Ipc::Mem::Pointer< Class >::Pointer ( Object< Class > *const  anObject = NULL)
inlineexplicit

Definition at line 85 of file Pointer.h.

Member Function Documentation

template<class Class>
const Class* Ipc::Mem::Pointer< Class >::getRaw ( ) const
inline

Definition at line 89 of file Pointer.h.

template<class Class>
Class* Ipc::Mem::Pointer< Class >::getRaw ( )
inline

Definition at line 90 of file Pointer.h.

RefCount< Object< Class > >::operator bool ( ) const
inlineexplicitinherited

Definition at line 63 of file RefCount.h.

bool RefCount< Object< Class > >::operator! ( ) const
inlineinherited

Definition at line 65 of file RefCount.h.

bool RefCount< Object< Class > >::operator!= ( const RefCount< Object< Class > > &  p) const
inlineinherited

Definition at line 80 of file RefCount.h.

template<class Class>
Class& Ipc::Mem::Pointer< Class >::operator* ( ) const
inline

Definition at line 88 of file Pointer.h.

template<class Class>
Class* Ipc::Mem::Pointer< Class >::operator-> ( ) const
inline

Definition at line 87 of file Pointer.h.

bool RefCount< Object< Class > >::operator== ( const RefCount< Object< Class > > &  p) const
inlineinherited

Definition at line 76 of file RefCount.h.


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors