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
>
7
#include <
mlMainThreadCommunicator.h
>
8
9
10
ML_START_NAMESPACE
11
12
13
class
MainThreadCommunicatorTestSupport
:
public
Module
14
{
15
public
:
16
17
MainThreadCommunicatorTestSupport
();
18
19
protected
:
20
21
void
handleNotification
(
Field
*
field
)
override
;
22
23
private
:
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
37
ML_MODULE_CLASS_HEADER
(
MainThreadCommunicatorTestSupport
);
38
};
39
40
41
ML_END_NAMESPACE
ml::Field
Base class for all fields used in the ML.
Definition
mlField.h:73
ml::IntField
Field to encapsulate an integer value.
Definition
mlFields.h:126
ml::MainThreadCommunicatorTestSupport
Definition
mlMainThreadCommunicatorTestSupport.h:14
ml::MainThreadCommunicatorTestSupport::MainThreadCommunicatorTestSupport
MainThreadCommunicatorTestSupport()
ml::MainThreadCommunicatorTestSupport::handleNotification
void handleNotification(Field *field) override
Called when any field data in the field container of this module is modified.
ml::MainThreadCommunicator
Definition
mlMainThreadCommunicator.h:65
ml::Module
Base class for an image processing module of the ML.
Definition
mlModule.h:151
ml::NotifyField
Field without value for notifications.
Definition
mlFields.h:659
ml::StringField
Field to encapsulate a string value.
Definition
mlFields.h:610
ML_MODULE_CLASS_HEADER
#define ML_MODULE_CLASS_HEADER(className)
Like ML_CLASS_HEADER for the usage of derived classes from Module.
Definition
mlRuntimeSubClass.h:235
mlMainThreadCommunicator.h
mlModuleIncludes.h
mlrange_cast
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
Definition
mlRangeCasts.h:332
FMEstable
ReleaseMeVis
Projects
MLMainThreadCommunicator
Sources
TestSupport
mlMainThreadCommunicatorTestSupport.h
Generated by
1.10.0