Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

FileSystemImageSource Class Reference

Extends FileSystemDataSource to decompress image data. More...

#include <FileSystemImageSource.h>

Inheritance diagram for FileSystemImageSource:

Detailed Description

Extends FileSystemDataSource to decompress image data.

Definition at line 8 of file FileSystemImageSource.h.

List of all members.

Classes

class  ImageInfo
 extends FileInfo to provide image decompression and some additional fields for image meta-data More...

Public Member Functions

 FileSystemImageSource (LoggedDataDriver &p, const std::string &filter)
 constructor

Public Attributes

plist::Primitive< int > layer
 Controls the resolution layer at which the image should be processed.

Protected Member Functions

bool sendData ()
 Gives the data referenced by curfile to the simulator.
virtual void enqueueFile (const std::string &name, double lifetime)
 creates a new entry on files, virtual to allow subclasses to use a FileInfo subclass with more meta data (e.g. see FileSystemImageSource::ImageInfo)

Protected Attributes

unsigned int frameNumber

Constructor & Destructor Documentation

FileSystemImageSource ( LoggedDataDriver p,
const std::string &  filter 
)

constructor

Definition at line 11 of file FileSystemImageSource.h.


Member Function Documentation

virtual void enqueueFile ( const std::string &  name,
double  lifetime 
) [protected, virtual]

creates a new entry on files, virtual to allow subclasses to use a FileInfo subclass with more meta data (e.g. see FileSystemImageSource::ImageInfo)

Reimplemented from FileSystemDataSource.

Definition at line 52 of file FileSystemImageSource.h.

bool sendData (  )  [protected, virtual]

Gives the data referenced by curfile to the simulator.

Implements FileSystemDataSource.

Definition at line 44 of file FileSystemImageSource.h.


Member Data Documentation

unsigned int frameNumber [protected]

Definition at line 54 of file FileSystemImageSource.h.

Referenced by sendData().

Controls the resolution layer at which the image should be processed.

0 indicates "automatic" mode (picks layer closest to image's resolution), positive numbers indicate the resolution layer directly.

Negative values are relative to the number of layers marked available by the vision setup, so that typically -1 would correspond to the "double" layer, and -2 would correspond to the "full" layer.

Definition at line 24 of file FileSystemImageSource.h.

Referenced by FileSystemImageSource(), and sendData().


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

Tekkotsu Hardware Abstraction Layer 5.1CVS
Generated Mon May 9 05:01:41 2016 by Doxygen 1.6.3