.TH "shevek::refbase" 3 "Wed Jul 9 2014" "libshevek" \" -*- nroff -*- .ad l .nh .SH NAME shevek::refbase \- .PP Base class for classes which want reference counting through Glib::RefPtr\&. .SH SYNOPSIS .br .PP .PP \fC#include \fP .PP Inherited by \fBshevek::avahi\fP, \fBshevek::avahi::browser\fP, \fBshevek::closure\fP, \fBshevek::dl\fP, \fBshevek::fd\fP\fC [virtual]\fP, \fBshevek::process\fP, \fBshevek::server< client, serverdata >\fP\fC [virtual]\fP, \fBshevek::server< client, serverdata >::connection\fP\fC [virtual]\fP, and \fBshevek::shm< T >\fP\&. .SS "Public Member Functions" .in +1c .ti -1c .RI "template Glib::RefPtr< _T > \fBcast_dynamic\fP ()" .br .RI "\fIIdentical to GLib::RefPtr <>::cast_dynamic, but nicer to type\&. \fP" .in -1c .SS "Protected Member Functions" .in +1c .ti -1c .RI "\fBrefbase\fP ()" .br .RI "\fIConstructor, increments reference count\&. \fP" .ti -1c .RI "virtual \fB~refbase\fP ()" .br .RI "\fIDestructor, decrements reference count and destroys the object if it reaches 0\&. \fP" .ti -1c .RI "template Glib::RefPtr< T > \fBrefptr_this\fP ()" .br .RI "\fIGet a RefPtr to this, protected because only members should need it\&. \fP" .in -1c .SS "Friends" .in +1c .ti -1c .RI "template class \fBGlib::RefPtr\fP" .br .in -1c .SH "Detailed Description" .PP Base class for classes which want reference counting through Glib::RefPtr\&. .SH "Member Function Documentation" .PP .SS "template Glib::RefPtr< T > shevek::refbase::refptr_this ()\fC [protected]\fP" .PP Get a RefPtr to this, protected because only members should need it\&. This function allows member functions, which have a pointer to the object, but not a Glib::RefPtr, to pass a RefPtr to others\&. .SH "Author" .PP Generated automatically by Doxygen for libshevek from the source code\&.