vdr  2.0.4
Static Public Member Functions | Static Private Attributes | List of all members
cCutter Class Reference

#include <cutter.h>

Static Public Member Functions

static bool Start (const char *FileName, const char *TargetFileName=NULL, bool Overwrite=true)
 
static void Stop (void)
 
static bool Active (const char *FileName=NULL)
 
static bool Error (void)
 
static bool Ended (void)
 

Static Private Attributes

static cMutex mutex
 
static cString originalVersionName
 
static cString editedVersionName
 
static cCuttingThreadcuttingThread = NULL
 
static bool error = false
 
static bool ended = false
 

Detailed Description

Definition at line 18 of file cutter.h.

Member Function Documentation

bool cCutter::Active ( const char *  FileName = NULL)
static

Returns true if the cutter is currently active.

If a FileName is given, true is only returned if either the original or the edited file name is equal to FileName.

Definition at line 715 of file cutter.c.

References cThread::Active(), cuttingThread, editedVersionName, ended, error, cCuttingThread::Error(), cRecordingUserCommand::InvokeCommand(), mutex, originalVersionName, RUC_EDITEDRECORDING, and Stop().

Referenced by cSVDRP::CmdDELR(), cSVDRP::CmdEDIT(), cShutdownHandler::ConfirmRestart(), cShutdownHandler::ConfirmShutdown(), CutRecording(), cMenuRecordings::Delete(), cReplayControl::EditCut(), main(), cMenuEditRecording::ProcessKey(), and cMenuMain::Update().

bool cCutter::Ended ( void  )
static

Definition at line 740 of file cutter.c.

References ended, and mutex.

Referenced by main().

bool cCutter::Error ( void  )
static

Definition at line 732 of file cutter.c.

References error, and mutex.

Referenced by main(), and Stop().

bool cCutter::Start ( const char *  FileName,
const char *  TargetFileName = NULL,
bool  Overwrite = true 
)
static
void cCutter::Stop ( void  )
static

Member Data Documentation

cCuttingThread * cCutter::cuttingThread = NULL
staticprivate

Definition at line 23 of file cutter.h.

Referenced by Active(), Start(), and Stop().

cString cCutter::editedVersionName
staticprivate

Definition at line 22 of file cutter.h.

Referenced by Active(), Start(), and Stop().

bool cCutter::ended = false
staticprivate

Definition at line 25 of file cutter.h.

Referenced by Active(), Ended(), and Start().

bool cCutter::error = false
staticprivate

Definition at line 24 of file cutter.h.

Referenced by Active(), Error(), and Start().

cMutex cCutter::mutex
staticprivate

Definition at line 20 of file cutter.h.

Referenced by Active(), Ended(), Error(), Start(), and Stop().

cString cCutter::originalVersionName
staticprivate

Definition at line 21 of file cutter.h.

Referenced by Active(), and Start().


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