Logo
ApraPipes 1.0
Loading...
Searching...
No Matches
FileSequenceDriver Class Reference

#include <FileSequenceDriver.h>

Collaboration diagram for FileSequenceDriver:
Collaboration graph

Public Member Functions

 FileSequenceDriver (const std::string &strPath, int startIndex=0, int maxIndex=-1, bool readLoop=true, const std::vector< std::string > &files=std::vector< std::string >())
 
 FileSequenceDriver (const std::string &strPath, bool append)
 
virtual ~FileSequenceDriver ()
 
 FileSequenceDriver (const FileSequenceDriver &other)=delete
 
FileSequenceDriveroperator= (const FileSequenceDriver &other)=delete
 
bool Connect ()
 
bool Disconnect ()
 
bool IsConnected () const
 
bool canCache ()
 
bool Read (uint8_t *&dataToRead, size_t &dataSize, uint64_t &index)
 
bool ReadP (BufferMaker &buffMaker, uint64_t &index)
 
bool Write (const uint8_t *dataToWrite, size_t dataSize)
 
void SetReadLoop (bool readLoop)
 
void notifyPlay (bool play)
 
void jump (uint64_t index)
 

Private Member Functions

bool writeHelper (const std::string &fileName, const uint8_t *dataToWrite, size_t dataSize, bool append)
 

Private Attributes

bool mAppend
 
boost::shared_ptr< FilenameStrategymStrategy
 

Constructor & Destructor Documentation

◆ FileSequenceDriver() [1/3]

FileSequenceDriver::FileSequenceDriver ( const std::string & strPath,
int startIndex = 0,
int maxIndex = -1,
bool readLoop = true,
const std::vector< std::string > & files = std::vector<std::string>() )
Here is the call graph for this function:

◆ FileSequenceDriver() [2/3]

FileSequenceDriver::FileSequenceDriver ( const std::string & strPath,
bool append )
Here is the call graph for this function:

◆ ~FileSequenceDriver()

FileSequenceDriver::~FileSequenceDriver ( )
virtual

◆ FileSequenceDriver() [3/3]

FileSequenceDriver::FileSequenceDriver ( const FileSequenceDriver & other)
delete

Member Function Documentation

◆ canCache()

bool FileSequenceDriver::canCache ( )

◆ Connect()

bool FileSequenceDriver::Connect ( )

◆ Disconnect()

bool FileSequenceDriver::Disconnect ( )

◆ IsConnected()

bool FileSequenceDriver::IsConnected ( ) const

◆ jump()

void FileSequenceDriver::jump ( uint64_t index)

◆ notifyPlay()

void FileSequenceDriver::notifyPlay ( bool play)

◆ operator=()

FileSequenceDriver & FileSequenceDriver::operator= ( const FileSequenceDriver & other)
delete

◆ Read()

bool FileSequenceDriver::Read ( uint8_t *& dataToRead,
size_t & dataSize,
uint64_t & index )

◆ ReadP()

bool FileSequenceDriver::ReadP ( BufferMaker & buffMaker,
uint64_t & index )
Here is the call graph for this function:

◆ SetReadLoop()

void FileSequenceDriver::SetReadLoop ( bool readLoop)

◆ Write()

bool FileSequenceDriver::Write ( const uint8_t * dataToWrite,
size_t dataSize )
Here is the call graph for this function:

◆ writeHelper()

bool FileSequenceDriver::writeHelper ( const std::string & fileName,
const uint8_t * dataToWrite,
size_t dataSize,
bool append )
private
Here is the caller graph for this function:

Member Data Documentation

◆ mAppend

bool FileSequenceDriver::mAppend
private

◆ mStrategy

boost::shared_ptr<FilenameStrategy> FileSequenceDriver::mStrategy
private

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