Yate
|
#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 |
Static Public Member Functions | |
static void * | getObject (const String &name, const GenObject *obj) |
An object with just a public virtual destructor
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 ClientSound, AnalogLineEvent, ClientLogic, SignallingCircuitRange, JBEngine, RefObject, and MessageHandler.
Referenced by TelEngine::destruct().
Get a pointer to a derived class given that class name
name | Name of the class we are asking for |
Reimplemented in ISDNQ931CallMonitor, ISDNQ931Call, ISDNQ931Message, SS7ISUPCall, Cipher, SocketFilter, NamedList, DataBlock, HashList, NamedPointer, NamedString, Driver, Channel, String, Array, Module, ObjVector, CallEndpoint, ObjList, ScriptContext, DataEndpoint, ExpWrapper, JBStream, MimeLinesBody, RefObject, MimeStringBody, Plugin, MimeBinaryBody, DataTranslator, MimeSdpBody, DataSource, MimeMultipartBody, DataConsumer, Message, MimeBody, MimeAuthLine, and MimeHeaderLine.
Referenced by GenObject::getObject().
Helper method to get the pointer to a derived class
name | Name of the class we are asking for |
obj | Pointer to the object to get derived class from |
References GenObject::getObject().
Get a string representation of this object
Reimplemented in SS7TCAPComponent, SS7TCAPTransaction, DurationUpdate, ClientResource, ClientContact, ClientAccount, AnalogLine, JBStreamSetList, NamedString, ClientLogic, JBConnect, String, XmlElement, CallEndpoint, ScriptContext, DataEndpoint, JBStream, Plugin, JGSessionContent, MGCPEndpoint, SignallingComponent, MGCPEpInfo, ASNObjId, AsnMib, ChanAssist, JGRtpMedia, and Window.