OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
ot Namespace Reference

Namespaces

namespace  app
 
namespace  components
 
namespace  DownloadFile
 
namespace  FolderNames
 
namespace  foundation
 
namespace  intern
 
namespace  json
 Provides helper functions to acces content of json objects and arrays.
 
namespace  msg
 
namespace  net
 
namespace  os
 
namespace  StringToNumericCheck
 
namespace  TableHeaderModeNames
 
namespace  url
 

Classes

class  AbstractLogNotifier
 Used to receive every log message that is generated. More...
 
class  AbstractModelNotifier
 
class  AbstractPlot
 
class  AbstractPlotAxis
 
class  AbstractStatusBar
 
class  AbstractToolBar
 
class  AbstractUiNotifier
 
class  Action
 
class  ActionDispatcher
 The ActionDispatcher is used to dispatch inbound messages and forward them to their corresponding [Action Handler]. More...
 
class  ActionHandleConnectorBase
 Base class for action handler connectors. A action handle connector has a set of actions. More...
 
class  ActionHandler
 
class  ApplicationBase
 
class  ApplicationPropertiesManager
 
class  BasicEntityInformation
 
class  BasicGraphicsIntersectionItem
 The BasicGraphicsIntersectionItem may be used to create intersection items in the graphics view. The BasicGraphicsIntersectionItem does not have any particular logic but is used to setup the correct flags to function as an intersection. More...
 
class  BasicServiceInformation
 The BasicServiceInformation class is used to hold a service name and type. The BasicServiceInformation can be used as a key in a map. More...
 
class  BasicWidgetView
 
class  Border
 The Border class is used to describe a border with four sides. The Border uses integer values. More...
 
class  BorderF
 The BorderF class is used to describe a border with four sides. The BorderF uses floating point values. More...
 
class  CartesianPlot
 
class  CartesianPlotAxis
 
class  CartesianPlotCrossMarker
 
class  CartesianPlotGrid
 
class  CartesianPlotLegend
 
class  CartesianPlotMagnifier
 
class  CartesianPlotPanner
 
class  CartesianPlotPicker
 
class  CartesianPlotTextMarker
 
class  CartesianPlotWidgetCanvas
 
class  CartesianPlotZoomer
 
class  CentralWidgetManager
 
class  CheckBox
 
class  CheckBoxCfg
 
class  CheckerboardPainter2D
 
class  Color
 The Color class is used to represent RGBA colors with integer values. More...
 
class  ColorF
 The ColorF class is used to represent RGBA colors with float values. More...
 
class  ColorPickButton
 
class  ColorPreviewBox
 
class  ColorStyle
 
class  ColorStyleValue
 
class  ComboBox
 
class  ComboButton
 
class  ContextMenu
 
class  ContextMenuAction
 
class  ContextMenuManager
 
class  CopyInformation
 
class  CopyInformationFactory
 
class  CopyInformationFactoryRegistrar
 
class  CreateProjectDialog
 
class  CreateProjectDialogEntry
 
class  CustomGraphicsItem
 
class  DefaultSyntaxHighlighterRules
 
class  DelayedCallHandler
 
class  DelayedShowHideHandler
 
class  Dialog
 
class  DialogCfg
 
class  DockWatcherAction
 
class  DoubleSpinBox
 
class  EncodingConverter_ISO88591ToUTF8
 
class  EncodingConverter_UTF16ToUTF8
 
class  EncodingGuesser
 
class  ErrorWarningLogFrontendNotifier
 Forwards error and warning logs to the frontend if one is connected. More...
 
class  EventNotifierMousePressed
 
class  FactoryRegistrarTemplate
 The FactoryRegistrarTemplate may be used to register a constructor at the factory. More...
 
class  FactoryTemplate
 The FactoryTemplate may be used to quickly create default factories that are only used for item creation without any further logic. More...
 
class  FilePathEdit
 
class  FillPainter2D
 
class  Flags
 The Flags class is a wrapper around a enum that allows bitwise operations (flags). OT_ADD_FLAG_FUNCTIONS or custom bitwise operations must be provided for the enum. The type should be an enumeration where every value represents a single bit in a 32/64 bit value. More...
 
class  Font
 
class  Frontend
 Frontend request layer. The Frontend prvoides a set methods that may be used to send requests to the frontend. More...
 
class  FrontendActionHandler
 The FrontendActionHandler may be used to receive frontend callbacks without deserializing the message. The FrontendActionHandler has multiple action handlers that will deserialize the action and call the corresponding virtual function. More...
 
class  GlobalColorStyle
 
class  GradientPainter2D
 
class  GradientPainterStop2D
 
class  GraphicsArcItem
 
class  GraphicsArcItemCfg
 
class  GraphicsBoxLayoutItem
 
class  GraphicsBoxLayoutItemCfg
 
class  GraphicsConnectionCalculationData
 
class  GraphicsConnectionCfg
 
class  GraphicsConnectionItem
 
class  GraphicsConnectionPackage
 
class  GraphicsConnectionPreviewItem
 
class  GraphicsCopyInformation
 
class  GraphicsElement
 
class  GraphicsEllipseItem
 
class  GraphicsEllipseItemCfg
 
class  GraphicsFlowItem
 
class  GraphicsFlowItemBuilder
 
class  GraphicsFlowItemConnector
 
class  GraphicsGridLayoutItem
 
class  GraphicsGridLayoutItemCfg
 
class  GraphicsGroupItem
 The graphics group item is used to group multiple items into one item. More...
 
class  GraphicsGroupItemCfg
 
class  GraphicsHBoxLayoutItem
 
class  GraphicsHBoxLayoutItemCfg
 
class  GraphicsImageItemCfg
 
class  GraphicsInvisibleItem
 
class  GraphicsInvisibleItemCfg
 
class  GraphicsItem
 Base class for all OpenTwin GraphicsItems GraphicsItems should be created by the GraphicsFactory and be setup from the corresponding configuration. More...
 
class  GraphicsItemCfg
 The GraphicsItemCfg is the base class for all graphics item configurations. More...
 
class  GraphicsItemCfgFactory
 
class  GraphicsItemCfgFactoryRegistrar
 
class  GraphicsItemFactory
 The GraphicsItemFactory is used to create graphics items from their factory name or from a GraphicsItemCfg. More...
 
class  GraphicsItemFactoryRegistrar
 The GraphicsItemFactoryRegistrar is used to register a GraphicsItem constructor at the GraphicsItemFactory. More...
 
class  GraphicsItemFileCfg
 
class  GraphicsItemLoader
 The GraphicsItemLoader may be used to import a GraphicsItemCfg from a file. The imported configuration(s) will be cached. More...
 
class  GraphicsItemPreview
 
class  GraphicsItemPreviewDrag
 
class  GraphicsLayoutItem
 
class  GraphicsLayoutItemCfg
 
class  GraphicsLayoutItemWrapper
 
class  GraphicsLineItem
 
class  GraphicsLineItemCfg
 
class  GraphicsNewEditorPackage
 Package that will be used to create a new graphics editor The name of the editor must be unique. If an editor with the given name already exists, the creation will fail. Note that the request to the UI must be send manually by providing this object (serialized) as the package. More...
 
class  GraphicsPicker
 
class  GraphicsPickerCollectionCfg
 
class  GraphicsPickerCollectionManager
 
class  GraphicsPickerCollectionPackage
 Package that will be used to fill the graphics picker The name of the editor must be unique. If an editor with the given name already exists, the creation will fail. Note that the request to the UI must be send manually by providing this object (serialized) as the package. More...
 
class  GraphicsPickerDockWidget
 
class  GraphicsPickerItemInformation
 
class  GraphicsPickerView
 
class  GraphicsPixmapItem
 
class  GraphicsPolygonItem
 
class  GraphicsPolygonItemCfg
 
class  GraphicsRectangularItem
 
class  GraphicsRectangularItemCfg
 
class  GraphicsScene
 Graphics Scene for ot::GraphicsItem Adding QGraphicsItems to the scene that do not inherit ot::GraphicsItem might lead to undefined behavior. More...
 
class  GraphicsScenePackage
 Package that will be used to add graphics items to an existing scene. Note that the request to the UI must be send manually by providing this object (serialized) as the package. More...
 
class  GraphicsShapeItem
 
class  GraphicsShapeItemCfg
 
class  GraphicsStackItem
 The GraphicsStackItem is used adjust the size of child items marked as slave occording to the naster item sizes. The graphics stack item will calculate the child item size whenever a master item chaged its size. The GraphicsStackItemCfg is used to configure the GraphicsStackItem. More...
 
class  GraphicsStackItemCfg
 
class  GraphicsTextItem
 
class  GraphicsTextItemCfg
 
class  GraphicsTriangleItem
 
class  GraphicsTriangleItemCfg
 
class  GraphicsVBoxLayoutItem
 
class  GraphicsVBoxLayoutItemCfg
 
class  GraphicsView
 View widget used to display GraphicsItems Note that the View creates its own scene. More...
 
class  GraphicsViewView
 
class  Grid
 The Grid describes how a 2D Grid should look and behave like. More...
 
class  GuiAPIManager
 The GuiAPIManager singleton manages the frontend information and provides a message sending method. More...
 
class  IconManager
 The IconManager loads images or animations and caches them. The IconManager has a search path list. When requestiong a file only the subPath (suffix) needs to be provided. When checking every search path and suffix combination the first existing file (FIFO) will be imported. The imported files are stored internally and will returned when requesting the same file. More...
 
class  IDManager
 
class  ImagePainter
 
class  ImagePainterManager
 
class  ImagePreview
 
class  IpConverter
 
class  JsonArray
 JSON Array value. More...
 
class  JsonDocument
 JSON document. More...
 
class  JsonNullValue
 JSON NULL value. More...
 
class  JsonNumber
 
class  JsonObject
 JSON Object value. More...
 
class  JsonString
 JSON String value. More...
 
class  KeySequence
 
class  Label
 
class  LinearGradientPainter2D
 
class  LineEdit
 
class  LineEditCfg
 
class  LogDispatcher
 The LogDispatcher dispatches generated log messages to all registered log notifiers. When a log message is dispatched a timestamp for log messages and then forwards them to any registered log notifier. More...
 
class  LogMessage
 Contains information about the origin and the content of a log message. More...
 
class  LogModeManager
 
class  LogNotifierFileWriter
 
class  LogNotifierStdCout
 Used to write created log messages to std cout in a way a human could read it. More...
 
class  MainWindow
 
class  ManagedGuiObject
 
class  Margins
 
class  MarginsD
 
class  MarginsF
 
class  Math
 
class  MenuButtonCfg
 
class  MenuCfg
 
class  MenuClickableEntryCfg
 
class  MenuEntryCfg
 
class  MenuEntryCfgFactory
 
class  MenuEntryCfgFactoryRegistrar
 
class  MenuSeparatorCfg
 
class  MessageBoxHandler
 
class  MessageBoxManager
 
class  MessageDialog
 
class  MessageDialogCfg
 
class  ModalCommandBase
 
class  ModelAPIManager
 
class  ModelServiceAPI
 
class  NavigationTreeItem
 
class  NavigationTreeItemIcon
 
class  NavigationTreePackage
 
class  NavigationTreeView
 
class  ObjectManagerTemplate
 
class  OnePropertyDialog
 
class  OnePropertyDialogCfg
 
class  OTObject
 
class  Outline
 The Outline class is used to describe how a outline should look like. More...
 
class  OutlineF
 The OutlineF class is used to describe how a outline should look like. More...
 
class  OverlayWidgetBase
 
class  Painter2D
 
class  Painter2DEditButton
 
class  Painter2DEditDialog
 
class  Painter2DEditDialogEntry
 
class  Painter2DEditDialogFillEntry
 
class  Painter2DEditDialogLinearGradientEntry
 
class  Painter2DEditDialogRadialGradientEntry
 
class  Painter2DEditDialogReferenceEntry
 
class  Painter2DFactory
 
class  Painter2DFactoryRegistrar
 
class  Painter2DPreview
 
class  Path2D
 The Path2D class describes a path consisting of different types of lines. More...
 
class  Path2DF
 The Path2DF class describes a path consisting of different types of lines. More...
 
class  PixmapImagePainter
 
class  PlainTextEdit
 
class  PlainTextEditView
 
class  Plot
 
class  Plot1DAxisCfg
 
class  Plot1DCfg
 
class  Plot1DCurveInfoCfg
 
class  Plot1DDataBaseCfg
 
class  PlotDataset
 
class  PlotView
 
class  Point2D
 2D Point with integer values More...
 
class  Point2DD
 2D Point with double values More...
 
class  Point2DF
 2D Point with float values More...
 
class  Point3D
 Three dimensional point. More...
 
class  PolarPlot
 
class  PolarPlotAxis
 
class  PolarPlotData
 
class  PolarPlotGrid
 
class  PolarPlotLegend
 
class  PolarPlotMagnifier
 
class  PolarPlotMarker
 
class  PolarPlotPanner
 
class  PortManager
 The PortManager may be used to determine available ports and store the information about ports occupied by the PortManager. More...
 
class  PortRange
 The PortRange may be used to store a Port range. More...
 
class  Positioning
 
class  ProjectTemplateInformation
 
class  Property
 The Property class is used as a base class for all Properties that can be displayed and modified in the frontend. More...
 
class  PropertyBase
 The PropertyBase class is used to hold general Property information. More...
 
class  PropertyBool
 
class  PropertyColor
 
class  PropertyDialog
 The PropertyDialog is used to edit many property groups. When a property is changed a copy of the property is stored and the propertyChanged signal is emitted. All changed properties can be accessed after the dialog closed. The dialog result is "OK" only when the user pressed Confirm and at least one property has changed. All stored changed properties will be destroyed when the dialog is destroyed. More...
 
class  PropertyDialogCfg
 
class  PropertyDirectory
 
class  PropertyDouble
 
class  PropertyFactory
 
class  PropertyFactoryRegistrar
 
class  PropertyFilePath
 
class  PropertyGrid
 
class  PropertyGridCfg
 
class  PropertyGridGroup
 
class  PropertyGridItem
 
class  PropertyGridItemDelegate
 
class  PropertyGridTree
 
class  PropertyGridView
 
class  PropertyGroup
 
class  PropertyInput
 
class  PropertyInputBool
 
class  PropertyInputColor
 
class  PropertyInputDirectory
 
class  PropertyInputDouble
 
class  PropertyInputFactory
 
class  PropertyInputFactoryRegistrar
 
class  PropertyInputFilePath
 
class  PropertyInputInt
 
class  PropertyInputPainter2D
 
class  PropertyInputString
 
class  PropertyInputStringList
 
class  PropertyInt
 
class  PropertyPainter2D
 
class  PropertyString
 
class  PropertyStringList
 
class  PushButton
 
class  PythonServiceInterface
 
class  QtFactory
 The QtFactory is used to convert OpenTwin configuration objects to Qt objects. More...
 
class  QWidgetInterface
 
class  RadialGradientPainter2D
 
class  Rect
 Rectangle that holds the top left and bottom right corner in int values. More...
 
class  RectD
 Rectangle that holds the top left and bottom right corner in double values. More...
 
class  RectF
 
class  ReturnMessage
 
class  ReturnValues
 
class  RuntimeIntervalTest
 
class  SelectEntitiesDialogCfg
 
class  Serializable
 The Serializable class is the default interface of serializable objects. More...
 
class  ServiceBase
 General service information. The ServiceBase class is used to store the general service information. More...
 
class  ServiceLogNotifier
 
class  SignalBlockWrapper
 The SignalBlockWrapper is a RAII wrapper for blocking signals of a given QObject. More...
 
class  SimpleQueue
 
class  Size2D
 2D Size with integer values More...
 
class  Size2DD
 2D Size with double values More...
 
class  Size2DF
 2D Size with float values More...
 
class  SpinBox
 
class  Splitter
 
class  StatusBarManager
 
class  String
 
class  StringWrapper
 
class  StyledText
 The StyledText is used to manipulate the style when working with the StyledTextBuilder. More...
 
class  StyledTextBuilder
 
class  StyledTextConverter
 
class  StyledTextEntry
 
class  StyledTextStyle
 
class  StyleRefPainter2D
 The StyleRefPainter2D can be used to reference a ColorStyleValue in the active ColorStyle. More...
 
class  StyleValue
 
class  SvgImagePainter
 
class  SyntaxHighlighter
 
class  SyntaxHighlighterRule
 
class  SystemInformation
 
class  Table
 
class  TableCfg
 
class  TableHeaderItemCfg
 
class  TableIndexSchemata
 
class  TableItemDelegate
 
class  TableRange
 
class  TableView
 
class  TabToolBar
 
class  TabToolBarGroup
 
class  TabToolBarPage
 
class  TabToolBarSubGroup
 
class  TabWidget
 
class  TemplateTypeName
 
class  TextEditor
 
class  TextEditorCfg
 
class  TextEditorLineNumberArea
 
class  TextEditorSearchPopup
 
class  TextEditorView
 
class  TextEncoding
 
class  ThisService
 The central service information class of a service. The ThisService is a singleton that should be used by every class to retreive or set the current service information. More...
 
class  ToolButton
 
class  ToolButtonCfg
 
class  ToolTipHandler
 
class  Transform
 General item transformation. More...
 
class  TreeWidget
 
class  TreeWidgetFilter
 
