Dev Essential
Loading...
Searching...
No Matches
engine_function.h
Go to the documentation of this file.
1
19
20#ifndef _MAPPER_ENGINE_MODULE_HEADER
21#define _MAPPER_ENGINE_MODULE_HEADER
22
24
25#include <string_view>
26
27namespace ddl {
28namespace mapping {
29
35class TriggerCounterFunction : public MapperElementBase<Function> {
36public:
41 static std::string getType()
42 {
43 return "trigger_counter";
44 }
45
50 {
51 return {};
52 }
53
62 TriggerCounterFunction(std::string name, Properties properties);
63
64 Description getDescription() const override;
65 std::shared_ptr<Callable> getCallable() const override;
66};
67
72class WasReceivedFunction : public MapperElementBase<Function> {
73public:
78 static std::string getType()
79 {
80 return "was_received";
81 }
82
87 {
88 return {};
89 }
90
99 WasReceivedFunction(std::string name, Properties properties);
100
101 Description getDescription() const override;
102 std::shared_ptr<Callable> getCallable() const override;
103};
104
105} // namespace mapping
106} // namespace ddl
107
108#endif // _MAPPER_DEFAULT_MODULE_HEADER
std::unordered_map< std::string, ParameterDescription > Description
Definition mapper_interfaces.h:593
MapperElementBase(std::string name, Properties properties)
Definition mapper_base_types.h:43
static Properties getDefaultProperties()
Get the Default Properties to register within factory.
Definition engine_function.h:49
TriggerCounterFunction()=delete
CTOR deleted.
static std::string getType()
Get the Type as string to register within factory.
Definition engine_function.h:41
std::shared_ptr< Callable > getCallable() const override
Get a Function Callable.
Description getDescription() const override
Get the parameter descriptions.
TriggerCounterFunction(std::string name, Properties properties)
CTOR.
WasReceivedFunction(std::string name, Properties properties)
CTOR.
WasReceivedFunction()=delete
CTOR deleted.
static Properties getDefaultProperties()
Get the Default Properties to register within factory.
Definition engine_function.h:86
std::shared_ptr< Callable > getCallable() const override
Get a Function Callable.
Description getDescription() const override
Get the parameter descriptions.
static std::string getType()
Get the Type as string to register within factory.
Definition engine_function.h:78
definition of the mapping namespace
Definition ddl.h:50
std::unordered_map< std::string, Property > Properties
Properties class as set of key - property value pairs This proerties are used to adjust the readers a...
Definition mapper_interfaces.h:331
definition of the ddl namespace
Definition codec.h:21