|
void | joinLogLines (std::promise< logs_lines_t > &log_lines, const logs_file_t &logs_file) |
| Reads the selected files and append the resulting lines to the list.
|
|
void | parseLogLines (std::future< logs_lines_t > &log_lines) |
| Parses the lines in the list and stores their data in the data collection.
|
|
void | storeLogLines () |
| Handles the process of storing data in the database.
|
|
bool | storeData (QSqlDatabase &db) |
| Stores the data collection in the logs Collection database.
|
|
◆ joinLogLines()
void CraplogParserAsync::joinLogLines |
( |
std::promise< logs_lines_t > & |
log_lines, |
|
|
const logs_file_t & |
logs_file |
|
) |
| |
|
private |
Reads the selected files and append the resulting lines to the list.
- Exceptions
-
◆ parseLogLines()
void CraplogParserAsync::parseLogLines |
( |
std::future< logs_lines_t > & |
log_lines | ) |
|
|
private |
Parses the lines in the list and stores their data in the data collection.
- Exceptions
-
◆ storeData()
bool CraplogParserAsync::storeData |
( |
QSqlDatabase & |
db | ) |
|
|
private |
Stores the data collection in the logs Collection database.
- Parameters
-
db | A database instance, already initizlized |
- Returns
- Whether the operation has been successful or not
- Exceptions
-
◆ storeLogLines()
void CraplogParserAsync::storeLogLines |
( |
| ) |
|
|
private |
Handles the process of storing data in the database.
- See also
- storeData()
The documentation for this class was generated from the following files:
- logdoctor/modules/craplog/modules/workers/parser_async.h
- logdoctor/modules/craplog/modules/workers/parser_async.cpp