1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73
|
// OutputProcessor1.cpp: implementation of the OutputProcessor1 class.
//
//////////////////////////////////////////////////////////////////////
#include "StdAfx.h"
#ifndef _WIN32
#include <fstream>
#elif _MSC_VER > 1300
#include <fstream>
#else
#include <fstream.h>
#endif
#include "PcktParsingProcessor.h"
#include "ParseLine.h"
#include "ParseValue.h"
#include "OutputProc1.h"
#include "Proc_HatRespV1.h"
#include "Proc_LosRespV1.h"
#include "Proc_CollDetSegRespV1.h"
#include "Proc_SensorRespV1.h"
using namespace std;
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
OutputProcessor1::OutputProcessor1()
{
}
OutputProcessor1::~OutputProcessor1()
{
}
void OutputProcessor1::Init(CigiSession *CrntSessionIn,
string &CsvFileNm,
int MajorVer,
int MinorVer)
{
Parsers.push_back((PcktParsingProcessor *)(new Proc_HatRespV1));
Parsers.push_back((PcktParsingProcessor *)(new Proc_LosRespV1));
Parsers.push_back((PcktParsingProcessor *)(new Proc_CollDetSegRespV1));
Parsers.push_back((PcktParsingProcessor *)(new Proc_SensorRespV1));
OutputProcessor::Init(CrntSessionIn, CsvFileNm, MajorVer, MinorVer);
}
|