SST/macro
Public Member Functions | Protected Member Functions | Private Attributes | Friends | List of all members
sprockit::ptr_type Class Reference

#include <ptr_type.h>

Inheritance diagram for sprockit::ptr_type:
Inheritance graph
Collaboration diagram for sprockit::ptr_type:
Collaboration graph

Public Member Functions

 ptr_type ()
 
int nreferences () const
 
virtual ~ptr_type ()
 

Protected Member Functions

void incref ()
 
int decref ()
 

Private Attributes

int references
 

Friends

template<class T >
class refcount_ptr
 

Detailed Description

Definition at line 27 of file ptr_type.h.

Constructor & Destructor Documentation

sprockit::ptr_type::ptr_type ( )
inline

Definition at line 34 of file ptr_type.h.

virtual sprockit::ptr_type::~ptr_type ( )
inlinevirtual

Definition at line 52 of file ptr_type.h.

Member Function Documentation

int sprockit::ptr_type::decref ( )
inlineprotected

Definition at line 47 of file ptr_type.h.

References ref_decrement_return.

void sprockit::ptr_type::incref ( )
inlineprotected

Definition at line 42 of file ptr_type.h.

References ref_increment.

int sprockit::ptr_type::nreferences ( ) const
inline

Definition at line 36 of file ptr_type.h.

References references.

Friends And Related Function Documentation

template<class T >
friend class refcount_ptr
friend

Definition at line 30 of file ptr_type.h.

Member Data Documentation

int sprockit::ptr_type::references
mutableprivate

Definition at line 31 of file ptr_type.h.

Referenced by nreferences().


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