FeHandle*
value.
More...
Public Member Functions | |
FeHandle * | getHandle () const |
PeerBase & | operator= (const PeerBase &hw) |
PeerBase (const PeerBase &hw) | |
PeerBase (FeHandle *handle, bool own) | |
PeerBase () | |
virtual | ~PeerBase () |
FeHandle*
value.
Manages encapsulated handle of type FeHandle*
. Class performs automatic reference counting for the encapsulated handle through calls to Fe_AddRef() and Fe_Release().
fe::PeerBase::PeerBase | ( | ) | [inline] |
Init encapsulated handle value with 0
.
fe::PeerBase::PeerBase | ( | FeHandle * | handle, | |
bool | own | |||
) | [inline] |
Init encapsulated handle with the passed in value.
handle | initial handle value; can be 0 ; | |
own | indicates if the fe::PeerBase should call Fe_Release() on the passed in handle from fe::PeerBase::~PeerBase(); |
fe::PeerBase::PeerBase | ( | const PeerBase & | hw | ) | [inline] |
Init encapsulated handle with the hw.getHandle()
value. Fe_AddRef() is called for the copied handle and Fe_Release() will be called on the handle from fe::PeerBase::~PeerBase().
hw | object to copy handle from; |
virtual fe::PeerBase::~PeerBase | ( | ) | [inline, virtual] |
Init encapsulated handle with the hw.getHandle()
value. Fe_AddRef() is called for the copied handle and Fe_Release() will be called on the handle from fe::PeerBase::~PeerBase().
hw | object to copy handle from; |
FeHandle* fe::PeerBase::getHandle | ( | ) | const [inline] |
Returns encapsulated handle.