debian man page for ost_refobject

Query: ost_refobject

OS: debian

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

ost::RefObject(3)					     Library Functions Manual						 ost::RefObject(3)

NAME
ost::RefObject - A reference countable object.
SYNOPSIS
#include <object.h> Public Member Functions virtual void * getObject (void)=0 The actual object being managed can be returned by this method as a void and then recast to the actual type. Protected Member Functions RefObject () The constructor simply initializes the count. virtual ~RefObject () The destructor is called when the reference count returns to zero. Protected Attributes unsigned refCount Friends class RefPointer Detailed Description A reference countable object. This is used in association with smart pointers (RefPointer). Author: David Sugar dyfet@gnutelephony.org Object managed by smart pointer reference count. Constructor &; Destructor Documentation ost::RefObject::RefObject () [inline], [protected] The constructor simply initializes the count. virtual ost::RefObject::~RefObject () [protected], [virtual] The destructor is called when the reference count returns to zero. This is done through a virtual destructor. Member Function Documentation virtual void* ost::RefObject::getObject (void) [pure virtual] The actual object being managed can be returned by this method as a void and then recast to the actual type. This removes the need to dynamic cast from RefObject and the dependence on rtti this implies. Returns: underlying object being referenced. Friends And Related Function Documentation friend class RefPointer [friend] Member Data Documentation unsigned ost::RefObject::refCount [protected] Author Generated automatically by Doxygen for GNU CommonC++ from the source code. GNU CommonC++ Sat Jun 23 2012 ost::RefObject(3)
Related Man Pages
ost_checksumdigest(3) - debian
ost_linkeddouble(3) - debian
ost_refobject(3) - debian
ost_runable(3) - debian
ost_objlist(3) - debian
Similar Topics in the Unix Linux Community
Sharing C++ Objects with virtual function table pointers
Simple components for Ada 2.8 (Default branch)
Simple components for Ada 3.0 (Default branch)
Simple components for Ada 3.1 (Default branch)
Alarm interrupt and multithreading