|
Yate
|
RefObject holding a Socket pointer. More...
#include <yateclass.h>
Public Member Functions | |
| SocketRef (Socket **socket) | |
| SocketRef (Socket *&socket) | |
| virtual void * | getObject (const String &name) const |
Public Member Functions inherited from RefObject | |
| RefObject () | |
| virtual | ~RefObject () |
| virtual bool | alive () const |
| bool | ref () |
| bool | deref () |
| int | refcount () const |
| virtual void | destruct () |
Public Member Functions inherited from GenObject | |
| GenObject () | |
| virtual | ~GenObject () |
| virtual const String & | toString () const |
| virtual const String & | traceId () const |
| NamedCounter * | getObjCounter () const |
| NamedCounter * | setObjCounter (NamedCounter *counter) |
Additional Inherited Members | |
Static Public Member Functions inherited from RefObject | |
| static bool | alive (const RefObject *obj) |
| static bool | efficientIncDec () |
Static Public Member Functions inherited from GenObject | |
| static void * | getObject (const String &name, const GenObject *obj) |
| static bool | getObjCounting () |
| static void | setObjCounting (bool enable) |
| static NamedCounter * | getObjCounter (const String &name, bool create=true) |
| static ObjList & | getObjCounters () |
Protected Member Functions inherited from RefObject | |
| virtual void | zeroRefs () |
| bool | resurrect () |
| virtual void | destroyed () |
RefObject holding a Socket pointer.
Helper class for insering a Socket pointer as a RefObject in a Message
Constructor from pointer
| socket | Pointer to the Socket* to hold |
Constructor from reference
| socket | Reference to the Socket* to hold |
|
inlinevirtual |
Get a pointer to a derived class given that class name
| name | Name of the class we are asking for |
Reimplemented from RefObject.
References RefObject::getObject().