ldas-tools-frameAPI 2.6.6
Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
FrameFile Class Reference

#include <filereader.hh>

Inheritance diagram for FrameFile:
Inheritance graph
[legend]

Public Member Functions

 FrameFile (const std::string &Filename, unsigned int size, char *buffer, bool EnableMemoryMappedIO, std::ios::openmode Mode, const char *BufferFilname=(const char *) NULL)
 
virtual ~FrameFile ()
 
const std::string & GetFilename () const
 ret: const std::string& - Name of the file More...
 
 FrameFile (const std::string &Filename, unsigned int size, char *buffer, bool EnableMemoryMappedIO, std::ios::openmode Mode, const char *BufferFilname=(const char *) NULL)
 
virtual ~FrameFile ()
 
const std::string & GetFilename () const
 
 FrameFile (const std::string &Filename, unsigned int size, char *buffer, bool EnableMemoryMappedIO, std::ios::openmode Mode, const char *BufferFilname=(const char *) NULL)
 
virtual ~FrameFile ()
 
const std::string & GetFilename () const
 

Protected Types

typedef LDASTools::AL::filebuf filebuf
 
typedef LDASTools::AL::filebuf filebuf
 
typedef LDASTools::AL::filebuf filebuf
 

Protected Member Functions

void finish ()
 
void finish ()
 
void finish ()
 

Protected Attributes

FrameCPP::Common::FrameBuffer< filebuf > * m_frame_buf
 

Private Member Functions

void check_if_dir (const std::string &Filename) const
 
void error () const
 
void check_if_dir (const std::string &Filename) const
 
void error () const
 
void check_if_dir (const std::string &Filename) const
 
void error () const
 

Private Attributes

boost::shared_array< char > m_buffer
 
const std::string m_filename
 
bool m_finished
 

Member Typedef Documentation

◆ filebuf [1/3]

typedef LDASTools::AL::filebuf FrameFile::filebuf
protected

◆ filebuf [2/3]

typedef LDASTools::AL::filebuf FrameFile::filebuf
protected

◆ filebuf [3/3]

typedef LDASTools::AL::filebuf FrameFile::filebuf
protected

Constructor & Destructor Documentation

◆ FrameFile() [1/3]

FrameFile::FrameFile ( const std::string &  Filename,
unsigned int  size,
char *  buffer,
bool  EnableMemoryMappedIO,
std::ios::openmode  Mode,
const char *  BufferFilname = (const char*)NULL 
)
inline

◆ ~FrameFile() [1/3]

FrameFile::~FrameFile ( )
inlinevirtual

◆ FrameFile() [2/3]

FrameFile::FrameFile ( const std::string &  Filename,
unsigned int  size,
char *  buffer,
bool  EnableMemoryMappedIO,
std::ios::openmode  Mode,
const char *  BufferFilname = (const char *) NULL 
)

◆ ~FrameFile() [2/3]

virtual FrameFile::~FrameFile ( )
virtual

◆ FrameFile() [3/3]

FrameFile::FrameFile ( const std::string &  Filename,
unsigned int  size,
char *  buffer,
bool  EnableMemoryMappedIO,
std::ios::openmode  Mode,
const char *  BufferFilname = (const char *) NULL 
)

◆ ~FrameFile() [3/3]

virtual FrameFile::~FrameFile ( )
virtual

Member Function Documentation

◆ check_if_dir() [1/3]

void FrameFile::check_if_dir ( const std::string &  Filename) const
private

◆ check_if_dir() [2/3]

void FrameFile::check_if_dir ( const std::string &  Filename) const
private

◆ check_if_dir() [3/3]

void FrameFile::check_if_dir ( const std::string &  Filename) const
private

◆ error() [1/3]

void FrameFile::error ( ) const
private

◆ error() [2/3]

void FrameFile::error ( ) const
private

◆ error() [3/3]

void FrameFile::error ( ) const
private

◆ finish() [1/3]

void FrameFile::finish ( )
inlineprotected
Todo:
Need to understand why this causes instability in the frameAPI. Use libumem to quickly raise the issue.

◆ finish() [2/3]

void FrameFile::finish ( )
protected

◆ finish() [3/3]

void FrameFile::finish ( )
protected

◆ GetFilename() [1/3]

const std::string & FrameFile::GetFilename ( ) const
inline

ret: const std::string& - Name of the file

◆ GetFilename() [2/3]

const std::string & FrameFile::GetFilename ( ) const

◆ GetFilename() [3/3]

const std::string & FrameFile::GetFilename ( ) const

Member Data Documentation

◆ m_buffer

boost::shared_array< char > FrameFile::m_buffer
private

◆ m_filename

const std::string FrameFile::m_filename
private

◆ m_finished

bool FrameFile::m_finished
private

◆ m_frame_buf

FrameCPP::Common::FrameBuffer< filebuf > * FrameFile::m_frame_buf
protected

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