tdaq-develop-2025-02-12
ots::DesktopIconTable Class Reference
Inheritance diagram for ots::DesktopIconTable:
ots::TableBase

Classes

struct  DesktopIcon
 

Public Member Functions

void init (ConfigurationManager *configManager)
 Methods.
 
const std::vector< DesktopIconTable::DesktopIcon > & getAllDesktopIcons () const
 
void setAllDesktopIcons (const std::vector< DesktopIconTable::DesktopIcon > &newIcons)
 overwrite dynamically the init result
 
std::string getRemoteURL (ConfigurationManager *configManager, const std::string &localURL) const
 Convert to remote URL assuming port forwarding to primary Gateway Port.
 
- Public Member Functions inherited from ots::TableBase
 TableBase (bool specialTable, const std::string &specialTableName)
 
 TableBase (const std::string &tableName, std::string *accumulatedExceptions=0)
 
virtual ~TableBase (void)
 
void destroy (void)
 
void reset (bool keepTemporaryVersions=false)
 
void deactivate (void)
 
bool isActive (void)
 isActive
 
void print (std::ostream &out=std::cout) const
 always prints active view
 
std::string getTypeId (void)
 
void setupMockupView (TableVersion version)
 
void changeVersionAndActivateView (TableVersion temporaryVersion, TableVersion version)
 
bool isStored (const TableVersion &version) const
 
bool eraseView (TableVersion version)
 
void trimCache (unsigned int trimSize=-1)
 
void trimTemporary (TableVersion targetVersion=TableVersion())
 
TableVersion checkForDuplicate (TableVersion needleVersion, TableVersion ignoreVersion=TableVersion()) const
 
bool diffTwoVersions (TableVersion v1, TableVersion v2, std::stringstream *diffReport=0, std::map< std::string, std::vector< std::string >> *v1ModifiedRecords=0) const
 
const std::string & getTableName (void) const
 Getters.
 
const std::string & getTableDescription (void) const
 
std::set< TableVersiongetStoredVersions (void) const
 
const TableViewgetView (TableVersion version=TableVersion(TableVersion::INVALID)) const
 
TableViewgetViewP (TableVersion version=TableVersion(TableVersion::INVALID))
 
TableViewgetMockupViewP (void)
 
const TableVersiongetViewVersion (void) const
 always the active one
 
TableViewgetTemporaryView (TableVersion temporaryVersion)
 
TableVersion getNextTemporaryVersion (void) const
 
TableVersion getNextVersion (void) const
 
virtual std::string getStructureStatusAsJSON (ConfigurationManager *configManager) const
 
void setTableName (const std::string &tableName)
 Setters.
 
void setTableDescription (const std::string &tableDescription)
 
bool setActiveView (TableVersion version)
 
TableVersion copyView (const TableView &sourceView, TableVersion destinationVersion, const std::string &author, bool looseColumnMatching=false)
 
TableVersion mergeViews (const TableView &sourceViewA, const TableView &sourceViewB, TableVersion destinationVersion, const std::string &author, const std::string &mergeApproach, std::map< std::pair< std::string, std::string >, std::string > &uidConversionMap, std::map< std::pair< std::string, std::pair< std::string, std::string > >, std::string > &groupidConversionMap, bool fillRecordConversionMaps, bool applyRecordConversionMaps, bool generateUniqueDataColumns=false, std::stringstream *mergeRepoert=nullptr)
 
TableVersion createTemporaryView (TableVersion sourceViewVersion=TableVersion(), TableVersion destTemporaryViewVersion=TableVersion::getNextTemporaryVersion())
 source of -1, from MockUp, else from valid view version More...
 
bool latestAndMockupColumnNumberMismatch (void) const
 
unsigned int getNumberOfStoredViews (void) const
 

Static Public Attributes

static const std::string COL_NAME = "IconName"
 
static const std::string COL_STATUS = TableViewColumnInfo::COL_NAME_STATUS
 
static const std::string COL_CAPTION = "Caption"
 
static const std::string COL_ALTERNATE_TEXT = "AlternateText"
 
static const std::string COL_FORCE_ONLY_ONE_INSTANCE = "ForceOnlyOneInstance"
 
static const std::string COL_PERMISSIONS = "RequiredPermissionLevel"
 
static const std::string COL_IMAGE_URL = "ImageURL"
 
static const std::string COL_WINDOW_CONTENT_URL = "WindowContentURL"
 
static const std::string COL_APP_LINK = "LinkToApplicationTable"
 
static const std::string COL_APP_LINK_UID = "LinkToApplicationUID"
 
static const std::string COL_PARAMETER_LINK = "LinkToParameterTable"
 
static const std::string COL_PARAMETER_LINK_GID = "LinkToParameterGroupID"
 
static const std::string COL_FOLDER_PATH = "FolderPath"
 
static const std::string COL_PARAMETER_GID = "windowParameterGroupID"
 
static const std::string COL_PARAMETER_KEY = "windowParameterKey"
 
static const std::string COL_PARAMETER_VALUE = "windowParameterValue"
 
static const std::string ICON_TABLE
 
static const std::string PARAMETER_TABLE = "DesktopWindowParameterTable"
 
static const std::string COL_APP_ID = "Id"
 XDAQ App Column names.
 
- Static Public Attributes inherited from ots::TableBase
static const std::string GROUP_CACHE_PREPEND = "GroupCache_"
 
static const std::string JSON_DOC_PREPEND = "JSONDoc_"
 

Additional Inherited Members

- Static Public Member Functions inherited from ots::TableBase
static std::string convertToCaps (std::string &str, bool isConfigName=false)
 
- Public Attributes inherited from ots::TableBase
const unsigned int MAX_VIEWS_IN_CACHE
 
- Protected Attributes inherited from ots::TableBase
std::string tableName_
 
std::string tableDescription_
 
TableViewactiveTableView_
 
TableView mockupTableView_
 
std::map< TableVersion, TableViewtableViews_
 

Detailed Description

Definition at line 10 of file DesktopIconTable.h.

Member Data Documentation

◆ COL_NAME

const std::string DesktopIconTable::COL_NAME = "IconName"
static

DesktopIconTable Column names

Definition at line 37 of file DesktopIconTable.h.

◆ ICON_TABLE

const std::string DesktopIconTable::ICON_TABLE
static
Initial value:
=
ConfigurationManager::DESKTOP_ICON_TABLE_NAME

Definition at line 55 of file DesktopIconTable.h.


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