importexport/impexpdevice/orimpexpdevice_device.h
#ifndef __ORIMPEXP_DEVICE_DEVICE_H__
#define __ORIMPEXP_DEVICE_DEVICE_H__
#define ORDEVICEEXPORT__CLASSNAME ORDeviceExport
#define ORDEVICEEXPORT__CLASSSTR "ORDeviceExport"
class ORDeviceExport : public FBDevice
{
public:
virtual bool FBCreate();
virtual void FBDestroy();
virtual bool DeviceOperation ( kDeviceOperations pOperation );
virtual bool DeviceEvaluationNotify ( kTransportMode pMode,FBEvaluateInfo* pEvaluateInfo );
bool Start ();
bool Stop ();
public:
void ExportEvaluation ( FBModel* pModel );
double GetExportRate () { return mExportRate; }
void SetExportRate (double pRate) { mExportRate = pRate; }
const char* GetExportFilename () { return mExportFilename; }
void SetExportFilename (const char* pFile) { mExportFilename = pFile; }
public:
private:
FBString mExportFilename;
double mExportRate;
bool mFileOpen;
};
#endif