vdr  1.7.27
Static Public Member Functions | Static Private Attributes
cCutter Class Reference

#include <cutter.h>

List of all members.

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 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 344 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().

static 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.

bool cCutter::Ended ( void  ) [static]

Definition at line 369 of file cutter.c.

References ended, and mutex.

Referenced by main().

static bool cCutter::Ended ( void  ) [static]
bool cCutter::Error ( void  ) [static]

Definition at line 361 of file cutter.c.

References error, and mutex.

Referenced by main(), and Stop().

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

Member Data Documentation

static cCuttingThread * cCutter::cuttingThread = NULL [static, private]

Definition at line 23 of file cutter.h.

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

static cString cCutter::editedVersionName [static, private]

Definition at line 22 of file cutter.h.

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

static bool cCutter::ended = false [static, private]

Definition at line 25 of file cutter.h.

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

static bool cCutter::error = false [static, private]

Definition at line 24 of file cutter.h.

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

static cMutex cCutter::mutex [static, private]

Definition at line 20 of file cutter.h.

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

static cString cCutter::originalVersionName [static, private]

Definition at line 21 of file cutter.h.

Referenced by Active(), and Start().


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