Crate touchportal_sdk

Source

Re-exports§

pub use codegen::export;
pub use codegen::generate;

Modules§

codegen
protocol
reexport

Structs§

Action
Actions are one of the core components of Touch Portal. As a plug-in developer you can define actions for your plug-in that the user can add to their flow of actions in their buttons and events. An action is part of a [Category].
ActionBuilder
Builder for Action.
BoundData
BoundDataBuilder
Builder for BoundData.
Category
A category in your plugin will be an action category in Touch Portal.
CategoryBuilder
Builder for Category.
ChoiceData
ChoiceDataBuilder
Builder for ChoiceData.
ChoiceSetting
ChoiceSettingBuilder
Builder for ChoiceSetting.
ChoiceState
ChoiceStateBuilder
Builder for ChoiceState.
ColorData
ColorDataBuilder
Builder for ColorData.
Connector
Connectors can be connected to controls in Touch Portal such as Sliders and Dials.
ConnectorBuilder
Builder for Connector.
Data
As a plug-in developer you can augment your actions with additional data that the user has to fill in.
DataBuilder
Builder for Data.
Event
In Touch Portal there are events which will be triggered when a certain state changes.
EventBuilder
Builder for Event.
EventChoiceValue
EventChoiceValueBuilder
Builder for EventChoiceValue.
EventTextConfiguration
EventTextConfigurationBuilder
Builder for EventTextConfiguration.
FileData
FileDataBuilder
Builder for FileData.
FileSetting
FileSettingBuilder
Builder for FileSetting.
FolderData
FolderDataBuilder
Builder for FolderData.
FolderSetting
FolderSettingBuilder
Builder for FolderSetting.
I18nNames
Language specific version of a name.
I18nNamesBuilder
Builder for I18nNames.
Line
LineBuilder
Builder for Line.
Lines
The lines object consist of the parts; the action lines and the onhold lines.
LinesBuilder
Builder for Lines.
LingualLine
LingualLineBuilder
Builder for LingualLine.
LocalState
The local states object represents the representation and visualisation within Touch Portal.
LocalStateBuilder
Builder for LocalState.
MultilineSetting
MultilineSettingBuilder
Builder for MultilineSetting.
NumberData
NumberDataBuilder
Builder for NumberData.
NumberSetting
NumberSettingBuilder
Builder for NumberSetting.
PluginConfiguration
PluginConfigurationBuilder
Builder for PluginConfiguration.
PluginDescription
PluginDescriptionBuilder
Builder for PluginDescription.
Setting
SettingBuilder
Builder for Setting.
State
In Touch Portal the user can use States which can be used by IF statement and with Events for example but can also be used in button texts or most actions.
StateBuilder
Builder for State.
StaticAction
StaticActionBuilder
Builder for StaticAction.
SubCategory
Plugin Categories can have sub categories which will be used to add structure to your list of actions, events and connectors.
SubCategoryBuilder
Builder for SubCategory.
Suggestions
This is a suggestions object where you can specify certain rendering behaviours of the action lines.
SuggestionsBuilder
Builder for Suggestions.
SwitchData
SwitchDataBuilder
Builder for SwitchData.
SwitchSetting
SwitchSettingBuilder
Builder for SwitchSetting.
TextData
TextDataBuilder
Builder for TextData.
TextSetting
TextSettingBuilder
Builder for TextSetting.
TextState
TextStateBuilder
Builder for TextState.
Tooltip
TooltipBuilder
Builder for Tooltip.

Enums§

ActionBuilderError
Error type for ActionBuilder
ActionImplementation
ApiVersion
Mapping from TouchPortal version to API version.
BoundDataBuilderError
Error type for BoundDataBuilder
CategoryBuilderError
Error type for CategoryBuilder
ChoiceDataBuilderError
Error type for ChoiceDataBuilder
ChoiceSettingBuilderError
Error type for ChoiceSettingBuilder
ChoiceStateBuilderError
Error type for ChoiceStateBuilder
ColorDataBuilderError
Error type for ColorDataBuilder
CompareMethod
ConnectorBuilderError
Error type for ConnectorBuilder
ConnectorType
DataBuilderError
Error type for DataBuilder
DataFormat
EventBuilderError
Error type for EventBuilder
EventChoiceValueBuilderError
Error type for EventChoiceValueBuilder
EventTextConfigurationBuilderError
Error type for EventTextConfigurationBuilder
EventValueType
ExecutionType
FileDataBuilderError
Error type for FileDataBuilder
FileSettingBuilderError
Error type for FileSettingBuilder
FolderDataBuilderError
Error type for FolderDataBuilder
FolderSettingBuilderError
Error type for FolderSettingBuilder
I18nNamesBuilderError
Error type for I18nNamesBuilder
LineBuilderError
Error type for LineBuilder
LinesBuilderError
Error type for LinesBuilder
LingualLineBuilderError
Error type for LingualLineBuilder
LocalStateBuilderError
Error type for LocalStateBuilder
MultilineSettingBuilderError
Error type for MultilineSettingBuilder
NumberDataBuilderError
Error type for NumberDataBuilder
NumberSettingBuilderError
Error type for NumberSettingBuilder
PluginCategory
You can add your plug-in in specific categories within Touch Portal.
PluginConfigurationBuilderError
Error type for PluginConfigurationBuilder
PluginDescriptionBuilderError
Error type for PluginDescriptionBuilder
SettingBuilderError
Error type for SettingBuilder
SettingType
StateBuilderError
Error type for StateBuilder
StateType
StaticActionBuilderError
Error type for StaticActionBuilder
SubCategoryBuilderError
Error type for SubCategoryBuilder
SuggestionsBuilderError
Error type for SuggestionsBuilder
SwitchDataBuilderError
Error type for SwitchDataBuilder
SwitchSettingBuilderError
Error type for SwitchSettingBuilder
TextDataBuilderError
Error type for TextDataBuilder
TextSettingBuilderError
Error type for TextSettingBuilder
TextStateBuilderError
Error type for TextStateBuilder
TooltipBuilderError
Error type for TooltipBuilder

Functions§

entry_tp