class  TreeWidgetItem
 
class  TreeWidgetItemInfo
 
class  TypeNames
 
class  UIDNamePair
 
class  UserCredentials
 
class  Variable
 
class  VersionGraph
 
class  VersionGraphCfg
 
class  VersionGraphItem
 
class  VersionGraphManager
 
class  VersionGraphManagerView
 
class  VersionGraphVersionCfg
 
class  VisualisationTypes
 
class  Widget
 
class  WidgetBaseCfg
 
class  WidgetBaseCfgFactory
 
class  WidgetBaseCfgFactoryRegistrar
 
class  WidgetManager
 
class  WidgetView
 The WidgetView class is used to integrate the Qt-ADS functionallity into open twin. More...
 
class  WidgetViewBase
 General widget view information class. The WidgetViewBase holds the general information of a WidgetView. More...
 
class  WidgetViewDockManager
 
class  WidgetViewManager
 The widget view manager is used to manage widget views. More...
 

Typedefs

typedef ot::Flags< ot::MessageTypeMessageTypeFlags
 The message types describes how a message should be delivered.
 
using complex = std::complex<double>
 
typedef unsigned short serviceID_t
 ID type used to identify a service (16 bit unsigned integer).
 
typedef unsigned long UID
 Unique identifier (32 bit unsigned integer)
 
typedef std::list< UIDUIDList
 Unique identifier list.
 
using GenericDataStructList = std::list<ot::GenericDataStruct*>
 
typedef rapidjson::SizeType JsonSizeType
 Size type.
 
typedef rapidjson::Value JsonValue
 Writable JSON value.
 
typedef rapidjson::MemoryPoolAllocator< rapidjson::CrtAllocator > JsonAllocator
 Allocator used for writing to JSON values.
 
typedef rapidjson::GenericObject< true, rapidjson::GenericValue< rapidjson::UTF8<>, rapidjson::MemoryPoolAllocator< rapidjson::CrtAllocator > > > ConstJsonObject
 Read only JSON Object.
 
typedef std::list< ConstJsonObjectConstJsonObjectList
 
typedef rapidjson::GenericArray< true, rapidjson::GenericValue< rapidjson::UTF8<>, rapidjson::MemoryPoolAllocator< rapidjson::CrtAllocator > > > ConstJsonArray
 Read only JSON Array.
 
typedef std::list< ConstJsonArrayConstJsonArrayList
 
typedef rapidjson::GenericMemberIterator< true, rapidjson::UTF8<>, rapidjson::MemoryPoolAllocator< rapidjson::CrtAllocator > > JsonMemberIterator
 Read only JSON Object iterator.
 
typedef Flags< LogFlagLogFlags
 
typedef std::list< ot::UIDNamePairUIDNamePairList
 
typedef ot::Flags< LockTypeFlagLockTypeFlags
 
typedef Flags< NavigationTreeItemFlagNavigationTreeItemFlags
 
typedef unsigned short int port_t
 Port number type.
 
typedef Flags< WidgetFlagWidgetFlags
 

Enumerations

enum  ConnectorType { In = 0 , Out = 1 , InOptional = 2 , UNKNOWN = -1 }
 
enum class  ContentChangedHandling : int32_t { ModelServiceSavesNotifyOwner = 0 , OwnerHandles = 1 , ModelServiceSaves = 2 }
 Defines how the model service shall deal with a content changed notification from the ui. Options are to save the changes and notify the owner of the entity, letting the owner handle everything or simply saving the changes without notification. More...
 
enum  MessageType {
  QUEUE = 0x01 , EXECUTE = 0x02 , EXECUTE_ONE_WAY_TLS = 0x04 , SECURE_MESSAGE_TYPES = 0x03 ,
  ALL_MESSAGE_TYPES = 0xFF
}
 The message types describes how a message should be delivered. More...
 
enum  DefaultColor {
  Aqua , Beige , Black , Blue ,
  Chocolate , Coral , Cyan , DarkGray ,
  DarkGreen , DarkOrange , DarkViolet , DodgerBlue ,
  Fuchsia , Gold , Gray , Green ,
  IndianRed , Indigo , Ivory , Khaki ,
  Lavender , Lime , LightGray , Maroon ,
  MidnightBlue , Mint , Navy , Olive ,
  Orange , Orchid , Pink , Plum ,
  Purple , Red , RoyalBlue , Salmon ,
  Sienna , Silver , SlateGray , SkyBlue ,
  SteelBlue , Tan , Teal , Tomato ,
  Transparent , Turquoise , Violet , White ,
  Yellow
}
 Default colors. More...
 
enum  LogFlag {
  NO_LOG = 0 << 0 , INFORMATION_LOG = 1 << 0 , DETAILED_LOG = 1 << 1 , WARNING_LOG = 1 << 2 ,
  ERROR_LOG = 1 << 3 , ALL_GENERAL_LOG_FLAGS = INFORMATION_LOG | DETAILED_LOG | WARNING_LOG | ERROR_LOG , INBOUND_MESSAGE_LOG = 1 << 4 , QUEUED_INBOUND_MESSAGE_LOG = 1 << 5 ,
  ONEWAY_TLS_INBOUND_MESSAGE_LOG = 1 << 6 , ALL_INCOMING_MESSAGE_LOG_FLAGS = INBOUND_MESSAGE_LOG | QUEUED_INBOUND_MESSAGE_LOG | ONEWAY_TLS_INBOUND_MESSAGE_LOG , OUTGOING_MESSAGE_LOG = 1 << 7 , ALL_OUTGOING_MESSAGE_LOG_FLAGS = OUTGOING_MESSAGE_LOG ,
  TEST_LOG = 1 << 8 , ALL_MESSAGE_LOG_FLAGS = ALL_INCOMING_MESSAGE_LOG_FLAGS | ALL_OUTGOING_MESSAGE_LOG_FLAGS , ALL_LOG_FLAGS = ALL_GENERAL_LOG_FLAGS | ALL_MESSAGE_LOG_FLAGS
}
 Log message verbouse level. More...
 
enum class  ColorStyleName { BrightStyle , DarkStyle , BlueStyle }
 Contains default OpenTwin color style names. More...
 
enum class  ColorStyleFileKey {
  NameKey , IntegerKey , DoubleKey , FileKey ,
  PainterKey , SheetKey
}
 Contains color style file keys. The keys are used to determine the beginning of a section in the color style file. More...
 
enum class  ColorStyleFileMacro { RootMacro }
 Contains color style file macros. More...
 
enum class  ColorStyleFileValue { NameValue , PathValue , ValueValue }
 
enum class  ColorStyleBaseFileMacro { PainterMacro , FileMacro , IntMacro , DoubleMacro }
 Contains macros used in the color style base file. More...
 
enum class  ColorStyleFileEntry {
  TransparentIcon = 0 , ArrowUpIcon , ArrowUpDisabledIcon , ArrowUpFocusIcon ,
  ArrowDownIcon , ArrowDownDisabledIcon , ArrowDownFocusIcon , ArrowLeftIcon ,
  ArrowLeftDisabledIcon , ArrowLeftFocusIcon , ArrowRightIcon , ArrowRightDisabledIcon ,
  ArrowRightFocusIcon , TreeBranchClosedIcon , TreeBranchClosedFocusIcon , TreeBranchEndIcon ,
  TreeBranchLineIcon , TreeBranchMoreIcon , TreeBranchOpenIcon , TreeBranchOpenFocusIcon ,
  CheckBoxCheckedIcon , CheckBoxCheckedDisabledIcon , CheckBoxCheckedFocusIcon , CheckBoxCheckedPressedIcon ,
  CheckBoxIndeterminateIcon , CheckBoxIndeterminateDisabledIcon , CheckBoxIndeterminateFocusIcon , CheckBoxIndeterminatePressedIcon ,
  CheckBoxUncheckedIcon , CheckBoxUncheckedDisabledIcon , CheckBoxUncheckedFocusIcon , CheckBoxUncheckedPressedIcon ,
  LogInCheckBoxCheckedIcon , LogInCheckBoxCheckedDisabledIcon , LogInCheckBoxCheckedFocusIcon , LogInCheckBoxCheckedPressedIcon ,
  LogInCheckBoxIndeterminateIcon , LogInCheckBoxIndeterminateDisabledIcon , LogInCheckBoxIndeterminateFocusIcon , LogInCheckBoxIndeterminatePressedIcon ,
  LogInCheckBoxUncheckedIcon , LogInCheckBoxUncheckedDisabledIcon , LogInCheckBoxUncheckedFocusIcon , LogInCheckBoxUncheckedPressedIcon ,
  RadioButtonCheckedIcon , RadioButtonCheckedDisabledIcon , RadioButtonCheckedFocusIcon , RadioButtonUncheckedIcon ,
  RadioButtonUncheckedDisabledIcon , RadioButtonUncheckedFocusIcon , ToolBarMoveHorizontalIcon , ToolBarMoveVerticalIcon ,
  ToolBarSeparatorHorizontalIcon , ToolBarSeparatorVerticalIcon , WindowCloseIcon , WindowCloseDisabledIcon ,
  WindowCloseFocusIcon , WindowClosePressedIcon , WindowGripIcon , WindowUndockIcon ,
  WindowUndockDisabledIcon , WindowUndockFocusIcon , WindowUndockPressedIcon , PropertyItemDeleteIcon ,
  PropertyGroupExpandedIcon , PropertyGroupCollapsedIcon , LogInBackgroundImage , ColorStyleFileEntry_End
}
 Contains default file paths set in a color style. More...
 
