OpenDaVINCI  4.15.3
odtools::splitter::Splitter Class Reference

#include <Splitter.h>

Public Member Functions

 Splitter ()
 
virtual ~Splitter ()
 
void process (const string &source, const string &destination, const uint32_t &memorySegmentSize)
 
void process (const string &source, const uint32_t &memorySegmentSize, const uint32_t &start, const uint32_t &end)
 
void process (const string &source, const string &destination, const uint32_t &memorySegmentSize, const uint32_t &start, const uint32_t &end)
 

Detailed Description

This class can be used to split a given file.

Constructor & Destructor Documentation

odtools::splitter::Splitter::Splitter ( )
odtools::splitter::Splitter::~Splitter ( )
virtual

Member Function Documentation

void odtools::splitter::Splitter::process ( const string &  source,
const string &  destination,
const uint32_t &  memorySegmentSize 
)

This method processes the given source file and recodes it.

Parameters
sourceRecording file to be recoded.
destinationOutput file name.
memorySegmentSizeSize of one memory segment to be used in recorder and player.
void odtools::splitter::Splitter::process ( const string &  source,
const uint32_t &  memorySegmentSize,
const uint32_t &  start,
const uint32_t &  end 
)

This method processes the given source file and splits it between and including start and end.

Parameters
sourceRecording file to be split.
memorySegmentSizeSize of one memory segment to be used in recorder and player.
startStart container to be split.
endEnd container (including) in the splitting.
void odtools::splitter::Splitter::process ( const string &  source,
const string &  destination,
const uint32_t &  memorySegmentSize,
const uint32_t &  start,
const uint32_t &  end 
)

This method processes the given source file and splits it between and including start and end.

Parameters
sourceRecording file to be split.
destinationOutput file name.
memorySegmentSizeSize of one memory segment to be used in recorder and player.
startStart container to be split.
endEnd container (including) in the splitting.

References CLOG1.