Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
No Matches
PVR::CPVRPlaybackState::CLastWatchedUpdateTimer Class Reference
Inheritance diagram for PVR::CPVRPlaybackState::CLastWatchedUpdateTimer:
CTimer ITimerCallback CThread

Public Member Functions

 CLastWatchedUpdateTimer (CPVRPlaybackState &state, const std::shared_ptr< CPVRChannelGroupMember > &channel, const CDateTime &time)
void OnTimeout () override
- Public Member Functions inherited from CTimer
 CTimer (ITimerCallback *callback)
 CTimer (std::function< void()> const &callback)
 ~CTimer () override
bool Start (std::chrono::milliseconds timeout, bool interval=false)
bool Stop (bool wait=false)
bool Restart ()
void RestartAsync (std::chrono::milliseconds timeout)
bool IsRunning () const
float GetElapsedSeconds () const
float GetElapsedMilliseconds () const

Additional Inherited Members

- Protected Types inherited from CThread
enum  WaitResponse { WAIT_INTERRUPTED = -1 , WAIT_SIGNALED = 0 , WAIT_TIMEDOUT = 1 }
- Protected Member Functions inherited from CTimer
void Process () override
- Protected Member Functions inherited from CThread
 CThread (const char *ThreadName)
virtual void OnStartup ()
virtual void OnExit ()
WaitResponse AbortableWait (CEvent &event, std::chrono::milliseconds duration=std::chrono::milliseconds(-1))
 CThread (IRunnable *pRunnable, const char *ThreadName)
virtual ~CThread ()
void Create (bool bAutoDelete=false)
template<typename Rep , typename Period >
void Sleep (std::chrono::duration< Rep, Period > duration)
bool IsAutoDelete () const
virtual void StopThread (bool bWait=true)
bool IsRunning () const
bool IsCurrentThread () const
bool Join (std::chrono::milliseconds duration)
bool SetPriority (const ThreadPriority &priority)
 Set the threads priority. This uses the platforms native threading library to do so.
virtual void OnException ()
- Static Protected Member Functions inherited from CThread
static const std::thread::id GetCurrentThreadId ()
static CThreadGetCurrentThread ()
- Protected Attributes inherited from CThread
std::atomic< boolm_bStop

Constructor & Destructor Documentation

◆ CLastWatchedUpdateTimer()

PVR::CPVRPlaybackState::CLastWatchedUpdateTimer::CLastWatchedUpdateTimer ( CPVRPlaybackState & state,
const std::shared_ptr< CPVRChannelGroupMember > & channel,
const CDateTime & time )

Member Function Documentation

◆ OnTimeout()

void PVR::CPVRPlaybackState::CLastWatchedUpdateTimer::OnTimeout ( )

Implements ITimerCallback.

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