#include <DybAddress.h>
Inheritance diagram for DybAddress:
Public Member Functions | |
| DybAddress (long svcType, const CLID &clID) | |
| Constructor. | |
| virtual | ~DybAddress () |
| destructor | |
| virtual unsigned long | addRef () |
| Add reference to object. | |
| virtual unsigned long | release () |
| release reference to object | |
| virtual const CLID & | clID () const |
| Retrieve class information from link. | |
| virtual long | svcType () const |
| Retrieve service type. | |
| virtual IRegistry * | registry () const |
| Update branch name. | |
| virtual void | setRegistry (IRegistry *r) |
| Update directory pointer. | |
| virtual const std::string * | par () const |
| Retrieve String parameters. | |
| virtual const unsigned long * | ipar () const |
| Access to generic link parameters. | |
| void | setPar (const std::string *par) |
| Set String parameters for the given CLID. | |
| void | setIPar (const unsigned long *ipar) |
| Set link parameters for the given CLID. | |
Private Attributes | |
| unsigned long | m_refCount |
| Count of the number of references to this address. | |
| CLID | m_clID |
| The CLID of the class this object is representing. | |
| long | m_svcType |
| The service type that is realizating the class this object is representing. | |
| IRegistry * | p_registry |
| Pointer this objects node in a data store. | |
| std::string * | p_par |
| String parameters for the CLID. | |
| unsigned long * | p_ipar |
| link parameters for the CLID | |
Definition at line 6 of file DybAddress.h.
| DybAddress::DybAddress | ( | long | svcType, | |
| const CLID & | clID | |||
| ) |
Constructor.
Definition at line 3 of file DybAddress.cpp.
00004 : 00005 m_refCount(0), 00006 m_clID(clID), 00007 m_svcType(svcType), 00008 p_par(0), 00009 p_ipar(0) { 00010 }
| DybAddress::~DybAddress | ( | ) | [virtual] |
| unsigned long DybAddress::addRef | ( | ) | [virtual] |
Add reference to object.
Implements IOpaqueAddress.
Definition at line 21 of file DybAddress.cpp.
00021 { 00022 return ++m_refCount; 00023 }
| unsigned long DybAddress::release | ( | ) | [virtual] |
release reference to object
Implements IOpaqueAddress.
Definition at line 25 of file DybAddress.cpp.
00025 { 00026 int result = --m_refCount; 00027 if ( 0 == result ) { 00028 delete this; 00029 } 00030 return result; 00031 }
| const CLID & DybAddress::clID | ( | ) | const [virtual] |
Retrieve class information from link.
Implements IOpaqueAddress.
Definition at line 33 of file DybAddress.cpp.
00033 { 00034 return m_clID; 00035 }
| long DybAddress::svcType | ( | ) | const [virtual] |
Retrieve service type.
Implements IOpaqueAddress.
Definition at line 37 of file DybAddress.cpp.
00037 { 00038 return m_svcType; 00039 }
| IRegistry * DybAddress::registry | ( | ) | const [virtual] |
Update branch name.
Implements IOpaqueAddress.
Definition at line 41 of file DybAddress.cpp.
00041 { 00042 return p_registry; 00043 }
| void DybAddress::setRegistry | ( | IRegistry * | r | ) | [virtual] |
Update directory pointer.
Implements IOpaqueAddress.
Definition at line 45 of file DybAddress.cpp.
00045 { 00046 p_registry = r; 00047 }
| const std::string * DybAddress::par | ( | ) | const [virtual] |
Retrieve String parameters.
Implements IOpaqueAddress.
Definition at line 57 of file DybAddress.cpp.
00057 { 00058 return p_par; 00059 }
| const unsigned long * DybAddress::ipar | ( | ) | const [virtual] |
Access to generic link parameters.
Implements IOpaqueAddress.
Definition at line 61 of file DybAddress.cpp.
00061 { 00062 return p_ipar; 00063 }
| void DybAddress::setPar | ( | const std::string * | par | ) |
| void DybAddress::setIPar | ( | const unsigned long * | ipar | ) |
unsigned long DybAddress::m_refCount [private] |
CLID DybAddress::m_clID [private] |
long DybAddress::m_svcType [private] |
The service type that is realizating the class this object is representing.
Definition at line 56 of file DybAddress.h.
IRegistry* DybAddress::p_registry [private] |
std::string* DybAddress::p_par [private] |
unsigned long* DybAddress::p_ipar [private] |
1.4.7