MAK Data Logger API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
lgrBaseSqlExporter.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 1992-2025 MAK Technologies, Inc
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
9 #ifndef lgrBaseSqlExporter_H_
10 #define lgrBaseSqlExporter_H_
11 
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  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
int myThreshold
Definition: lgrBaseSqlExporter.h:64
#define DT_DLL_SQLEXPORTER
Definition: lgrSqlExporter.h:19
The class which holds the export settings.
Definition: lgrSqlExportSettings.h:21
DtSqlExportSettings * mySettings
Definition: lgrBaseSqlExporter.h:63
Abstract interface for a packet printer class.
Definition: lgrPacketPrinter.h:25
A generic packed of typed binary data.
Definition: packet.h:41
DtOutputStream * myOutputLog
Definition: lgrBaseSqlExporter.h:65
DtDatabaseInterface is an interface object accessing and modifying a database.
Definition: databaseInterface.h:29
DtDatabaseInterface * myDatabaseInterface
Definition: lgrBaseSqlExporter.h:62
Contains MAKLogger.
Definition: lgrBaseSqlExporter.h:22
Contains MAKLogger::DtLgrPacketPrinter class.

Document ID: Generated on Thu Dec 18 15:35:09 EST 2025 from SVN revision 282494
Copyright © 2024 MAK Technologies. All Rights Reserved (www.mak.com)