This class holds informations about all the columns in line and relationships beteewn them.
More...
#include <newlinemanager.h>
|
| NewLineManager (CanRawSender *q, bool _simulationState, NLMFactoryInterface &factory) |
| constructor
|
|
QWidget * | GetColsWidget (ColNameIterator name) |
| The function return information about an appropriate column.
|
|
void | SetSimulationState (bool state) |
| The function is responsible for set simulation state. The state influence for sending frame out and the internal timer (if was started before)
|
|
void | Line2Json (QJsonObject &json) const |
| The function is responsible for convert line content to json format.
|
|
bool | RestoreLine (QString &id, QString data, bool remote, QString interval, bool loop, bool send) |
| The function is responsible for restore line content from config.
|
|
This class holds informations about all the columns in line and relationships beteewn them.
◆ ColNameIterator
Iterator through ColName content.
◆ ColName
Enumerator |
---|
IdLine | |
DataLine | |
RemoteCheckBox | |
LoopCheckBox | |
IntervalLine | |
SendButton | |
◆ NewLineManager()
constructor
Create new line manager class
- Parameters
-
[in] | q | Pointer to CanRawSender class |
[in] | _simulationState | Actual simulation state |
[in] | factory | Reference to the factory interface |
- Exceptions
-
◆ GetColsWidget()
The function return information about an appropriate column.
- Parameters
-
[in] | name | Column name iterator |
- Returns
- QWidget pointer to the column information, nullptr otherwise
◆ Line2Json()
void NewLineManager::Line2Json |
( |
QJsonObject & |
json | ) |
const |
The function is responsible for convert line content to json format.
- Parameters
-
◆ RestoreLine()
bool NewLineManager::RestoreLine |
( |
QString & |
id, |
|
|
QString |
data, |
|
|
bool |
remote, |
|
|
QString |
interval, |
|
|
bool |
loop, |
|
|
bool |
send |
|
) |
| |
The function is responsible for restore line content from config.
- Parameters
-
[in] | id | Id string |
[in] | data | Data string |
[in] | interval | Interval string |
[in] | loop | Loop enable state |
- Returns
- true if new line is adopted all input data successfully, false otherwise
◆ SetSimulationState()
void NewLineManager::SetSimulationState |
( |
bool |
state | ) |
|
The function is responsible for set simulation state. The state influence for sending frame out and the internal timer (if was started before)
- Parameters
-
[in] | state | Actual simulator state |
The documentation for this class was generated from the following files: