Bitstream Interpretation Library (BIL)  0.1
Public Member Functions
bil::CfgExtractor Class Reference

Extracts data from configuration. More...

#include <correlation/cfgextraction/CfgExtractor.hpp>

Inheritance diagram for bil::CfgExtractor:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual ~CfgExtractor ()
 Destructs a CfgExtractor instance.
virtual size_t getDataWordCount (unsigned row, unsigned column) const =0
 Gets number of associated data words of a distinct tile.
virtual size_t getDataWords (unsigned row, unsigned column, boost::uint32_t *data, size_t dataWordCount) const =0
 Gets associated data words of a distinct tile.

Detailed Description

Extracts data from configuration.

This base class provides an interface for extracting data belonging to a distinct tile out of the whole device configuration data.

Definition at line 22 of file CfgExtractor.hpp.


Constructor & Destructor Documentation

CfgExtractor::~CfgExtractor ( )
virtual

Destructs a CfgExtractor instance.

Definition at line 11 of file CfgExtractor.cpp.


Member Function Documentation

virtual size_t bil::CfgExtractor::getDataWordCount ( unsigned  row,
unsigned  column 
) const
pure virtual

Gets number of associated data words of a distinct tile.

Parameters:
rowRow position of tile.
columnColumn position of tile.
Returns:
The number of data words.

Implemented in bil::V5CfgExtractor.

virtual size_t bil::CfgExtractor::getDataWords ( unsigned  row,
unsigned  column,
boost::uint32_t *  data,
size_t  dataWordCount 
) const
pure virtual

Gets associated data words of a distinct tile.

Parameters:
rowRow position of tile.
columnColumn position of tile.
dataPointer to buffer for data words.
dataWordCountSize of data word buffer.
Returns:
The number of retrieved data words.
Exceptions:
.

Implemented in bil::V5CfgExtractor.


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