MythTV
master
mythtv
libs
libmythui
mythrender.cpp
Go to the documentation of this file.
1
// MythTV
2
#include "
mythrender_base.h
"
3
4
MythRender::MythRender
(
RenderType
type
)
5
:
ReferenceCounter
(QString(
"MythRender:%1"
).arg(
type
)),
6
m_type(
type
)
7
{
8
}
9
10
bool
MythRender::IsShared
()
const
11
{
12
return
const_cast<
QAtomicInt&
>
(
m_referenceCount
).fetchAndAddOrdered(0) > 1;
13
}
14
15
QStringList
MythRender::GetDescription
()
16
{
17
return
{};
18
}
MythRender::MythRender
MythRender(RenderType type)
Definition:
mythrender.cpp:4
MythRender::GetDescription
virtual QStringList GetDescription()
Definition:
mythrender.cpp:15
MythRender::IsShared
bool IsShared(void) const
Warning: The reference count can be decremented between the call to this function and the use of it's...
Definition:
mythrender.cpp:10
ReferenceCounter
General purpose reference counter.
Definition:
referencecounter.h:27
ReferenceCounter::m_referenceCount
QAtomicInt m_referenceCount
Definition:
referencecounter.h:57
mythrender_base.h
RenderType
RenderType
Definition:
mythrender_base.h:16
hardwareprofile.getLink.type
type
Definition:
getLink.py:56
Generated on Fri Aug 7 2026 03:15:50 for MythTV by
1.9.4