score
Home
Classes
Namespaces
Files
ListeningHandlerFactory.hpp
1
#pragma once
2
#include <Explorer/Listening/ListeningHandler.hpp>
3
4
#include <score/plugins/Interface.hpp>
5
6
#include <score_plugin_deviceexplorer_export.h>
7
namespace
score
8
{
9
struct
DocumentContext;
10
}
11
namespace
Explorer
12
{
13
class
DeviceDocumentPlugin;
14
class
SCORE_PLUGIN_DEVICEEXPLORER_EXPORT
ListeningHandlerFactory
15
:
public
score::InterfaceBase
16
{
17
SCORE_INTERFACE(
ListeningHandlerFactory
,
"42828393-b8de-45a6-b79f-811eea2e1a40"
)
18
19
public
:
20
virtual
~
ListeningHandlerFactory
();
21
22
virtual
std::unique_ptr<Explorer::ListeningHandler>
23
make(
const
DeviceDocumentPlugin& plug,
const
score::DocumentContext
& ctx) = 0;
24
};
25
}
Explorer::ListeningHandlerFactory
Definition:
ListeningHandlerFactory.hpp:16
score::InterfaceBase
Base class for plug-in interfaces.
Definition:
Interface.hpp:52
score
Base toolkit upon which the software is built.
Definition:
Application.cpp:90
score::DocumentContext
Definition:
DocumentContext.hpp:18