itom 1.2.0
|
The itom plot and figure API contains a bunch of functions that can be called by the core application itom as well as by every designer plugin. More...
Defines | |
#define | apiPaletteGetNumberOfColorBars (*(ito::RetVal (*)(int &)) ito::ITOM_API_FUNCS_GRAPH[0]) |
#define | apiPaletteGetColorBarName (*(ito::RetVal (*)(const QString &, ito::ItomPalette &)) ito::ITOM_API_FUNCS_GRAPH[1]) |
#define | apiPaletteGetColorBarIdx (*(ito::RetVal (*)(const int, ito::ItomPalette &)) ito::ITOM_API_FUNCS_GRAPH[2]) |
#define | apiGetFigure (*(ito::RetVal (*)(const QString &, const QString &, ito::uint32 &, QWidget **, QWidget *parent)) ito::ITOM_API_FUNCS_GRAPH[3]) |
#define | apiGetPluginList (*(ito::RetVal (*)(const ito::pluginInfo, QHash<QString, ito::pluginInfo> &, const QString)) ito::ITOM_API_FUNCS_GRAPH[4]) |
#define | apiStartLiveData (*(ito::RetVal (*)(QObject *, QObject *)) ito::ITOM_API_FUNCS_GRAPH[5]) |
#define | apiStopLiveData (*(ito::RetVal (*)(QObject *, QObject *)) ito::ITOM_API_FUNCS_GRAPH[6]) |
#define | apiConnectLiveData (*(ito::RetVal (*)(QObject *, QObject *)) ito::ITOM_API_FUNCS_GRAPH[7]) |
#define | apiDisconnectLiveData (*(ito::RetVal (*)(QObject *, QObject *)) ito::ITOM_API_FUNCS_GRAPH[8]) |
#define | apiPaletteGetColorBarIdxFromName (*(ito::RetVal (*)(const QString &, ito::int32 &)) ito::ITOM_API_FUNCS_GRAPH[9]) |
#define | apiGetFigureSetting (*(QVariant (*)(const QObject *, const QString &, const QVariant &, ito::RetVal *)) ito::ITOM_API_FUNCS_GRAPH[10]) |
#define | apiGetPluginWidget (*(ito::RetVal (*)(void *, QVector<ito::ParamBase> *, QVector<ito::ParamBase> *, QPointer<QWidget>*)) ito::ITOM_API_FUNCS_GRAPH[11]) |
The itom plot and figure API contains a bunch of functions that can be called by the core application itom as well as by every designer plugin.
Every function is given by a certain preprocessor definition that describes the return value, parameters and function name of the method to call. Each preprocessor definition is redirected to a function pointer that becomes valid at runtime. The initialization of these function pointers in any plugins is an automatic process by itom, called when loading the plugin.
How to read the following definitions?
Basically the first word after the #define word is the method to call. After the first star the return value follows (the star into brackets is not part of the return value). Then there is a list of different parameters for this method.