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

#include <FilenameStrategy.h>

Inheritance diagram for BoostDirectoryStrategy:
Inheritance graph
Collaboration diagram for BoostDirectoryStrategy:
Collaboration graph

Public Member Functions

virtual ~BoostDirectoryStrategy ()
 
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

 BoostDirectoryStrategy (const std::string &strPath, int startIndex, int maxIndex, 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< boost::filesystem::path > mFiles
 

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

◆ ~BoostDirectoryStrategy()

BoostDirectoryStrategy::~BoostDirectoryStrategy ( )
virtual

◆ BoostDirectoryStrategy()

BoostDirectoryStrategy::BoostDirectoryStrategy ( const std::string & strPath,
int startIndex,
int maxIndex,
bool readLoop )
protected

Member Function Documentation

◆ canCache()

bool BoostDirectoryStrategy::canCache ( )
inlinevirtual

Reimplemented from FilenameStrategy.

◆ Connect()

bool BoostDirectoryStrategy::Connect ( )
virtual

Reimplemented from FilenameStrategy.

Here is the call graph for this function:

◆ GetFileNameToUse()

std::string BoostDirectoryStrategy::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<boost::filesystem::path> BoostDirectoryStrategy::mFiles
private

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