Logo Search packages:      
Sourcecode: vdr-plugin-live version File versions  Download package

vdrlive::RecordingsManager Class Reference

#include <recman.h>

List of all members.


Detailed Description

Class for managing recordings inside the live plugin. It provides some convenience methods and provides automatic locking during requests on the recordings or during the traversion of the recordings tree or lists, which can only be obtained through methods of the RecordingsManager.

Definition at line 39 of file recman.h.


Public Member Functions

cRecording const * GetByMd5Hash (std::string const &hash) const
RecordingsListPtr GetRecordingsList (time_t begin, time_t end, bool ascending=true) const
RecordingsListPtr GetRecordingsList (bool ascending=true) const
RecordingsTreePtr GetRecordingsTree () const
std::string Md5Hash (cRecording const *recording) const

Static Public Member Functions

static std::string const GetArchiveDescr (cRecording const *recording)
static std::string const GetArchiveId (cRecording const *recording)
static bool IsArchived (cRecording const *recording)

Static Private Member Functions

static RecordingsManagerPtr EnsureValidData ()

Private Attributes

cThreadLock m_recordingsLock

Static Private Attributes

static std::tr1::shared_ptr
< RecordingsList
m_recList
static std::tr1::weak_ptr
< RecordingsManager
m_recMan
static int m_recordingsState = 0
static std::tr1::shared_ptr
< RecordingsTree
m_recTree

Friends

RecordingsManagerPtr LiveRecordingsManager ()

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

Generated by  Doxygen 1.6.0   Back to index