InspIRCd  3.0
Public Member Functions | List of all members
SimpleExtItem< T, Del > Class Template Reference
Inheritance diagram for SimpleExtItem< T, Del >:
LocalExtItem ExtensionItem ServiceProvider usecountbase classbase

Public Member Functions

 SimpleExtItem (const std::string &Key, ExtensibleType exttype, Module *parent)
 
T * get (const Extensible *container) const
 
void set (Extensible *container, const T &value)
 
void set (Extensible *container, T *value)
 
void unset (Extensible *container)
 
virtual void free (void *item)
 
- Public Member Functions inherited from LocalExtItem
 LocalExtItem (const std::string &key, ExtensibleType exttype, Module *owner)
 
virtual std::string serialize (SerializeFormat format, const Extensible *container, void *item) const
 
virtual void unserialize (SerializeFormat format, Extensible *container, const std::string &value)
 
- Public Member Functions inherited from ExtensionItem
 ExtensionItem (const std::string &key, ExtensibleType exttype, Module *owner)
 
void RegisterService () CXX11_OVERRIDE
 
- Public Member Functions inherited from ServiceProvider
 ServiceProvider (Module *Creator, const std::string &Name, ServiceType Type)
 
void DisableAutoRegister ()
 
- Public Member Functions inherited from classbase
virtual CullResult cull ()
 
- Public Member Functions inherited from usecountbase
unsigned int GetUseCount () const
 
void refcount_inc () const
 
bool refcount_dec () const
 

Additional Inherited Members

- Public Types inherited from ExtensionItem
enum  ExtensibleType { EXT_USER, EXT_CHANNEL, EXT_MEMBERSHIP }
 
- Public Attributes inherited from ExtensionItem
const ExtensibleType type
 
- Public Attributes inherited from ServiceProvider
ModuleRef creator
 
const std::string name
 
const ServiceType service
 
- Protected Member Functions inherited from ExtensionItem
void * get_raw (const Extensible *container) const
 
void * set_raw (Extensible *container, void *value)
 
void * unset_raw (Extensible *container)
 

Member Function Documentation

◆ free()

template<typename T, typename Del = stdalgo::defaultdeleter<T>>
virtual void SimpleExtItem< T, Del >::free ( void *  item)
inlinevirtual

Free the item

Implements LocalExtItem.


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