enum class  ColorStyleValueEntry {
  Transparent = 0 , WidgetBackground , WidgetAlternateBackground , WidgetForeground ,
  WidgetDisabledBackground , WidgetDisabledForeground , WidgetHoverBackground , WidgetHoverForeground ,
  WidgetSelectionBackground , WidgetSelectionForeground , TitleBackground , TitleForeground ,
  TitleBorder , HeaderBackground , HeaderForeground , HeaderHoverBackground ,
  HeaderHoverForeground , HeaderSelectionBackground , HeaderSelectionForeground , InputBackground ,
  InputForeground , TextEditorLineBorder , TextEditorHighlightBackground , DialogBackground ,
  DialogForeground , WindowBackground , WindowForeground , Border ,
  BorderLight , BorderDisabled , BorderHover , BorderSelection ,
  ToolBarFirstTabBackground , ToolBarFirstTabForeground , GraphicsItemBorder , GraphicsItemConnection ,
  GraphicsItemBackground , GraphicsItemForeground , GraphicsItemSelectionBorder , GraphicsItemHoverBorder ,
  GraphicsItemConnectableBackground , GraphicsItemLineColor , StyledTextHighlight , StyledTextLightHighlight ,
  StyledTextComment , StyledTextWarning , StyledTextError , PythonKeyword ,
  PythonClass , PythonString , PythonFunction , PythonComment ,
  ErrorForeground , ColorStyleValueEntry_End
}
 Contains default painters set in a color style. More...
 
enum class  ColorStyleIntegerEntry { SplitterHandleWidth , SplitterBorderRadius }
 Contains default integer values set in a color style. More...
 
enum class  ColorStyleDoubleEntry { BorderWidth , BorderRadiusBig , BorderRadiusSmall , ToolTipOpacity }
 Contains default double values set in a color style. More...
 
enum  Alignment {
  AlignCenter , AlignTop , AlignTopRight , AlignRight ,
  AlignBottomRight , AlignBottom , AlignBottomLeft , AlignLeft ,
  AlignTopLeft
}
 Alignment. More...
 
enum  Orientation { Horizontal , Vertical }
 Orientation. More...
 
enum  FontFamily {
  Arial , ComicSansMS , Consolas , CourierNew ,
  Georgia , Helvetica , Impact , Palatino ,
  TimesNewRoman , TrebuchetMS , Verdana
}
 Generally available font families. More...
 
enum  SizePolicy { Preferred , Dynamic }
 Size policy for UI elements. More...
 
enum  ConnectionDirection {
  ConnectAny , ConnectLeft , ConnectUp , ConnectRight ,
  ConnectDown , ConnectOut , ConnectIn
}
 Describes in which direction a connetion from an item is starting. More...
 
enum  GradientSpread { PadSpread , RepeatSpread , ReflectSpread }
 Describes how the painter will behave when painting outsite the gradient area. More...
 
enum  BasicKey {
  Key_A , Key_B , Key_C , Key_D ,
  Key_E , Key_F , Key_G , Key_H ,
  Key_I , Key_J , Key_K , Key_L ,
  Key_M , Key_N , Key_O , Key_P ,
  Key_Q , Key_R , Key_S , Key_T ,
  Key_U , Key_V , Key_W , Key_X ,
  Key_Y , Key_Z , Key_1 , Key_2 ,
  Key_3 , Key_4 , Key_5 , Key_6 ,
  Key_7 , Key_8 , Key_9 , Key_0 ,
  Key_Alt , Key_Shift , Key_Control , Key_CapsLock ,
  Key_Tab , Key_Return , Key_Space , Key_Backspace ,
  Key_Delete , Key_Up , Key_Down , Key_Left ,
  Key_Right , Key_F1 , Key_F2 , Key_F3 ,
  Key_F4 , Key_F5 , Key_F6 , Key_F7 ,
  Key_F8 , Key_F9 , Key_F10 , Key_F11 ,
  Key_F12
}
 
enum class  DocumentSyntax { PlainText , PythonScript }
 Supported document syntax. Mainly used for syntax highlighting. More...
 
enum  LockTypeFlag {
  NoLockFlags = 0x0000 , LockViewWrite = 0x0001 , LockViewRead = 0x0002 , LockModelWrite = 0x0004 ,
  LockModelRead = 0x0008 , LockProperties = 0x0010 , LockNavigationWrite = 0x0020 , LockNavigationAll = 0x0040 ,
  LockAll = 0x1000
}
 Describes the object type to lock in the UI. More...
 
enum  NavigationTreeItemFlag {
  NoNavigationTreeItemFlags = 0x00 , RemoveItemWhenEmpty = 0x01 , ItemMayBeAdded = 0x02 , ItemIsSelected = 0x04 ,
  ItemIsInvisible = 0x08
}
 
enum  LineStyle {
  NoLine , SolidLine , DashLine , DotLine ,
  DashDotLine , DashDotDotLine
}
 Line style. More...
 
enum  LineCapStyle { FlatCap , SquareCap , RoundCap }
 Line cap style. More...
 
enum  LineJoinStyle { MiterJoin , BevelJoin , RoundJoin , SvgMiterJoin }
 Line join style. More...
 
enum  WidgetFlag { NoWidgetFlags = 0x00 , ApplyFilterOnReturn = 0x01 , ApplyFilterOnTextChange = 0x02 }
 
enum class  ViewChangedStates : uint32_t { viewClosed , viewOpened , changesSaved }
 

Functions

class __declspec (dllexport) StringToVariableConverter
 Transforms a string into a json and subsequently into ot::variable. Strings values that are numbers are only recognised as strings if " characters are added before and after the string value. Example: string = \"4\"; Boolean values have to be "true" or "false".
 
template<typename K , typename V >
std::list< KlistFromMapKeys (const std::map< K, V > &_map)
 Creates a list containing all the keys from the provided map.
 
template<typename K , typename V >
std::list< V > listFromMapValues (const std::map< K, V > &_map)
 Creates a list containing all the values from the provided map.
 
template<class K , class V >
void removeFromMapByValue (std::map< K, V > &_map, const V &_value)
 Removes the value from the provided map.
 
template<typename T >
std::vector< T > vectorFromList (const std::list< T > &_list)
 
template<typename T >
std::list< T > listFromVector (const std::vector< T > &_vector)
 
OT_CORE_API_EXPORT void addLogFlagsToJsonArray (const LogFlags &_flags, JsonArray &_flagsArray, JsonAllocator &_allocator)
 
OT_CORE_API_EXPORT LogFlags logFlagsFromJsonArray (const ConstJsonArray &_flagsArray)
 
OT_CORE_API_EXPORT std::ostream & operator<< (std::ostream &_stream, const LogMessage &_msg)
 Writes the log message in a typical "log line" format to the provided output stream.
 
OT_CORE_API_EXPORT std::string exportLogMessagesToString (const std::list< LogMessage > &_messages)
 
OT_CORE_API_EXPORT bool importLogMessagesFromString (const std::string &_string, std::list< LogMessage > &_messages)
 
template<class T >
class __declspec (dllexport) Owner
 
OT_GUI_API_EXPORT std::string toString (ColorStyleName _colorStyleName)
 
OT_GUI_API_EXPORT ColorStyleName stringToColorStyleName (const std::string &_colorStyleName)
 
OT_GUI_API_EXPORT std::string toString (ColorStyleFileKey _colorStyleFileKey)
 
OT_GUI_API_EXPORT ColorStyleFileKey stringToColorStyleFileKey (const std::string &_colorStyleFileKey)
 
OT_GUI_API_EXPORT std::string toString (ColorStyleFileMacro _colorStyleFileMacro)
 
OT_GUI_API_EXPORT ColorStyleFileMacro stringToColorStyleFileMacro (const std::string &_colorStyleFileMacro)
 
OT_GUI_API_EXPORT std::string toString (ColorStyleFileValue _colorStyleFileValue)
 
OT_GUI_API_EXPORT ColorStyleFileValue stringToColorStyleFileValue (const std::string &_colorStyleFileValue)
 
