Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
iv::gui::factory::SheetModelTanksFactory Class Reference

#include <SheetModelTanksFactory.hpp>

Inheritance diagram for iv::gui::factory::SheetModelTanksFactory:
[legend]
Collaboration diagram for iv::gui::factory::SheetModelTanksFactory:
[legend]

Static Public Member Functions

static std::shared_ptr< AbstractSheetModelcreateSheetModelTanks ()
 
static void updateCSheetModelTanks (const std::shared_ptr< AbstractSheetModel > &sheetModel)
 
static void addRowToCSheetModelTanks (const std::shared_ptr< AbstractSheetModel > &sheetModel, const iv::gui::sheets::RowId &rowId)
 
static std::string getSheetModelTanksColumnName (iv::gui::sheets::ColumnId columnId, bool shortName=true)
 
static uint64_t getSheetModelTanksColumnWidth (iv::gui::sheets::ColumnId columnId)
 
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< AbstractSheetModelcreateCSheetModelTankCalibrationTable (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)
 

Static Public Attributes

static const int32_t kDefaultLanguageColumnPosition = 9
 
static const int32_t kNoId = 0
 

Member Function Documentation

◆ addColumnDefinitionToSheetModel()

void CSheetModelFactory::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 )
staticinherited

◆ addCommonCellDefinitionListeners()

void CSheetModelFactory::addCommonCellDefinitionListeners ( iv::gui::sheets::CellDefinition & cellDefinition)
staticinherited

◆ addRowDefinitionToSheetModel()

void CSheetModelFactory::addRowDefinitionToSheetModel ( const std::shared_ptr< AbstractSheetModel > & sheetModel,
const iv::gui::sheets::RowId & rowId,
uint32_t rowPosition,
bool isVisible )
staticinherited

◆ addRowToCSheetModelTankCalibrationTable()

void CSheetModelFactory::addRowToCSheetModelTankCalibrationTable ( const std::shared_ptr< iv::tanks::TrimCalibrationData > & calibrationDataRef,
const std::shared_ptr< AbstractSheetModel > & sheetModel,
const iv::gui::sheets::RowId & rowId )
staticinherited

◆ addRowToCSheetModelTanks()

void iv::gui::factory::SheetModelTanksFactory::addRowToCSheetModelTanks ( const std::shared_ptr< AbstractSheetModel > & sheetModel,
const iv::gui::sheets::RowId & rowId )
static

◆ createCSheetModelTankCalibrationTable()

std::shared_ptr< AbstractSheetModel > CSheetModelFactory::createCSheetModelTankCalibrationTable ( const std::shared_ptr< iv::tanks::TankCalibrationData > & calibrationDataRef,
double * selectedTrim )
staticinherited

◆ createSheetModelTanks()

std::shared_ptr< AbstractSheetModel > iv::gui::factory::SheetModelTanksFactory::createSheetModelTanks ( )
static

◆ findLowerBoundRow()

bool CSheetModelFactory::findLowerBoundRow ( const std::shared_ptr< AbstractSheetModel > & sheetModel,
const iv::gui::sheets::RowId & rowIdReference,
iv::gui::sheets::RowId * resultRowId )
staticinherited

Finds the first row that is not considered to go before rowIdReference (i.e., either it is equivalent or goes after).

Parameters
[in]sheetModelAbstractSheetModel to work with
[in]rowIdReferenceRow (unitId, channelId) as a reference in the search. #param[out] resultRowId First row that is not considered to go before rowIdReference.

◆ findLowerBoundRowCheckingInAscendingPositionOrder()

bool CSheetModelFactory::findLowerBoundRowCheckingInAscendingPositionOrder ( const std::shared_ptr< AbstractSheetModel > & sheetModel,
const iv::gui::sheets::RowId & rowIdReference,
iv::gui::sheets::RowId * resultRowId )
staticinherited

◆ getCSheetModelTankCalibrationTableColumnName()

std::string CSheetModelFactory::getCSheetModelTankCalibrationTableColumnName ( iv::gui::sheets::ColumnId columnId,
bool shortName = true )
staticinherited

◆ getSheetModelTanksColumnName()

std::string iv::gui::factory::SheetModelTanksFactory::getSheetModelTanksColumnName ( iv::gui::sheets::ColumnId columnId,
bool shortName = true )
static

◆ getSheetModelTanksColumnWidth()

uint64_t iv::gui::factory::SheetModelTanksFactory::getSheetModelTanksColumnWidth ( iv::gui::sheets::ColumnId columnId)
static

◆ prvCreateButtonCellDefinition()

iv::gui::sheets::CellDefinition CSheetModelFactory::prvCreateButtonCellDefinition ( const std::string & text)
staticinherited

◆ removeColumnDefinitionFromSheetModel()

void CSheetModelFactory::removeColumnDefinitionFromSheetModel ( const std::shared_ptr< AbstractSheetModel > & sheetModel,
const iv::gui::sheets::ColumnId & columnId )
staticinherited

◆ removeRow()

void CSheetModelFactory::removeRow ( const std::shared_ptr< AbstractSheetModel > & sheetModel,
const iv::gui::sheets::RowId & rowId )
staticinherited

◆ updateCSheetModelTankCalibrationTable()

void CSheetModelFactory::updateCSheetModelTankCalibrationTable ( const std::shared_ptr< AbstractSheetModel > & sheetModel,
const std::shared_ptr< iv::tanks::TrimCalibrationData > & calibrationDataRef )
staticinherited

◆ updateCSheetModelTanks()

void iv::gui::factory::SheetModelTanksFactory::updateCSheetModelTanks ( const std::shared_ptr< AbstractSheetModel > & sheetModel)
static

◆ updateRowTitles()

void CSheetModelFactory::updateRowTitles ( const std::shared_ptr< AbstractSheetModel > & sheetModel)
staticinherited

Member Data Documentation

◆ kDefaultLanguageColumnPosition

const int32_t CSheetModelFactory::kDefaultLanguageColumnPosition = 9
inlinestaticinherited

◆ kNoId

const int32_t CSheetModelFactory::kNoId = 0
inlinestaticinherited

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