OpenCOVER
FeedbackManager.h
Go to the documentation of this file.
1#ifndef COVER_FEEDBACKMANAGER_H
2#define COVER_FEEDBACKMANAGER_H
3
4#include <util/coExport.h>
5
6#include <map>
7
8namespace opencover
9{
10
11class coInteractor;
12class ModuleInteraction;
13
14class PLUGIN_UTILEXPORT FeedbackManager
15{
16public:
19
20 void registerFeedback(ModuleInteraction *feedback, coInteractor *inter=nullptr);
22
24
25private:
26 std::map<coInteractor *, ModuleInteraction *> m_moduleFeedback;
27
28 static FeedbackManager *s_instance;
30};
31
32}
33#endif
Definition: ARToolKit.h:33
abstract feedback class for interacting with parameters of visualization modules (e....
Definition: coInteractor.h:37
Definition: FeedbackManager.h:15
void unregisterFeedback(ModuleInteraction *feedback)
void registerFeedback(ModuleInteraction *feedback, coInteractor *inter=nullptr)
static FeedbackManager * instance()
ModuleInteraction * findFeedback(coInteractor *inter) const
Definition: ModuleInteraction.h:21