InspIRCd  2.0
 All Classes Namespaces Functions Variables Typedefs Enumerations
Public Member Functions | List of all members
usecountbase Class Reference

#include <base.h>

Inheritance diagram for usecountbase:
ExtensionItem Module LocalExtItem StringExtItem CommandModule< Cmd > LocalIntExt SimpleExtItem< T > SimpleExtItem< std::string > LocalStringExt

Public Member Functions

unsigned int GetUseCount () const
void refcount_inc () const
bool refcount_dec () const

Detailed Description

Base class for use count tracking. Uses reference<>, but does not cause object deletion when the last user is removed.

Safe for use as a second parent class; will not add a second vtable.

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