The InspIRCd Project
Home | Developers | Wiki | Forums | Bug Tracker | SVN | Download
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

classbase Class Reference

The base class for all inspircd classes. More...

#include <base.h>

Inheritance diagram for classbase:

Inheritance graph
[legend]
Collaboration diagram for classbase:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 classbase ()
 Constructor.
virtual ~classbase ()
 Destructor.

Public Attributes

time_t age
 Time that the object was instantiated (used for TS calculation etc).

Detailed Description

The base class for all inspircd classes.

Wherever possible, all classes you create should inherit from this, giving them the ability to be passed to various core functions as 'anonymous' classes.

Definition at line 29 of file base.h.


Constructor & Destructor Documentation

classbase::classbase  ) 
 

Constructor.

Sets the object's time

Definition at line 24 of file base.cpp.

References age.

virtual classbase::~classbase  )  [inline, virtual]
 

Destructor.

Does sweet FA.

Definition at line 44 of file base.h.


Member Data Documentation

time_t classbase::age
 

Time that the object was instantiated (used for TS calculation etc).

Definition at line 34 of file base.h.

Referenced by CommandWatch::add_watch(), Channel::Channel(), classbase(), ModeParser::DisplayCurrentModes(), InspIRCd::DoBackgroundUserStuff(), TreeSocket::ForceJoin(), TreeSocket::ForceMode(), TreeSocket::ForceNick(), SpanningTreeProtocolInterface::Introduce(), ModuleSpanningTree::MapOperInfo(), ModuleIdent::OnCheckReady(), TreeSocket::OnClose(), ModuleSpanningTree::OnMode(), Modulewatch::OnPostConnect(), ModuleSpanningTree::OnUserJoin(), ModuleSpanningTree::OnUserPostNick(), Modulewatch::OnUserPostNick(), TreeSocket::ParseUID(), TreeSocket::ProcessLine(), ModuleSpanningTree::ProtoSendMode(), TreeSocket::SendFJoins(), SpanningTreeProtocolInterface::SendMode(), and User::User().


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