Dev Essential
Loading...
Searching...
No Matches
mapping_engine_legacy.h
Go to the documentation of this file.
1
13
20
21#ifndef MAPPINGENGINE_HEADER
22#define MAPPINGENGINE_HEADER
23
33
34namespace ddl {
35namespace mapping {
36namespace rt {
42public:
48
53
61
71 a_util::result::Result Map(const std::string& target_name, handle_t& mapped_signal);
72
80
88
95
105
113 bool hasTriggers(handle_t mapped_signal) const;
114
126 void* target_buffer,
127 size_t target_buffer_size) const;
128
136
137private:
144 a_util::result::Result initializeModel();
145
146private:
148 bool _running;
149
150 MapConfiguration _map_config;
151 TargetMap _targets;
152 SourceMap _sources;
153 TriggerMap _triggers;
154};
155
156} // namespace rt
157} // namespace mapping
158} // namespace ddl
159#endif // MAPPINGENGINE_HEADER
Definition result_type_decl.h:34
Definition map_configuration.h:36
Definition mapping_environment_intf.h:56
a_util::result::Result reset()
MappingEngine(IMappingEnvironment &env)
a_util::result::Result unmapAll()
bool hasTriggers(handle_t mapped_signal) const
a_util::result::Result start()
a_util::result::Result getCurrentData(handle_t mapped_signal, void *target_buffer, size_t target_buffer_size) const
a_util::result::Result Map(const std::string &target_name, handle_t &mapped_signal)
a_util::result::Result stop()
a_util::result::Result unmap(handle_t mapped_signal)
a_util::result::Result setConfiguration(const MapConfiguration &config)
void * handle_t
Type of a handle value.
Definition types.h:27
definition of the rt namespace for mapping
Definition ddl.h:59
std::map< std::string, TriggerBase * > TriggerMap
type for trigger map.
Definition trigger.h:76
std::map< std::string, Source * > SourceMap
Public composite types used in the mapping::rt namespace.
Definition source.h:174
std::map< std::string, Target * > TargetMap
Public composite types used in the mapping::rt namespace.
Definition target.h:186
definition of the mapping namespace
Definition ddl.h:50
definition of the ddl namespace
Definition codec.h:21