OT_GUI_API_EXPORT std::string toString (ColorStyleBaseFileMacro _colorStyleBaseFileMacro)
 
OT_GUI_API_EXPORT ColorStyleBaseFileMacro stringToColorStyleBaseFileMacro (const std::string &_colorStyleBaseFileMacro)
 
OT_GUI_API_EXPORT std::string toString (ColorStyleFileEntry _colorStyleFileEntry)
 
OT_GUI_API_EXPORT ColorStyleFileEntry stringToColorStyleFileEntry (const std::string &_colorStyleFileEntry)
 
OT_GUI_API_EXPORT std::string toString (ColorStyleValueEntry _colorStyleValueEntry)
 
OT_GUI_API_EXPORT ColorStyleValueEntry stringToColorStyleValueEntry (const std::string &_colorStyleValueEntry)
 
OT_GUI_API_EXPORT std::list< std::string > getAllColorStyleValueEntries (void)
 
OT_GUI_API_EXPORT std::string toString (ColorStyleIntegerEntry _colorStyleIntegerEntry)
 
OT_GUI_API_EXPORT ColorStyleIntegerEntry stringToColorStyleIntegerEntry (const std::string &_colorStyleIntegerEntry)
 
OT_GUI_API_EXPORT std::string toString (ColorStyleDoubleEntry _colorStyleDoubleEntry)
 
OT_GUI_API_EXPORT ColorStyleDoubleEntry stringToColorStyleDoubleEntry (const std::string &_colorStyleDoubleEntry)
 
OT_GUI_API_EXPORT std::list< LockTypeFlaggetAllLockTypeFlags (void)
 
OT_GUI_API_EXPORT std::string toString (Alignment _alignment)
 
OT_GUI_API_EXPORT Alignment stringToAlignment (const std::string &_string)
 
OT_GUI_API_EXPORT std::string toString (Orientation _orientation)
 
OT_GUI_API_EXPORT Orientation stringToOrientation (const std::string &_string)
 
OT_GUI_API_EXPORT std::string toString (FontFamily _fontFamily)
 
OT_GUI_API_EXPORT FontFamily stringToFontFamily (const std::string &_string)
 
OT_GUI_API_EXPORT std::string toString (SizePolicy _policy)
 
OT_GUI_API_EXPORT SizePolicy stringToSizePolicy (const std::string &_string)
 
OT_GUI_API_EXPORT std::string toString (ConnectionDirection _direction)
 
OT_GUI_API_EXPORT ConnectionDirection stringToConnectionDirection (const std::string &_direction)
 
OT_GUI_API_EXPORT ConnectionDirection inversedConnectionDirection (ConnectionDirection _direction)
 Returnse the opposite connection of the one provided.
 
OT_GUI_API_EXPORT std::list< ConnectionDirectiongetAllConnectionDirections (void)
 
OT_GUI_API_EXPORT std::string toString (GradientSpread _spread)
 
OT_GUI_API_EXPORT GradientSpread stringToGradientSpread (const std::string &_spread)
 
OT_GUI_API_EXPORT BasicKey toBasicKey (const std::string &_key)
 
OT_GUI_API_EXPORT std::string toString (BasicKey _key)
 
OT_GUI_API_EXPORT DocumentSyntax toDocumentSyntax (const std::string &_syntax)
 
OT_GUI_API_EXPORT std::string toString (DocumentSyntax _syntax)
 
OT_GUI_API_EXPORT std::list< std::string > getAllSupportedDocumentSyntax (void)
 
OT_GUI_API_EXPORT LockTypeFlags toLockTypeFlags (const std::vector< std::string > &_flags)
 
OT_GUI_API_EXPORT LockTypeFlags toLockTypeFlags (const std::list< std::string > &_flags)
 
OT_GUI_API_EXPORT LockTypeFlag toLockTypeFlag (const std::string &_flag)
 
OT_GUI_API_EXPORT std::list< LockTypeFlaggetAllSetFlags (const LockTypeFlags &_lockFlags)
 
OT_GUI_API_EXPORT std::list< std::string > toStringList (const LockTypeFlags &_flags)
 
OT_GUI_API_EXPORT std::string toString (LockTypeFlag _type)
 
OT_GUI_API_EXPORT std::string toString (NavigationTreeItemFlag _flag)
 
OT_GUI_API_EXPORT std::list< std::string > toStringList (NavigationTreeItemFlags _flags)
 
OT_GUI_API_EXPORT NavigationTreeItemFlag stringToNavigationItemFlag (const std::string &_flag)
 
OT_GUI_API_EXPORT NavigationTreeItemFlags stringListToNavigationItemFlags (const std::list< std::string > &_flags)
 
OT_GUI_API_EXPORT std::string toString (LineStyle _style)
 
OT_GUI_API_EXPORT LineStyle stringToLineStyle (const std::string &_style)
 
OT_GUI_API_EXPORT std::string toString (LineCapStyle _cap)
 
OT_GUI_API_EXPORT LineCapStyle stringToCapStyle (const std::string &_cap)
 
OT_GUI_API_EXPORT std::string toString (LineJoinStyle _join)
 
OT_GUI_API_EXPORT LineJoinStyle stringToJoinStyle (const std::string &_join)
 
OT_SERVICEFOUNDATION_API_EXPORT std::string encryptString (const std::string &_str)
 
OT_SERVICEFOUNDATION_API_EXPORT std::string decryptString (const std::string &_str)
 
OT_SERVICEFOUNDATION_API_EXPORT std::string decryptAndUnzipString (const std::string &_str, uint64_t uncompressedLength)
 
OT_SERVICEFOUNDATION_API_EXPORT std::string encryptAndZipString (const std::string &_str)
 
void startSessionServiceHealthCheck (const std::string &_sessionServiceURL)
 
void stopSessionServiceHealthCheck (void)
 

Variables

const std::string g_ImagSerialiseKey = "imag"
 
const std::string g_realSerialiseKey = "real"
 
static const serviceID_t invalidServiceID = 0
 The invalid service ID, a Service must not have this ID assigned.
 
static const serviceID_t maxServiceID = UINT16_MAX
 The maximum number a service ID may reach.
 

Typedef Documentation

◆ complex

using ot::complex = std::complex<double>

◆ ConstJsonArray

typedef rapidjson::GenericArray<true, rapidjson::GenericValue<rapidjson::UTF8<>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> > > ot::ConstJsonArray

Read only JSON Array.

◆ ConstJsonArrayList

◆ ConstJsonObject

typedef rapidjson::GenericObject<true, rapidjson::GenericValue<rapidjson::UTF8<>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> > > ot::ConstJsonObject

Read only JSON Object.

◆ ConstJsonObjectList

◆ GenericDataStructList

using ot::GenericDataStructList = std::list<ot::GenericDataStruct*>

◆ JsonAllocator

typedef rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> ot::JsonAllocator

Allocator used for writing to JSON values.

◆ JsonMemberIterator

typedef rapidjson::GenericMemberIterator<true, rapidjson::UTF8<>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> > ot::JsonMemberIterator

Read only JSON Object iterator.

◆ JsonSizeType

typedef rapidjson::SizeType ot::JsonSizeType

Size type.

◆ JsonValue

typedef rapidjson::Value ot::JsonValue

Writable JSON value.

◆ LockTypeFlags

◆ LogFlags

◆ MessageTypeFlags

The message types describes how a message should be delivered.

◆ NavigationTreeItemFlags

◆ port_t

Port number type.

◆ serviceID_t

typedef unsigned short ot::serviceID_t

ID type used to identify a service (16 bit unsigned integer).

◆ UID

typedef unsigned long ot::UID

Unique identifier (32 bit unsigned integer)

◆ UIDList

typedef std::list<UID> ot::UIDList

Unique identifier list.

◆ UIDNamePairList

◆ WidgetFlags

Enumeration Type Documentation

◆ Alignment

Alignment.

Enumerator
AlignCenter 
AlignTop 
AlignTopRight 
AlignRight 
AlignBottomRight 
AlignBottom 
AlignBottomLeft 
AlignLeft 
AlignTopLeft 

◆ BasicKey

Enumerator
Key_A 
Key_B 
Key_C 
Key_D 
Key_E 
Key_F 
Key_G 
Key_H 
Key_I 
Key_J 
Key_K 
Key_L 
Key_M 
Key_N 
Key_O 
Key_P 
Key_Q 
Key_R 
Key_S 
Key_T 
Key_U 
Key_V 
Key_W 
Key_X 
Key_Y 
Key_Z 
Key_1 
Key_2 
Key_3 
Key_4 
Key_5 
Key_6 
Key_7 
Key_8 
Key_9 
Key_0 
Key_Alt 
Key_Shift 
Key_Control 
Key_CapsLock 
Key_Tab 
Key_Return 
Key_Space 
Key_Backspace 
Key_Delete 
Key_Up 
Key_Down 
Key_Left 
Key_Right 
Key_F1 
Key_F2 
Key_F3 
Key_F4 
Key_F5 
Key_F6 
Key_F7 
Key_F8 
Key_F9 
Key_F10 
Key_F11 
Key_F12 

