This class is the base class for apps. More...
Constructors and destructors | |
SBDApp () | |
Constructs an app. | |
virtual | ~SBDApp () |
Destructs the app. | |
User interface | |
SBGApp * | getGUI () const |
Returns a pointer to the GUI of the app. | |
void | setGUI (SBGApp *gui) |
Sets the pointer to the GUI of the app. | |
Additional Inherited Members | |
Public Member Functions inherited from SBCReferenceTarget | |
SBCReferenceTarget () | |
virtual | ~SBCReferenceTarget () |
unsigned int | getMemoryFootprint () const |
void | printReferencesToOwners () const |
This class is the base class for all apps in SAMSON.
Apps are classes that may provide any type of functionality to SAMSON users. An app may be e.g. a connector to an external executable or web service, may wrap
previously developed code to integrate its functionality with SAMSON and other SAMSON Elements, or provide entirely new functionality based on the SAMSON Application Programming Interface. When SAMSON loads an app during startup, it includes it in the app menu and the app toolbar. When users open an app from the app menu or app toolbar, the Graphical User Interface (GUI) of the app appears, and the user may start using it.
An app is typically implemented by writing two classes:
Please refer to the documentation about the element generator and the tutorials page for more information about writing new apps for SAMSON.