26#ifndef __CPP_HOTPLUG_ACTION__
27#define __CPP_HOTPLUG_ACTION__
40typedef QWidget* (*GetUIFunction)(
Action*);
64 virtual bool init()
override;
74 virtual bool update()
override;
93 QString actionLibName;
100 bool updateSucceeded;
#define CAMITK_API
Definition CamiTKAPI.h:66
VariantDataModel encapsulates QVariant and can be used as a model for any type of QVariant supported ...
Definition VariantDataModel.h:122
Action class is an abstract class that enables you to build a action (generally an algorithm that wor...
Definition Action.h:215
ApplyStatus
describes what happened during the application of an algorithm (i.e. results of the apply method)
Definition Action.h:231
virtual ~CppHotPlugAction()=default
Default Destructor.
virtual QWidget * getWidget() override
Calls user-defined targetDefined() and getUI().
Definition CppHotPlugAction.cpp:142
virtual bool update() override
update the library and returns true if the process method was found
Definition CppHotPlugAction.cpp:71
virtual Action::ApplyStatus apply() override
this method is automatically called when the action is triggered.
Definition CppHotPlugAction.cpp:181
virtual void parameterChangedEvent(QString parameterName) override
Call the C++ symbol parameterChanged.
Definition CppHotPlugAction.cpp:199
virtual bool init() override
calls user-defined init() if found
Definition CppHotPlugAction.cpp:52
virtual bool needsUpdate() override
returns true if and only if the user library has changed since the last update or update was not comp...
Definition CppHotPlugAction.cpp:61
CppHotPlugAction(HotPlugActionExtension *actionExtension, const VariantDataModel &data)
Default Constructor calls user-defined init().
Definition CppHotPlugAction.cpp:41
An ActionExtension that can be created on the fly from a camitk extension file.
Definition HotPlugActionExtension.h:44
HotPlugAction(HotPlugActionExtension *actionExtension, const VariantDataModel &data)
Default Constructor.
Definition HotPlugAction.cpp:43
QWidget *(* GetUIFunction)(Action *)
Definition CppHotPlugAction.h:40
void(* VoidFunction)(Action *)
function signatures in the UserActionLib
Definition CppHotPlugAction.h:39
void(* ParameterChangedFunction)(Action *self, QString parameterName)
Definition CppHotPlugAction.h:42
Action::ApplyStatus(* ProcessFunction)(Action *self)
Definition CppHotPlugAction.h:41