![]() |
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 () |
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) |
| virtual bool | connect () |
| virtual bool | createDatabase () |
| virtual bool | createTableForEvent (const DtVrfDatabaseEvent &event) |
| virtual bool | insertOrIgnoreEntriesForEvents (const DtVrfDatabaseEventVector &events) |
| virtual bool | insertOrUpdateEntriesForEvents (const DtVrfDatabaseEventVector &events) |
| virtual bool | updateEntryForEvent (const DtVrfDatabaseEvent &event) |
Protected Member Functions inherited from DtVrfDatabaseConnection | |
| DtVrfDatabaseConnection () | |
| virtual bool | stop () |
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::vector< bool > | myCreatedTables |
| std::atomic< bool > | myTimeToStop |
| std::atomic< bool > | myStopped |
| LogToDatabaseTask * | myTask |
|
inlinevirtual |
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.
|
inlineprotectedvirtual |
Processes the configuration for this connection.
Reimplemented from DtVrfDatabaseConnection.
|
inlineprotectedvirtual |
Connect to the server.
Implements DtVrfDatabaseConnection.
|
inlineprotectedvirtual |
Creates the database.
Implements DtVrfDatabaseConnection.
|
inlineprotectedvirtual |
Creates a table a database table, if necessary.
Implements DtVrfDatabaseConnection.
|
inlineprotectedvirtual |
Logs the given events to the database. NOTE: All events in the list must be of the same event type!
Implements DtVrfDatabaseConnection.
|
inlineprotectedvirtual |
Logs the given events to the database. NOTE: All events in the list must be of the same event type!
Implements DtVrfDatabaseConnection.
|
inlineprotectedvirtual |
Updates the given event in the database.
Implements DtVrfDatabaseConnection.
|
private |
Assignment Operator not implemented – Do Not copy.