#include <yateclass.h>
Public Member Functions | |
virtual | ~GenObject () |
virtual bool | alive () const |
virtual void | destruct () |
virtual const String & | toString () const |
virtual void * | getObject (const String &name) const |
virtual ~GenObject | ( | ) | [inline, virtual] |
Destructor.
virtual bool alive | ( | ) | const [virtual] |
Check if the object is still valid and safe to access. Note that you should not trust this result unless the object is locked by other means.
Reimplemented in RefObject.
virtual void destruct | ( | ) | [virtual] |
Destroys the object, disposes the memory.
Reimplemented in RefObject, MessageHandler, ClientSound, XMLElement, JBEngine, JBService, SignallingCircuitRange, SignallingCircuitGroup, AnalogLineEvent, AnalogLineGroup, SS7MTP2, SS7MTP3, SS7ISUP, ISDNQ921, ISDNQ921Pasive, ISDNQ931, and ISDNQ931Monitor.
Referenced by ISDNQ931Monitor::destruct(), ISDNQ931::destruct(), ISDNQ921Pasive::destruct(), ISDNQ921::destruct(), SS7MTP2::destruct(), AnalogLineEvent::destruct(), SignallingCircuitGroup::destruct(), SignallingCircuitRange::destruct(), TelEngine::destruct(), ClientSound::destruct(), and XMLElement::destruct().
virtual const String& toString | ( | ) | const [virtual] |
Get a string representation of this object
Reimplemented in String, NamedString, DataEndpoint, CallEndpoint, Window, ClientLogic, ClientAccount, ClientContact, ClientResource, DurationUpdate, XMLElement, JIDIdentity, JBStream, JGAudio, MGCPEpInfo, MGCPEndpoint, ChanAssist, SignallingComponent, and AnalogLine.
virtual void* getObject | ( | const String & | name | ) | const [virtual] |
Get a pointer to a derived class given that class name
name | Name of the class we are asking for |
Reimplemented in ObjList, Array, String, NamedString, NamedPointer, HashList, DataBlock, NamedList, SocketFilter, MimeHeaderLine, MimeAuthLine, MimeBody, MimeMultipartBody, MimeSdpBody, MimeBinaryBody, MimeStringBody, MimeLinesBody, Message, Plugin, DataConsumer, DataSource, DataTranslator, DataEndpoint, CallEndpoint, Module, Channel, Driver, XMLElement, JIDIdentity, JBStream, SS7Router, SS7MsgISUP, SS7ISUPCall, SS7ISUP, SS7BICC, ISDNQ921, ISDNQ921Pasive, ISDNQ931Message, ISDNQ931Call, ISDNQ931CallMonitor, ISDNQ931, and ISDNQ931Monitor.
Referenced by JIDIdentity::getObject(), and XMLElement::getObject().