Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

shevek_refbase(3) [debian man page]

shevek::refbase(3)					     Library Functions Manual						shevek::refbase(3)

NAME
shevek::refbase - Base class for classes which want reference counting through Glib::RefPtr. SYNOPSIS
#include <refbase.hh> Inherited by shevek::avahi, shevek::avahi::browser, shevek::closure, shevek::dl, shevek::fd [virtual], shevek::process, shevek::server< client, serverdata > [virtual], shevek::server< client, serverdata >::connection [virtual], and shevek::shm< T >. Public Member Functions template<typename _T > Glib::RefPtr< _T > cast_dynamic () Identical to GLib::RefPtr <>::cast_dynamic, but nicer to type. Protected Member Functions refbase () Constructor, increments reference count. virtual ~refbase () Destructor, decrements reference count and destroys the object if it reaches 0. template<typename T > Glib::RefPtr< T > refptr_this () Get a RefPtr to this, protected because only members should need it. Friends class Glib::RefPtr Detailed Description Base class for classes which want reference counting through Glib::RefPtr. Member Function Documentation template<typename T > Glib::RefPtr< T > shevek::refbase::refptr_this () [protected] 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. Author Generated automatically by Doxygen for libshevek from the source code. libshevek Fri May 11 2012 shevek::refbase(3)

Check Out this Related Man Page

shevek::server< client, serverdata >::connection(3)	     Library Functions Manual	       shevek::server< client, serverdata >::connection(3)

NAME
shevek::server< client, serverdata >::connection - Base of the client class which is implemented by the calling program. SYNOPSIS
#include <server.hh> Inherits shevek::refbase. Public Member Functions void continue_reading () This is called after in->unread (), to resume accepting data from this connection. ~connection () Destructor. Public Attributes Glib::RefPtr< shevek::fd > in The input socket. The client can stop reading from this connection by calling in->unread (). Glib::RefPtr< shevek::fd > out The output socket. This is used to send data to the connection. Protected Member Functions connection () The client class can construct this object with its create function. Glib::RefPtr< server< client, serverdata > > get_server ()" Access to the server object which hosts this client. void disconnect () This can be called by the client object to close this connection. Friends class server< client, serverdata > Detailed Description template<typename client, typename serverdata>struct shevek::server< client, serverdata >::connection Base of the client class which is implemented by the calling program. A client object is created for every connection which is accepted. This class handles server administration and provides access to members from the client class. Author Generated automatically by Doxygen for libshevek from the source code. libshevek Fri May 11 2012 shevek::server< client, serverdata >::connection(3)
Man Page