23 #ifndef APIFUNCTIONSGRAPH_H
24 #define APIFUNCTIONSGRAPH_H
26 #include "../../common/apiFunctionsGraphInc.h"
28 #include "../../common/sharedStructures.h"
29 #include "../../common/sharedStructuresGraphics.h"
30 #include "../../common/itomPlotHandle.h"
34 #include <qsharedpointer.h>
48 static ito::RetVal mgetPluginList(
const ito::PluginInfo &requirements, QHash<QString, ito::PluginInfo> &pluginList,
const QString preference);
49 static ito::RetVal mconnectLiveData(QObject *liveDataSource, QObject *liveDataView);
50 static ito::RetVal mstartLiveData(QObject* liveDataSource, QObject *liveDataView);
51 static ito::RetVal mstopLiveData(QObject* liveDataSource, QObject *liveDataView);
52 static ito::RetVal mdisconnectLiveData(QObject* liveDataSource, QObject *liveDataView);
53 static ito::RetVal mgetColorBarIdxFromName(
const QString &name, ito::int32 & index);
55 static ito::RetVal mgetFigure(
const QString &figCategoryName,
const QString &figClassName, ito::uint32 &UID, QWidget **figure, QWidget *parent = NULL);
56 static QVariant mgetFigureSetting(
const QObject *figureClass,
const QString &key,
const QVariant &defaultValue = QVariant(),
ito::RetVal *retval = NULL);
58 static ito::RetVal mgetPluginWidget(
char* algoWidgetFunc, QVector<ito::ParamBase> *paramsMand, QVector<ito::ParamBase> *paramsOpt, QPointer<QWidget> *widget);
74 #endif // APIFUNCTIONSGRAPH_H
static ito::RetVal mgetFigureUIDByHandle(QObject *figure, ito::uint32 &figureUID)
return the figure UID for the given figure
Definition: apiFunctionsGraph.cpp:472
Class for managing status values (like errors or warning)
Definition: retVal.h:54
Definition: apiFunctionsGraph.cpp:39
Definition: sharedStructuresGraphics.h:87
tStreamMessageType
Definition: typeDefs.h:76
static ito::RetVal mgetFigure(const QString &figCategoryName, const QString &figClassName, ito::uint32 &UID, QWidget **figure, QWidget *parent=NULL)
tries to get an existing figure of a given UID (if UID > 0) or tries to open a new figure from the gi...
Definition: apiFunctionsGraph.cpp:163
Definition: sharedStructuresGraphics.h:113
Definition: apiFunctionsGraph.h:38
class for a interval type containing the plot handle / unique id and name.
Definition: itomPlotHandle.h:48
static ito::RetVal sendParamsToPyWorkspaceThreadSafe(const QStringList &varnames, const QVector< QSharedPointer< ito::ParamBase > > &values)
function called by apiSendParamsToPyWorkspace
Definition: apiFunctionsGraph.cpp:527
static ito::RetVal sendParamToPyWorkspaceThreadSafe(const QString &varname, const QSharedPointer< ito::ParamBase > &value)
function called by apiSendParamToPyWorkspace
Definition: apiFunctionsGraph.cpp:521