◆ ColorStyleBaseFileMacro

enum class ot::ColorStyleBaseFileMacro
strong

Contains macros used in the color style base file.

Enumerator
PainterMacro 
FileMacro 
IntMacro 
DoubleMacro 

◆ ColorStyleDoubleEntry

enum class ot::ColorStyleDoubleEntry
strong

Contains default double values set in a color style.

Enumerator
BorderWidth 
BorderRadiusBig 
BorderRadiusSmall 
ToolTipOpacity 

◆ ColorStyleFileEntry

enum class ot::ColorStyleFileEntry
strong

Contains default file paths set in a color style.

Enumerator
TransparentIcon 
ArrowUpIcon 
ArrowUpDisabledIcon 
ArrowUpFocusIcon 
ArrowDownIcon 
ArrowDownDisabledIcon 
ArrowDownFocusIcon 
ArrowLeftIcon 
ArrowLeftDisabledIcon 
ArrowLeftFocusIcon 
ArrowRightIcon 
ArrowRightDisabledIcon 
ArrowRightFocusIcon 
TreeBranchClosedIcon 
TreeBranchClosedFocusIcon 
TreeBranchEndIcon 
TreeBranchLineIcon 
TreeBranchMoreIcon 
TreeBranchOpenIcon 
TreeBranchOpenFocusIcon 
CheckBoxCheckedIcon 
CheckBoxCheckedDisabledIcon 
CheckBoxCheckedFocusIcon 
CheckBoxCheckedPressedIcon 
CheckBoxIndeterminateIcon 
CheckBoxIndeterminateDisabledIcon 
CheckBoxIndeterminateFocusIcon 
CheckBoxIndeterminatePressedIcon 
CheckBoxUncheckedIcon 
CheckBoxUncheckedDisabledIcon 
CheckBoxUncheckedFocusIcon 
CheckBoxUncheckedPressedIcon 
LogInCheckBoxCheckedIcon 
LogInCheckBoxCheckedDisabledIcon 
LogInCheckBoxCheckedFocusIcon 
LogInCheckBoxCheckedPressedIcon 
LogInCheckBoxIndeterminateIcon 
LogInCheckBoxIndeterminateDisabledIcon 
LogInCheckBoxIndeterminateFocusIcon 
LogInCheckBoxIndeterminatePressedIcon 
LogInCheckBoxUncheckedIcon 
LogInCheckBoxUncheckedDisabledIcon 
LogInCheckBoxUncheckedFocusIcon 
LogInCheckBoxUncheckedPressedIcon 
RadioButtonCheckedIcon 
RadioButtonCheckedDisabledIcon 
RadioButtonCheckedFocusIcon 
RadioButtonUncheckedIcon 
RadioButtonUncheckedDisabledIcon 
RadioButtonUncheckedFocusIcon 
ToolBarMoveHorizontalIcon 
ToolBarMoveVerticalIcon 
ToolBarSeparatorHorizontalIcon 
ToolBarSeparatorVerticalIcon 
WindowCloseIcon 
WindowCloseDisabledIcon 
WindowCloseFocusIcon 
WindowClosePressedIcon 
WindowGripIcon 
WindowUndockIcon 
WindowUndockDisabledIcon 
WindowUndockFocusIcon 
WindowUndockPressedIcon 
PropertyItemDeleteIcon 
PropertyGroupExpandedIcon 
PropertyGroupCollapsedIcon 
LogInBackgroundImage 
ColorStyleFileEntry_End 

Used to determine the last entry.

Warning
This must always be the last entry in this enum.

◆ ColorStyleFileKey

enum class ot::ColorStyleFileKey
strong

Contains color style file keys. The keys are used to determine the beginning of a section in the color style file.

Enumerator
NameKey 
IntegerKey 
DoubleKey 
FileKey 
PainterKey 
SheetKey 

◆ ColorStyleFileMacro

enum class ot::ColorStyleFileMacro
strong

Contains color style file macros.

Enumerator
RootMacro 

◆ ColorStyleFileValue

enum class ot::ColorStyleFileValue
strong
Enumerator
NameValue 
PathValue 
ValueValue 

◆ ColorStyleIntegerEntry

enum class ot::ColorStyleIntegerEntry
strong

Contains default integer values set in a color style.

Enumerator
SplitterHandleWidth 
SplitterBorderRadius 

◆ ColorStyleName

enum class ot::ColorStyleName
strong

Contains default OpenTwin color style names.

Enumerator
BrightStyle 
DarkStyle 
BlueStyle 

◆ ColorStyleValueEntry

enum class ot::ColorStyleValueEntry
strong

Contains default painters set in a color style.

Enumerator
Transparent 
WidgetBackground 
WidgetAlternateBackground 
WidgetForeground 
WidgetDisabledBackground 
WidgetDisabledForeground 
WidgetHoverBackground 
WidgetHoverForeground 
WidgetSelectionBackground 
WidgetSelectionForeground 
TitleBackground 
TitleForeground 
TitleBorder 
HeaderBackground 
HeaderForeground 
HeaderHoverBackground 
HeaderHoverForeground 
HeaderSelectionBackground 
HeaderSelectionForeground 
InputBackground 
InputForeground 
TextEditorLineBorder 
TextEditorHighlightBackground 
DialogBackground 
DialogForeground 
WindowBackground 
WindowForeground 
Border 
BorderLight 
BorderDisabled 
BorderHover 
BorderSelection 
ToolBarFirstTabBackground 
ToolBarFirstTabForeground 
GraphicsItemBorder 
GraphicsItemConnection 
GraphicsItemBackground 
GraphicsItemForeground 
GraphicsItemSelectionBorder 
GraphicsItemHoverBorder 
GraphicsItemConnectableBackground 
GraphicsItemLineColor 
StyledTextHighlight 
StyledTextLightHighlight 
StyledTextComment 
StyledTextWarning 
StyledTextError 
PythonKeyword 
PythonClass 
PythonString 
PythonFunction 
PythonComment 
ErrorForeground 
ColorStyleValueEntry_End 

Used to determine the last entry.

Warning
This must always be the last entry in this enum.

◆ ConnectionDirection

Describes in which direction a connetion from an item is starting.

Enumerator
ConnectAny 
ConnectLeft 

Connection may start in any direction.

ConnectUp 

Connection start towards left.

ConnectRight 

Connection start upwards.

ConnectDown 

Connection start towards right.

ConnectOut 

Connection start downwards.

ConnectIn 

Connection start outwards relative to the item center.

Connection start inwards relative to the item center.

◆ ConnectorType

Enumerator
In 
Out 
InOptional 
UNKNOWN 

◆ ContentChangedHandling

enum class ot::ContentChangedHandling : int32_t
strong

Defines how the model service shall deal with a content changed notification from the ui. Options are to save the changes and notify the owner of the entity, letting the owner handle everything or simply saving the changes without notification.

Enumerator
ModelServiceSavesNotifyOwner 
OwnerHandles 
ModelServiceSaves 

◆ DefaultColor

Default colors.

Enumerator
Aqua 
Beige 

rgba: 0, 255, 255, 255

Black 

rgba: 245, 245, 220, 255

Blue 

rgba: 0, 0, 0, 255

Chocolate 

rgba: 0, 0, 255, 255

Coral 

rgba: 210, 105, 30, 255

Cyan 

rgba: 255, 127, 80, 255

DarkGray 

rgba: 0, 255, 255, 255

DarkGreen 

rgba: 169, 169, 169, 255

DarkOrange 

rgba: 0, 100, 0, 255

DarkViolet 

rgba: 255, 140, 0, 255

DodgerBlue 

rgba: 148, 0, 211, 255

Fuchsia 

rgba: 30, 144, 255, 255

Gold 

rgba: 255, 0, 255, 255

Gray 

rgba: 255, 215, 0, 255

Green 

rgba: 128, 128, 128, 255

IndianRed 

rgba: 0, 128, 0, 255

Indigo 

rgba: 205, 92, 92, 255

Ivory 

rgba: 75, 0, 130, 255

Khaki 

rgba: 255, 255, 240, 255

Lavender 

rgba: 240, 230, 140, 255

Lime 

rgba: 230, 230, 250, 255

LightGray 

rgba: 0, 255, 0, 255

Maroon 

rgba: 211, 211, 211, 255

MidnightBlue 

rgba: 128, 0, 0, 255

Mint 

