ACQ2XX_API
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
DataStreamer Class Reference

#include <DataStreamer.h>

Inheritance diagram for DataStreamer:
ConcreteDataStreamer< T >

Public Member Functions

virtual ~DataStreamer ()
virtual int streamData ()=0
virtual int addFrameHandler (FrameHandler *handler)=0
virtual int delFrameHandler (FrameHandler *handler)=0

Static Public Member Functions

static DataStreamercreate (Acq2xx &card, const AcqType &acqType)
static FrameHandlercreateMeanHandler (const AcqType &acqType, bool format_hex=0)
static FrameHandlercreateTagHandler (int detail)
static FrameHandlercreateNewlineHandler ()

Protected Member Functions

 DataStreamer (Acq2xx &_card, const AcqType &_acqType)

Protected Attributes

Acq2xxcard
const AcqTypeacqType

Detailed Description

Definition at line 40 of file DataStreamer.h.


Constructor & Destructor Documentation

DataStreamer::DataStreamer ( Acq2xx _card,
const AcqType _acqType 
) [inline, protected]

Definition at line 46 of file DataStreamer.h.

virtual DataStreamer::~DataStreamer ( ) [inline, virtual]

Definition at line 52 of file DataStreamer.h.


Member Function Documentation

virtual int DataStreamer::addFrameHandler ( FrameHandler handler) [pure virtual]

Implemented in ConcreteDataStreamer< T >.

Referenced by main().

DataStreamer * DataStreamer::create ( Acq2xx card,
const AcqType acqType 
) [static]

@todo .. decide other sizes

Definition at line 211 of file DataStreamer.cpp.

References acqType, card, and AcqType::getWordSize().

Referenced by main().

FrameHandler * DataStreamer::createMeanHandler ( const AcqType acqType,
bool  format_hex = 0 
) [static]

Definition at line 222 of file DataStreamer.cpp.

References format_hex, and AcqType::getWordSize().

Referenced by main().

FrameHandler * DataStreamer::createNewlineHandler ( ) [static]

Definition at line 236 of file DataStreamer.cpp.

Referenced by main().

FrameHandler * DataStreamer::createTagHandler ( int  detail) [static]

Definition at line 231 of file DataStreamer.cpp.

Referenced by main().

virtual int DataStreamer::delFrameHandler ( FrameHandler handler) [pure virtual]

Implemented in ConcreteDataStreamer< T >.

virtual int DataStreamer::streamData ( ) [pure virtual]

Implemented in ConcreteDataStreamer< T >.

Referenced by main().


Field Documentation

const AcqType& DataStreamer::acqType [protected]

Definition at line 44 of file DataStreamer.h.

Referenced by create(), and ConcreteDataStreamer< T >::streamData().

Acq2xx& DataStreamer::card [protected]

Definition at line 43 of file DataStreamer.h.

Referenced by create(), and ConcreteDataStreamer< T >::streamData().


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