|
static std::shared_ptr< AbstractSheetModel > | createSheetModelDataFlow (const std::shared_ptr< iv::types::networkId > &selectedNetworkId, const std::shared_ptr< iv::eLanguage > &language) |
| Factory method to create a SheetModelDataFlow object.
|
|
static void | updateSheetModelDataFlow (const std::shared_ptr< AbstractSheetModel > &sheetModel, const iv::types::networkId &networkId) |
| Updates the SheetModelDataFlow object with the new data.
|
|
static void | addRowToSheetModelDataFlow (const std::shared_ptr< AbstractSheetModel > &sheetModel, const iv::gui::sheets::RowId &rowId, const iv::types::networkId &networkId) |
| Adds a row to the SheetModelDataFlow object.
|
|
static std::string | getSheetModelDataFlowColumnName (iv::gui::sheets::ColumnId columnId, iv::comms::eProtocolType protocolType) |
| Gets the column name for the SheetModelDataFlow object.
|
|
static std::string | getSheetModelDataFlowParameterName (iv::gui::sheets::ColumnId columnId, iv::comms::eProtocolType protocolType, bool shortName) |
| Gets the parameter name for the SheetModelDataFlow object.
|
|
static uint16_t | getSheetModelDataFlowColumnWidth (iv::gui::sheets::ColumnId columnId, iv::comms::eProtocolType protocolType) |
| Gets the column width for the SheetModelDataFlow object.
|
|
static void | addColumnDefinitionToSheetModel (const std::shared_ptr< AbstractSheetModel > &sheetModel, const iv::gui::sheets::ColumnId &columnId, uint32_t columnPosition, const std::string &columnTitle, const std::string &columnTooltip, uint16_t columnWidth, bool isVisible) |
|
static void | removeColumnDefinitionFromSheetModel (const std::shared_ptr< AbstractSheetModel > &sheetModel, const iv::gui::sheets::ColumnId &columnId) |
|
static void | addCommonCellDefinitionListeners (iv::gui::sheets::CellDefinition &cellDefinition) |
|
static void | addRowDefinitionToSheetModel (const std::shared_ptr< AbstractSheetModel > &sheetModel, const iv::gui::sheets::RowId &rowId, uint32_t rowPosition, bool isVisible) |
|
static bool | findLowerBoundRow (const std::shared_ptr< AbstractSheetModel > &sheetModel, const iv::gui::sheets::RowId &rowIdReference, iv::gui::sheets::RowId *resultRowId) |
|
static void | removeRow (const std::shared_ptr< AbstractSheetModel > &sheetModel, const iv::gui::sheets::RowId &rowId) |
|
static void | updateRowTitles (const std::shared_ptr< AbstractSheetModel > &sheetModel) |
|
static bool | findLowerBoundRowCheckingInAscendingPositionOrder (const std::shared_ptr< AbstractSheetModel > &sheetModel, const iv::gui::sheets::RowId &rowIdReference, iv::gui::sheets::RowId *resultRowId) |
|
static std::shared_ptr< AbstractSheetModel > | createCSheetModelTankCalibrationTable (const std::shared_ptr< iv::tanks::TankCalibrationData > &calibrationDataRef, double *selectedTrim) |
|
static void | updateCSheetModelTankCalibrationTable (const std::shared_ptr< AbstractSheetModel > &sheetModel, const std::shared_ptr< iv::tanks::TrimCalibrationData > &calibrationDataRef) |
|
static void | addRowToCSheetModelTankCalibrationTable (const std::shared_ptr< iv::tanks::TrimCalibrationData > &calibrationDataRef, const std::shared_ptr< AbstractSheetModel > &sheetModel, const iv::gui::sheets::RowId &rowId) |
|
static std::string | getCSheetModelTankCalibrationTableColumnName (iv::gui::sheets::ColumnId columnId, bool shortName=true) |
|
static iv::gui::sheets::CellDefinition | prvCreateButtonCellDefinition (const std::string &text) |
|
The SheetModelDataFlowFactory class. It contains the methods to create, update and add rows to the Data Flow's sheet model.