Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
IDVDResourceCounted< T > Struct Template Reference

#include <DVDResource.h>

Public Member Functions

 IDVDResourceCounted ()
 
virtual ~IDVDResourceCounted ()=default
 
 IDVDResourceCounted (const IDVDResourceCounted &)=delete
 
IDVDResourceCountedoperator= (const IDVDResourceCounted &)=delete
 
virtual T * Acquire ()
 
virtual long Release ()
 

Public Attributes

std::atomic< long > m_refs
 

Constructor & Destructor Documentation

◆ IDVDResourceCounted() [1/2]

template<typename T >
IDVDResourceCounted< T >::IDVDResourceCounted ( )
inline

◆ ~IDVDResourceCounted()

template<typename T >
virtual IDVDResourceCounted< T >::~IDVDResourceCounted ( )
virtualdefault

◆ IDVDResourceCounted() [2/2]

template<typename T >
IDVDResourceCounted< T >::IDVDResourceCounted ( const IDVDResourceCounted< T > & )
delete

Member Function Documentation

◆ Acquire()

template<typename T >
virtual T * IDVDResourceCounted< T >::Acquire ( )
inlinevirtual

◆ operator=()

template<typename T >
IDVDResourceCounted & IDVDResourceCounted< T >::operator= ( const IDVDResourceCounted< T > & )
delete

◆ Release()

template<typename T >
virtual long IDVDResourceCounted< T >::Release ( )
inlinevirtual

Reimplemented in VAAPI::CDecoder, and VDPAU::CDecoder.

Member Data Documentation

◆ m_refs

template<typename T >
std::atomic<long> IDVDResourceCounted< T >::m_refs

The documentation for this struct was generated from the following file: