|
MythTV master
|
This class holds all the state information related to a specific preview generator. More...
#include <libmythtv/previewgeneratorqueue.h>
Public Member Functions | |
| PreviewGenState ()=default | |
Public Attributes | |
| PreviewGenerator * | m_gen {nullptr} |
| A pointer to the generator that this state object describes. More... | |
| bool | m_genStarted {false} |
| The preview generator for this file is currently running. More... | |
| uint | m_attempts {0} |
| How many attempts have been made to generate a preview for this file. More... | |
| std::chrono::seconds | m_lastBlockTime {0s} |
| The amount of time (in seconds) that this generator was blocked before it could start. More... | |
| QDateTime | m_blockRetryUntil |
| Any request to generate an image will be ignored until after this time. More... | |
| QSet< QString > | m_tokens |
| The full set of tokens for all callers that have requested this preview. More... | |
This class holds all the state information related to a specific preview generator.
Definition at line 23 of file previewgeneratorqueue.h.
|
default |
| uint PreviewGenState::m_attempts {0} |
How many attempts have been made to generate a preview for this file.
Definition at line 36 of file previewgeneratorqueue.h.
| QDateTime PreviewGenState::m_blockRetryUntil |
Any request to generate an image will be ignored until after this time.
Definition at line 44 of file previewgeneratorqueue.h.
| PreviewGenerator* PreviewGenState::m_gen {nullptr} |
A pointer to the generator that this state object describes.
Definition at line 29 of file previewgeneratorqueue.h.
Referenced by PreviewGeneratorQueue::SetPreviewGenerator().
The preview generator for this file is currently running.
Definition at line 32 of file previewgeneratorqueue.h.
Referenced by PreviewGeneratorQueue::SetPreviewGenerator().
| std::chrono::seconds PreviewGenState::m_lastBlockTime {0s} |
The amount of time (in seconds) that this generator was blocked before it could start.
Initialized to zero.
Definition at line 40 of file previewgeneratorqueue.h.
| QSet<QString> PreviewGenState::m_tokens |
The full set of tokens for all callers that have requested this preview.
Definition at line 48 of file previewgeneratorqueue.h.
Referenced by PreviewGeneratorQueue::SetPreviewGenerator().