![]() |
VR-Forces Developer's Guide
|
This is the default database connection that is used if database logging is disabled or no connection is configured. Does not establish a connection or record any database events.

Public Member Functions | |
| virtual | ~DtVrfNoDatabaseConnection () override |
Public Member Functions inherited from DtVrfDatabaseConnection | |
| virtual | ~DtVrfDatabaseConnection () |
| virtual bool | initialize (const DtRwDatabaseLoggerConfig &config, DtVrfDatabaseLoggerInterface *dbLogger) |
| virtual void | run () |
Static Public Member Functions | |
| static DtVrfDatabaseConnection * | create () |
| static DtString | type () |
Protected Member Functions | |
| DtVrfNoDatabaseConnection () | |
| virtual bool | processConfiguration (const DtRwDatabaseLoggerConfig &config) override |
| virtual bool | connect () override |
| virtual bool | createDatabase () override |
| virtual bool | createTableForEvent (const DtVrfDatabaseEvent &event) override |
| virtual bool | insertOrIgnoreEntriesForEvents (const DtVrfDatabaseEventVector &events) override |
| virtual bool | insertOrUpdateEntriesForEvents (const DtVrfDatabaseEventVector &events) override |
| virtual bool | updateEntryForEvent (const DtVrfDatabaseEvent &event) override |
Protected Member Functions inherited from DtVrfDatabaseConnection | |
| DtVrfDatabaseConnection () | |
| virtual bool | stop () |
| virtual std::string | escapeString (std::string str) |
Private Member Functions | |
| DtVrfNoDatabaseConnection (const DtVrfNoDatabaseConnection &other) | |
| DtVrfNoDatabaseConnection & | operator= (const DtVrfNoDatabaseConnection &other) |
Additional Inherited Members | |
Protected Attributes inherited from DtVrfDatabaseConnection | |
| DtVrfDatabaseLoggerInterface * | myDatabaseLogger |
| double | myLogPeriod |
| std::unique_ptr< std::thread > | myThread |
| std::vector< bool > | myCreatedTables |
| std::atomic< bool > | myTimeToStop |
| std::atomic< bool > | myStopped |
| LogToDatabaseTask * | myTask |
|
inlineoverridevirtual |
Destructor.
|
inlineprotected |
Constructor.
|
private |
Copy Constructor not implemented – Do Not copy.
|
inlinestatic |
Creator function for this class. Should not generally be called directly. Database Connection should be crated by the DtVrfDatabaseLoggerCreator.
|
inlinestatic |
Type of this connection.
|
inlineoverrideprotectedvirtual |
Processes the configuration for this connection.
Reimplemented from DtVrfDatabaseConnection.
|
inlineoverrideprotectedvirtual |
Connect to the server.
Implements DtVrfDatabaseConnection.
|
inlineoverrideprotectedvirtual |
Creates the database.
Implements DtVrfDatabaseConnection.
|
inlineoverrideprotectedvirtual |
Creates a table a database table, if necessary.
Implements DtVrfDatabaseConnection.
|
inlineoverrideprotectedvirtual |
Logs the given events to the database. NOTE: All events in the list must be of the same event type!
Implements DtVrfDatabaseConnection.
|
inlineoverrideprotectedvirtual |
Logs the given events to the database. NOTE: All events in the list must be of the same event type!
Implements DtVrfDatabaseConnection.
|
inlineoverrideprotectedvirtual |
Updates the given event in the database.
Implements DtVrfDatabaseConnection.
|
private |
Assignment Operator not implemented – Do Not copy.