PrestoPlot Class
The PrestoPlot class gives an interface to high level and application features. It is the main entry point to all you can do by interacting with PrestoPlot. It give access to several managers to handle different parts of the application and data.
A singleton is available through the PP global function.
Here is an example of getting the dataset manager to create a dataset :
set datasetManager [PP datasetManager]
set newDataset [$datasetManager createDataset "MyParameter"]
set newDataset [Datasets createDataset "MyParameter"]
| Global helper | Associated method |
|---|---|
| Datasets | datasetManager |
| Dates | dateManager |
| Files | fileManager |
| Graphs | graphManager |
| UI | ui |
Then you can do what you need with the dataset manager.
Public Functions
currentPlugin{}
datasetManager{}
dateManager{}
exit{}
fileManager{}
graphManager{}
ui{}
version{}
Detailed Function Descriptions
currentPlugin
currentPlugin{ }
Get the Plugin object for the current plugin.
Return : An instance of Plugin.
datasetManager
datasetManager{ }
Get the DatasetManager object to handle dataset collection.
Return : An instance of DatasetManager.
dateManager
dateManager{ }
Get the DateManager object to handle dates.
Return : An instance of DateManager.
exit
exit{ }
This function will terminate and exit PrestoPlot.
fileManager
fileManager{ }
Get the FileManager object to deal with files.
Return : An instance of FileManager.
graphManager
graphManager{ }
Get the GraphManager object to handle graphs.
Return : An instance of GraphManager.
ui
ui{ }
Get the UserInterface object to interact with the user interface of the current PrestoPlot session.
Return : An instance of UserInterface.
version
version{ }
This function returns the current PrestoPlot version as a string. For example, the funtion can return "25.07".
Return : A string representing the current PrestoPlot version.