rgba: 25, 25, 112, 255

Navy 

rgba: 189, 252, 201, 255

Olive 

rgba: 0, 0, 128, 255

Orange 

rgba: 128, 128, 0, 255

Orchid 

rgba: 255, 165, 0, 255

Pink 

rgba: 218, 112, 214, 255

Plum 

rgba: 255, 192, 203, 255

Purple 

rgba: 221, 160, 221, 255

Red 

rgba: 128, 0, 128, 255

RoyalBlue 

rgba: 255, 0, 0, 255

Salmon 

rgba: 65, 105, 225, 255

Sienna 

rgba: 250, 128, 114, 255

Silver 

rgba: 160, 82, 45, 255

SlateGray 

rgba: 192, 192, 192, 255

SkyBlue 

rgba: 112, 128, 144, 255

SteelBlue 

rgba: 135, 206, 235, 255

Tan 

rgba: 70, 130, 180, 255

Teal 

rgba: 210, 180, 140, 255

Tomato 

rgba: 0, 128, 128, 255

Transparent 

rgba: 255, 99, 71, 255

Turquoise 

rgba: 0, 0, 0, 0

Violet 

rgba: 64, 224, 208, 255

White 

rgba: 238, 130, 238, 255

Yellow 

rgba: 255, 255, 255, 255

rgba: 255, 255, 0, 255

◆ DocumentSyntax

enum class ot::DocumentSyntax
strong

Supported document syntax. Mainly used for syntax highlighting.

Enumerator
PlainText 
PythonScript 

◆ FontFamily

Generally available font families.

Enumerator
Arial 
ComicSansMS 
Consolas 
CourierNew 
Georgia 
Helvetica 
Impact 
Palatino 
TimesNewRoman 
TrebuchetMS 
Verdana 

◆ GradientSpread

Describes how the painter will behave when painting outsite the gradient area.

Enumerator
PadSpread 
RepeatSpread 

Pad the outside area with the color at the closest stop point.

ReflectSpread 

Repeat the gradient.

Reflect the gradient.

◆ LineCapStyle

Line cap style.

Enumerator
FlatCap 
SquareCap 
RoundCap 

◆ LineJoinStyle

Line join style.

Enumerator
MiterJoin 
BevelJoin 
RoundJoin 
SvgMiterJoin 

◆ LineStyle

Line style.

Enumerator
NoLine 
SolidLine 
DashLine 
DotLine 
DashDotLine 
DashDotDotLine 

◆ LockTypeFlag

Describes the object type to lock in the UI.

Warning
When adding new flags, add the corresponding flag to ot::getAllLockTypeFlags().
Enumerator
NoLockFlags 
LockViewWrite 

No lock flags are set.

LockViewRead 

Lock view write operations.

LockModelWrite 

Lock view read operations.

Lock model write operations. Any control should be disabled and any event supressed which would lead to modifying the model.

LockModelRead 

Lock model write operations. Any control should be disabled and any event supressed which would lead to any model reading access.

LockProperties 
LockNavigationWrite 

Lock properties.

LockNavigationAll 

Lock navigation write.

LockAll 

Lock navigation.

◆ LogFlag

Log message verbouse level.

Enumerator
NO_LOG 
INFORMATION_LOG 

No log flags.

DETAILED_LOG 

Information log (few logs).

WARNING_LOG 

Detailed log (more logs).

ERROR_LOG 

Warning log.

ALL_GENERAL_LOG_FLAGS 

Error log.

Mask used to set all general log flags.

INBOUND_MESSAGE_LOG 
QUEUED_INBOUND_MESSAGE_LOG 

Execute endpoint log.

ONEWAY_TLS_INBOUND_MESSAGE_LOG 

Queue endpoint log.

ALL_INCOMING_MESSAGE_LOG_FLAGS 

OneWay-TLS endpoint log.

Mask used to set all incoming message log flags.

OUTGOING_MESSAGE_LOG 
ALL_OUTGOING_MESSAGE_LOG_FLAGS 

Outgoing message log.

Mask used to set all outgoing message log flags.

TEST_LOG 
ALL_MESSAGE_LOG_FLAGS 

Mask used to set all incoming and outgoing message log flags.

ALL_LOG_FLAGS 

Mask used to set all log flags.

◆ MessageType

The message types describes how a message should be delivered.

Enumerator
QUEUE 
EXECUTE 
EXECUTE_ONE_WAY_TLS 
SECURE_MESSAGE_TYPES 
ALL_MESSAGE_TYPES 

◆ NavigationTreeItemFlag

Enumerator
NoNavigationTreeItemFlags 
RemoveItemWhenEmpty 

Empty mask, no flags set.

ItemMayBeAdded 

If set the item will be removed when all the child items are removed.

ItemIsSelected 

If set the item may be added/dragged/dropped.

ItemIsInvisible 

If set this item is selected.

◆ Orientation

Orientation.

Enumerator
Horizontal 
Vertical 

◆ SizePolicy

Size policy for UI elements.

Enumerator
Preferred 
Dynamic 

The item size is the ideal size, the item wont shrink but may expand.

The item size will be ignored and the requested size will be used instead (only use for nested items).

◆ ViewChangedStates

enum class ot::ViewChangedStates : uint32_t
strong
Enumerator
viewClosed 
viewOpened 
changesSaved 

◆ WidgetFlag

Enumerator
NoWidgetFlags 
ApplyFilterOnReturn 
ApplyFilterOnTextChange 

Function Documentation

◆ __declspec() [1/2]

template<class T >
class ot::__declspec ( dllexport )

◆ __declspec() [2/2]

class ot::__declspec ( dllexport )

Transforms a string into a json and subsequently into ot::variable. Strings values that are numbers are only recognised as strings if " characters are added before and after the string value. Example: string = \"4\"; Boolean values have to be "true" or "false".

Describes how the object will be destroyed after

Queue keeps ownership. Delete the object when the queue will be cleaned

Queue keeps ownership. Delete the data object after the the execution of the call rather than after the whole queue

Creator keeps ownership. Data object won't be deleted when the queue will perform its garbage collection clear (overrides all)

Must be set if the object is passed to the queue multilple times (a requeue does not count as multiuse)

Add the provided object to the queue

Parameters
_objThe object to add to the queue
_argsThe arguments object that should be provided to the objects activate call

Add the provided object to the front of the queue

Parameters
_objThe object to add to the queue
_argsThe arguments object that should be provided to the objects activate call

Execute the queue

Takes a numeric value as string and normalises the floating point representation. Removes whitespaces, thousands separators and ensures point as decimal separator.

Parameters
_valueNumeric value as string, which will be alternated
_decimalSeparatorThe decimal separator that is used in the string. Can be a ',' or '.'.
Returns
true if the normalisation worked, false if > 1 decimal separator where found.

Describes how the object will be destroyed after

Queue keeps ownership. Delete the object when the queue will be cleaned

Queue keeps ownership. Delete the data object after the the execution of the call rather than after the whole queue

Creator keeps ownership. Data object won't be deleted when the queue will perform its garbage collection clear (overrides all)

Must be set if the object is passed to the queue multilple times (a requeue does not count as multiuse)

Add the provided object to the queue

Parameters
_objThe object to add to the queue
_argsThe arguments object that should be provided to the objects activate call

Add the provided object to the front of the queue

Parameters
_objThe object to add to the queue
_argsThe arguments object that should be provided to the objects activate call

Execute the queue

Takes a numeric value as string and normalises the floating point representation. Removes whitespaces, thousands separators and ensures point as decimal separator.

Parameters
_valueNumeric value as string, which will be alternated
_decimalSeparatorThe decimal separator that is used in the string. Can be a ',' or '.'.
Returns
true if the normalisation worked, false if > 1 decimal separator where found.

◆ addLogFlagsToJsonArray()

void ot::addLogFlagsToJsonArray ( const LogFlags & _flags,
JsonArray & _flagsArray,
JsonAllocator & _allocator )

◆ decryptAndUnzipString()

OT_SERVICEFOUNDATION_API_EXPORT std::string ot::decryptAndUnzipString ( const std::string & _str,
uint64_t uncompressedLength )

◆ decryptString()

std::string ot::decryptString ( const std::string & _str)

◆ encryptAndZipString()

OT_SERVICEFOUNDATION_API_EXPORT std::string ot::encryptAndZipString ( const std::string & _str)

◆ encryptString()

std::string ot::encryptString ( const std::string & _str)

◆ exportLogMessagesToString()

std::string ot::exportLogMessagesToString ( const std::list< LogMessage > & _messages)

◆ getAllColorStyleValueEntries()

std::list< std::string > ot::getAllColorStyleValueEntries ( void )

◆ getAllConnectionDirections()

std::list< ot::ConnectionDirection > ot::getAllConnectionDirections ( void )

◆ getAllLockTypeFlags()

std::list< ot::LockTypeFlag > ot::getAllLockTypeFlags ( void )

◆ getAllSetFlags()

std::list< ot::LockTypeFlag > ot::getAllSetFlags ( const LockTypeFlags & _lockFlags)

◆ getAllSupportedDocumentSyntax()

std::list< std::string > ot::getAllSupportedDocumentSyntax ( void )

◆ importLogMessagesFromString()

bool ot::importLogMessagesFromString ( const std::string & _string,
std::list< LogMessage > & _messages )

◆ inversedConnectionDirection()

ot::ConnectionDirection ot::inversedConnectionDirection ( ConnectionDirection _direction)

Returnse the opposite connection of the one provided.

◆ listFromMapKeys()

template<typename K , typename V >
std::list< K > ot::listFromMapKeys ( const std::map< K, V > & _map)

Creates a list containing all the keys from the provided map.

Template Parameters
KMap key type.
VMap value type.
Parameters
_mapData.
Returns
List of values.

◆ listFromMapValues()

template<typename K , typename V >
std::list< V > ot::listFromMapValues ( const std::map< K, V > & _map)

Creates a list containing all the values from the provided map.

Template Parameters
KMap key type.
VMap value type.
Parameters
_mapData.
Returns
List of values.

◆ listFromVector()

template<typename T >
std::list< T > ot::listFromVector ( const std::vector< T > & _vector)

◆ logFlagsFromJsonArray()

ot::LogFlags ot::logFlagsFromJsonArray ( const ConstJsonArray & _flagsArray)

◆ operator<<()

std::ostream & ot::operator<< ( std::ostream & _stream,
const LogMessage & _msg )

Writes the log message in a typical "log line" format to the provided output stream.

Parameters
_streamOutput stream to write to.
_msgThe log message to write.

◆ removeFromMapByValue()

template<class K , class V >
void ot::removeFromMapByValue ( std::map< K, V > & _map,
const V & _value )

Removes the value from the provided map.

Template Parameters
KMap key type.
VMap value type.
Parameters
_map
_value

◆ startSessionServiceHealthCheck()

void ot::startSessionServiceHealthCheck ( const std::string & _sessionServiceURL)

◆ stopSessionServiceHealthCheck()

void ot::stopSessionServiceHealthCheck ( void )

◆ stringListToNavigationItemFlags()

ot::NavigationTreeItemFlags ot::stringListToNavigationItemFlags ( const std::list< std::string > & _flags)

◆ stringToAlignment()

ot::Alignment ot::stringToAlignment ( const std::string & _string)

◆ stringToCapStyle()

ot::LineCapStyle ot::stringToCapStyle ( const std::string & _cap)

◆ stringToColorStyleBaseFileMacro()

ot::ColorStyleBaseFileMacro ot::stringToColorStyleBaseFileMacro ( const std::string & _colorStyleBaseFileMacro)

◆ stringToColorStyleDoubleEntry()

ot::ColorStyleDoubleEntry ot::stringToColorStyleDoubleEntry ( const std::string & _colorStyleDoubleEntry)

◆ stringToColorStyleFileEntry()

ot::ColorStyleFileEntry ot::stringToColorStyleFileEntry ( const std::string & _colorStyleFileEntry)

◆ stringToColorStyleFileKey()

ot::ColorStyleFileKey ot::stringToColorStyleFileKey ( const std::string & _colorStyleFileKey)

◆ stringToColorStyleFileMacro()

ot::ColorStyleFileMacro ot::stringToColorStyleFileMacro ( const std::string & _colorStyleFileMacro)

◆ stringToColorStyleFileValue()

ot::ColorStyleFileValue ot::stringToColorStyleFileValue ( const std::string & _colorStyleFileValue)

◆ stringToColorStyleIntegerEntry()

ot::ColorStyleIntegerEntry ot::stringToColorStyleIntegerEntry ( const std::string & _colorStyleIntegerEntry)

◆ stringToColorStyleName()

ot::ColorStyleName ot::stringToColorStyleName ( const std::string & _colorStyleName)

◆ stringToColorStyleValueEntry()

ot::ColorStyleValueEntry ot::stringToColorStyleValueEntry ( const std::string & _colorStyleValueEntry)

◆ stringToConnectionDirection()

ot::ConnectionDirection ot::stringToConnectionDirection ( const std::string & _direction)

◆ stringToFontFamily()

ot::FontFamily ot::stringToFontFamily ( const std::string & _string)

◆ stringToGradientSpread()

ot::GradientSpread ot::stringToGradientSpread ( const std::string & _spread)

◆ stringToJoinStyle()

ot::LineJoinStyle ot::stringToJoinStyle ( const std::string & _join)

◆ stringToLineStyle()

ot::LineStyle ot::stringToLineStyle ( const std::string & _style)

◆ stringToNavigationItemFlag()

ot::NavigationTreeItemFlag ot::stringToNavigationItemFlag ( const std::string & _flag)

◆ stringToOrientation()

ot::Orientation ot::stringToOrientation ( const std::string & _string)

◆ stringToSizePolicy()

ot::SizePolicy ot::stringToSizePolicy ( const std::string & _string)

◆ toBasicKey()

ot::BasicKey ot::toBasicKey ( const std::string & _key)

◆ toDocumentSyntax()

ot::DocumentSyntax ot::toDocumentSyntax ( const std::string & _syntax)

◆ toLockTypeFlag()

ot::LockTypeFlag ot::toLockTypeFlag ( const std::string & _flag)

◆ toLockTypeFlags() [1/2]

ot::LockTypeFlags ot::toLockTypeFlags ( const std::list< std::string > & _flags)

◆ toLockTypeFlags() [2/2]

ot::LockTypeFlags ot::toLockTypeFlags ( const std::vector< std::string > & _flags)

◆ toString() [1/22]

std::string ot::toString ( ot::Alignment _alignment)

◆ toString() [2/22]

std::string ot::toString ( BasicKey _key)

◆ toString() [3/22]

std::string ot::toString ( ColorStyleBaseFileMacro _colorStyleBaseFileMacro)

◆ toString() [4/22]

std::string ot::toString ( ColorStyleDoubleEntry _colorStyleDoubleEntry)

◆ toString() [5/22]

std::string ot::toString ( ColorStyleFileEntry _colorStyleFileEntry)

◆ toString() [6/22]

std::string ot::toString ( ColorStyleFileKey _colorStyleFileKey)

◆ toString() [7/22]

std::string ot::toString ( ColorStyleFileMacro _colorStyleFileMacro)

◆ toString() [8/22]

std::string ot::toString ( ColorStyleFileValue _colorStyleFileValue)

◆ toString() [9/22]

std::string ot::toString ( ColorStyleIntegerEntry _colorStyleIntegerEntry)

◆ toString() [10/22]

std::string ot::toString ( ColorStyleName _colorStyleName)

◆ toString() [11/22]

std::string ot::toString ( ColorStyleValueEntry _colorStyleValueEntry)

◆ toString() [12/22]

std::string ot::toString ( ot::ConnectionDirection _direction)

◆ toString() [13/22]

std::string ot::toString ( DocumentSyntax _syntax)

◆ toString() [14/22]

std::string ot::toString ( ot::FontFamily _fontFamily)

◆ toString() [15/22]

std::string ot::toString ( GradientSpread _spread)

◆ toString() [16/22]

std::string ot::toString ( LineCapStyle _cap)

◆ toString() [17/22]

std::string ot::toString ( LineJoinStyle _join)

◆ toString() [18/22]

std::string ot::toString ( LineStyle _style)

◆ toString() [19/22]

std::string ot::toString ( LockTypeFlag _type)

◆ toString() [20/22]

std::string ot::toString ( NavigationTreeItemFlag _flag)

◆ toString() [21/22]

std::string ot::toString ( Orientation _orientation)

◆ toString() [22/22]

std::string ot::toString ( SizePolicy _policy)

◆ toStringList() [1/2]

std::list< std::string > ot::toStringList ( const LockTypeFlags & _flags)

◆ toStringList() [2/2]

std::list< std::string > ot::toStringList ( NavigationTreeItemFlags _flags)

◆ vectorFromList()

template<typename T >
std::vector< T > ot::vectorFromList ( const std::list< T > & _list)

Variable Documentation

◆ g_ImagSerialiseKey

const std::string ot::g_ImagSerialiseKey = "imag"

◆ g_realSerialiseKey

const std::string ot::g_realSerialiseKey = "real"

◆ invalidServiceID

const serviceID_t ot::invalidServiceID = 0
static

The invalid service ID, a Service must not have this ID assigned.

◆ maxServiceID

const serviceID_t ot::maxServiceID = UINT16_MAX
static

The maximum number a service ID may reach.