MAK Data Logger API Documentation for DIS
lgrBaseSqlExporter.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
9 #ifndef lgrBaseSqlExporter_H_
10 #define lgrBaseSqlExporter_H_
11 
12 #include "lgrSqlExporter.h"
13 #include <lgrPacketPrinter.h>
14 
15 class DtOutputStream;
17 
18 namespace MAKLogger
19 {
20  class DtSqlExportSettings;
21 
23  {
24  public:
27 
29  virtual ~DtLgrBaseSqlExporter();
30 
32  static DtString theExportName();
33 
35  DtOutputStream& log() const;
36 
40  DtDatabaseInterface& db();
41 
43 
44  DtSqlExportSettings& settings();
45  const DtSqlExportSettings& settings() const;
47 
48  protected:
50  void printUnknownPacket(const MAKLogger::DtPacket& packet) const;
51 
53  virtual bool connectToDatabase();
54 
56  virtual bool connectedToDatabase();
57 
59  virtual void disconnectFromDatabase();
60 
61  private:
65  DtOutputStream* myOutputLog;
66  };
67 
68 }
69 
70 #endif

Document ID: Generated on Mon Jan 19 08:20:14 EST 2015 from SVN revision 149581
Copyright © 2005-2012 VT MÄK. All Rights Reserved (www.mak.com)