DataProvider Class Reference

Base class for all the types of provider of data: TracesProvider,ClustersProvider, EventsProvider, PositionProvider. More...

#include <dataprovider.h>

Inheritance diagram for DataProvider:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 DataProvider (KURL fileUrl)
 Constructor.
virtual void requestData (long startTime, long endTime, QObject *initiator, long startTimeInRecordingUnits=0)
 Triggers the retrieve of the traces included in the time interval given by startTime and endTime.
virtual bool isThreadsRunning ()
 Enables the caller to know if there is any thread running launch by the provider.
 DataProvider (KURL fileUrl)
 Constructor.
virtual void requestData (long startTime, long endTime, QObject *initiator, long startTimeInRecordingUnits=0)
 Triggers the retrieve of the traces included in the time interval given by startTime and endTime.
virtual bool isThreadsRunning ()
 Enables the caller to know if there is any thread running launch by the provider.

Protected Attributes

QString fileName
 The name of the file containing the data provided by this class.

Detailed Description

Base class for all the types of provider of data: TracesProvider,ClustersProvider, EventsProvider, PositionProvider.

Author:
Lynn Hazan


Constructor & Destructor Documentation

DataProvider::DataProvider ( KURL  fileUrl  ) 

Constructor.

Parameters:
fileUrl the url of the file containing the data provided by this class.

DataProvider::DataProvider ( KURL  fileUrl  ) 

Constructor.

Parameters:
fileUrl the url of the file containing the data provided by this class.


Member Function Documentation

virtual void DataProvider::requestData ( long  startTime,
long  endTime,
QObject *  initiator,
long  startTimeInRecordingUnits = 0 
) [inline, virtual]

Triggers the retrieve of the traces included in the time interval given by startTime and endTime.

Parameters:
startTime begining of the time interval from which to retrieve the data.
endTime end of the time interval from which to retreive the data.
initiator instance requesting the data.
startTimeInRecordingUnits begining of the time interval from which to retrieve the data in recording units.

Reimplemented in ClustersProvider, TracesProvider, ClustersProvider, and TracesProvider.

virtual void DataProvider::requestData ( long  startTime,
long  endTime,
QObject *  initiator,
long  startTimeInRecordingUnits = 0 
) [inline, virtual]

Triggers the retrieve of the traces included in the time interval given by startTime and endTime.

Parameters:
startTime begining of the time interval from which to retrieve the data.
endTime end of the time interval from which to retreive the data.
initiator instance requesting the data.
startTimeInRecordingUnits begining of the time interval from which to retrieve the data in recording units.

Reimplemented in ClustersProvider, TracesProvider, ClustersProvider, and TracesProvider.


The documentation for this class was generated from the following files:
Generated on Mon Sep 17 20:47:31 2007 for NeuroScope by  doxygen 1.5.1