ADTF  3.18.2
iobject_ptr_shared_locked< T >abstract

Interfaces for a guarded shared lock. More...

Inheritance diagram for iobject_ptr_shared_locked< T >:
[legend]

Public Member Functions

virtual T * Get () const =0
 returns the value as pointer More...
 
virtual tResult Reset (const iobject_ptr< T > &i_oOther)=0
 Sets the value as pointer. More...
 

Detailed Description

template<typename T>
class adtf::ucom::ant::iobject_ptr_shared_locked< T >

Interfaces for a guarded shared lock.

This template can be used with any implementation for ISharedLockedObject.

Template Parameters
TType for a ISharedLockedObject derived interface.

Definition at line 116 of file lockedobject_intf.h.

Member Function Documentation

◆ Get()

virtual T* Get ( ) const
pure virtual

returns the value as pointer

Returns
the pointer to the value of the locked object.

Implemented in object_ptr_shared_locked< T >, and object_ptr_shared_locked< const adtf::streaming::ant::ISampleBuffer >.

◆ Reset()

virtual tResult Reset ( const iobject_ptr< T > &  i_oOther)
pure virtual

Sets the value as pointer.

Parameters
i_oOther[in] Reference to the locked object.
Returns
Standard Result

Implemented in object_ptr_shared_locked< T >.