ADTF
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
iobject_ptr_locked< T >abstract

Interfaces for a guarded exclusive lock. More...

#include <lockedobject_intf.h>

Inheritance diagram for iobject_ptr_locked< T >:
[legend]

Public Member Functions

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

Detailed Description

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

Interfaces for a guarded exclusive lock.

This template can be used with any implementation for ILockedObject.

Template Parameters
TType for a ILockedObject derived interface.

Definition at line 97 of file lockedobject_intf.h.

Member Function Documentation

◆ Get()

template<typename T>
virtual T * Get ( ) const
pure virtual

◆ Reset()

template<typename T>
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_locked< T >, and object_ptr_locked< adtf::streaming::ant::ISampleBuffer >.