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
7#include <mlModule.h>
8
9
10ML_START_NAMESPACE
11
12
14{
15public:
16
18
19protected:
20
21 void handleNotification(Field* field) override;
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
41ML_END_NAMESPACE
void handleNotification(Field *field) override
Module(int numInputImages, int numOutputImages)
#define ML_MODULE_CLASS_HEADER(className)