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

#include <cutter.h>

Collaboration diagram for cCutter:
[legend]

Static Public Member Functions

static bool Start (const char *FileName)
 
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 709 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(), and cMenuMain::Update().

bool cCutter::Ended ( void  )
static

Definition at line 734 of file cutter.c.

References ended, and mutex.

Referenced by main().

bool cCutter::Error ( void  )
static

Definition at line 726 of file cutter.c.

References error, and mutex.

Referenced by main(), and Stop().

bool cCutter::Start ( const char *  FileName)
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: