MeVisLab Toolbox Reference
mlMainThreadCommunicatorTestSupport.h
Go to the documentation of this file.
1// Copyright (c) Fraunhofer MEVIS, Germany. All rights reserved.
2// **InsertLicense** code
3
4#pragma once
5
6#include <mlModuleIncludes.h>
8
9
11
12
14{
15public:
16
18
19protected:
20
22
23private:
24
25 StringField* inMessageFld;
26
27 IntField* inDelayMillisecondsFld;
28
29 NotifyField* sendMessageFromBackgroundFld;
30
31 NotifyField* sendMessageFromMainThreadFld;
32
33 StringField* outMessageFld;
34
35 MainThreadCommunicator communicator;
36
38};
39
40
Base class for all fields used in the ML.
Definition mlField.h:73
Field to encapsulate an integer value.
Definition mlFields.h:126
void handleNotification(Field *field) override
Called when any field data in the field container of this module is modified.
Base class for an image processing module of the ML.
Definition mlModule.h:151
Field without value for notifications.
Definition mlFields.h:659
Field to encapsulate a string value.
Definition mlFields.h:610
#define ML_MODULE_CLASS_HEADER(className)
Like ML_CLASS_HEADER for the usage of derived classes from Module.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.