新增了PQDIF补招线程,导入了新的lib库
This commit is contained in:
79
LFtid1056/pqdif/include/pqdfacty.h
Normal file
79
LFtid1056/pqdif/include/pqdfacty.h
Normal file
@@ -0,0 +1,79 @@
|
||||
// File name: $Workfile: pqdfacty.h $
|
||||
// Last modified: $Modtime: 2/09/98 4:18p $
|
||||
// Last modified by: $Author: Rob $
|
||||
//
|
||||
// VCS archive path: $Archive: /Hank/DMM/FirmWare/Level3/ObDatMgr/pqdfacty.h $
|
||||
// VCS revision: $Revision: 5 $
|
||||
|
||||
#include "pqdif_lg.h"
|
||||
|
||||
// Interface declarations
|
||||
class CPQDIF_StreamIO;
|
||||
class CPQDIF_StreamProcessor;
|
||||
class CPQDIF_Element;
|
||||
class IPQDIF_Importer;
|
||||
|
||||
// Parameters
|
||||
enum PF_PersistController
|
||||
{
|
||||
PFPC_FlatFile,
|
||||
PFPC_HCOM // Hank DMM (550x) implementation
|
||||
};
|
||||
|
||||
enum PF_StreamIO
|
||||
{
|
||||
PSIO_FlatFile,
|
||||
PSIO_Chunk,
|
||||
PSIO_HCOM // Hank DMM (550x) implementation
|
||||
};
|
||||
|
||||
enum PF_Record
|
||||
{
|
||||
PFR_Record,
|
||||
PFR_Container,
|
||||
PFR_DataSource,
|
||||
PFR_MonitorSettings,
|
||||
PFR_Observation
|
||||
};
|
||||
|
||||
|
||||
class CPQDIF_Factory
|
||||
{
|
||||
public:
|
||||
CPQDIF_Factory();
|
||||
~CPQDIF_Factory();
|
||||
|
||||
// Attributes
|
||||
public:
|
||||
|
||||
// Operations
|
||||
public:
|
||||
#ifndef _PQDIF_NO_PERSIST_CONTROLLER
|
||||
CPQDIF_PersistController * NewPersistController( PF_PersistController which );
|
||||
#endif
|
||||
|
||||
CPQDIF_StreamIO * NewStreamIO( PF_StreamIO which );
|
||||
CPQDIF_StreamProcessor * NewStreamProcessor( long which );
|
||||
|
||||
CPQDIF_Element * NewElement( long which );
|
||||
|
||||
CPQDIFRecord * NewRecord( PF_Record which );
|
||||
CPQDIF_R_Observation * NewObservationWrapper
|
||||
(
|
||||
CPQDIFRecord * precBase,
|
||||
CPQDIFRecord * precDataSource
|
||||
);
|
||||
CPQDIF_R_Observation * NewObservationWrapper2
|
||||
(
|
||||
CPQDIFRecord * precBase,
|
||||
CPQDIFRecord * precDataSource,
|
||||
CPQDIFRecord * precSettings
|
||||
);
|
||||
|
||||
// Implementation
|
||||
protected:
|
||||
};
|
||||
|
||||
|
||||
// The one and only factory object (Singleton)
|
||||
extern CPQDIF_Factory theFactory;
|
||||
Reference in New Issue
Block a user