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

#include <FilenameStrategy.h>

Inheritance diagram for ListStrategy:
Inheritance graph
Collaboration diagram for ListStrategy:
Collaboration graph

Public Member Functions

virtual ~ListStrategy ()
 
bool Connect ()
 
bool canCache ()
 
std::string GetFileNameToUse (bool checkForExistence, uint64_t &index)
 
- Public Member Functions inherited from FilenameStrategy
virtual ~FilenameStrategy ()
 
bool IsConnected () const
 
bool Disconnect ()
 
void play (bool play)
 
void jump (uint64_t index)
 
void SetReadLoop (bool readLoop)
 

Protected Member Functions

 ListStrategy (const std::vector< std::string > &files, const std::string &dirPath, bool readLoop)
 
- Protected Member Functions inherited from FilenameStrategy
 FilenameStrategy (const std::string &strPath, int startIndex, int maxIndex, bool readLoop, bool appendFlag)
 
 FilenameStrategy (bool readLoop)
 
void incrementIndex ()
 

Private Attributes

std::vector< std::string > mFiles
 
boost::filesystem::path mRootDir
 

Friends

class FilenameStrategy
 

Additional Inherited Members

- Static Public Member Functions inherited from FilenameStrategy
static boost::shared_ptr< FilenameStrategygetStrategy (const std::string &strPath, int startIndex, int maxIndex, bool readLoop, const std::vector< std::string > &files=std::vector< std::string >(), bool appendFlag=false)
 
static bool fileExists (const char *path)
 
- Protected Attributes inherited from FilenameStrategy
bool mIsConnected
 
bool mReadLoop
 
bool mAppend
 
std::string mDirName
 
int mCurrentIndex
 
int mStartIndex
 
int mMaxIndex
 

Constructor & Destructor Documentation

◆ ~ListStrategy()

ListStrategy::~ListStrategy ( )
virtual

◆ ListStrategy()

ListStrategy::ListStrategy ( const std::vector< std::string > & files,
const std::string & dirPath,
bool readLoop )
protected

Member Function Documentation

◆ canCache()

bool ListStrategy::canCache ( )
inlinevirtual

Reimplemented from FilenameStrategy.

◆ Connect()

bool ListStrategy::Connect ( )
virtual

Reimplemented from FilenameStrategy.

◆ GetFileNameToUse()

std::string ListStrategy::GetFileNameToUse ( bool checkForExistence,
uint64_t & index )
virtual

Reimplemented from FilenameStrategy.

Here is the call graph for this function:

Friends And Related Symbol Documentation

◆ FilenameStrategy

friend class FilenameStrategy
friend

Member Data Documentation

◆ mFiles

std::vector<std::string> ListStrategy::mFiles
private

◆ mRootDir

boost::filesystem::path ListStrategy::mRootDir
private

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