swift
Signals | Public Member Functions | Static Public Member Functions | List of all members
swift::core::db::CDatabaseWriter Class Reference

Write to the swift DB. More...

Inheritance diagram for swift::core::db::CDatabaseWriter:
[legend]

Signals

void publishedModels (const swift::misc::simulation::CAircraftModelList &modelsPublished, const swift::misc::simulation::CAircraftModelList &modelsSkipped, const swift::misc::CStatusMessageList &messages, bool sendingSuccessful, bool directWrite)
 Published models, the response to. More...
 
void publishedModelsSimplified (const swift::misc::simulation::CAircraftModelList &modelsPublished, bool directWrite)
 Published models, simplified version of publishedModels.
 
void autoPublished (bool success, const QString &url, const swift::misc::CStatusMessageList &msgs)
 Auto publishing completed.
 

Public Member Functions

 CDatabaseWriter (const swift::misc::network::CUrl &baseUrl, QObject *parent)
 Constructor.
 
swift::misc::CStatusMessageList asyncPublishModel (const swift::misc::simulation::CAircraftModel &model, const QString &extraInfo)
 Write model to DB.
 
swift::misc::CStatusMessageList asyncPublishModels (const swift::misc::simulation::CAircraftModelList &models, const QString &extraInfo)
 Write models to DB.
 
swift::misc::CStatusMessageList asyncAutoPublish (const swift::misc::simulation::CAutoPublishData &data)
 Write auto publis data.
 
void gracefulShutdown ()
 Shutdown.
 
bool isShuttingDown () const
 Shutting down?
 
const QString & getName ()
 Name of the worker.
 
const swift::misc::network::CUrlLogListgetWriteLog () const
 Write log.
 

Static Public Member Functions

static const QStringList & getLogCategories ()
 Log categories.
 

Detailed Description

Write to the swift DB.

Definition at line 28 of file databasewriter.h.

Member Function Documentation

◆ publishedModels

void swift::core::db::CDatabaseWriter::publishedModels ( const swift::misc::simulation::CAircraftModelList modelsPublished,
const swift::misc::simulation::CAircraftModelList modelsSkipped,
const swift::misc::CStatusMessageList messages,
bool  sendingSuccessful,
bool  directWrite 
)
signal

Published models, the response to.

See also
asyncPublishModels

The documentation for this class was generated from the following files: