MeVisLab Toolbox Reference
mlDicomConfigurableMessageFilter.h
Go to the documentation of this file.
1 // Copyright (c) Fraunhofer MEVIS, Germany. All rights reserved.
2 // **InsertLicense** code
3 //----------------------------------------------------------------------------------
6 
11 //----------------------------------------------------------------------------------
12 #pragma once
13 
16 #include <mlModuleIncludes.h>
17 
18 ML_START_NAMESPACE
19 
23 {
24 public:
27 
29  DicomConfigurableMessageFilterBaseRefCountedPtr getNewlyCreatedMessageCollector();
30 
34  static DicomConfigurableMessageFilterBaseRefCountedPtr getMessageCollectorInstance(Base *basePtr);
35 
36 protected:
37 
39  void _init();
40 
42  void handleNotification(Field *field) override;
43 
44 private:
45 
47  BaseField *_outputFilterPluginFld;
48 
50  std::vector<BoolField*> _messageFilterFields;
51 
54 
57 };
58 
59 ML_END_NAMESPACE
Project global and OS specific declarations.
#define MLDicomMessageFilter_EXPORT
DLL export macro definition.
Field to encapsulate a pointer to an ML base object.
Definition: mlFields.h:1187
Class representing general ML objects that support import/export via strings (setPersistentState() an...
Definition: mlBase.h:62
std::vector< DicomMessageFilter > DicomMessageFilterListType
Container type of the list of MessageFilter objects.
ML module class DicomConfigurableMessageFilter usable as plugin for modules which produce many messag...
DicomConfigurableMessageFilterBaseRefCountedPtr getNewlyCreatedMessageCollector()
Returns a smart-pointer to a newly created reference of a DicomConfigurableMessageFilterBase object.
void _init()
Constructor-like initialization for fields and members.
DicomConfigurableMessageFilter()
Constructor, no inputs, no outputs (but a Base output) as field.
void handleNotification(Field *field) override
Handles changes of field.
static DicomConfigurableMessageFilterBaseRefCountedPtr getMessageCollectorInstance(Base *basePtr)
Convenience routine returning a new instance of a message collector to be used for message handling; ...
Base class for all fields used in the ML.
Definition: mlField.h:73
Base class for an image processing module of the ML.
Definition: mlModule.h:156
#define ML_MODULE_CLASS_HEADER(className)
Like ML_CLASS_HEADER for the usage of derived classes from Module.
Header file of ML module class DicomConfigurableMessageFilter usable as plugin for modules which prod...