15#ifndef DDL_MAPPING_RT_TARGET_HEADER
16#define DDL_MAPPING_RT_TARGET_HEADER
36#if defined(__GNUC__) && (__GNUC__ == 5) && defined(__QNX__)
37#pragma GCC diagnostic ignored \
42 typedef std::vector<std::pair<std::string, TargetElement*>>
Assignments;
46 typedef std::vector<std::pair<std::string, TargetElement*>>
Constants;
50#if defined(__GNUC__) && (__GNUC__ == 5) && defined(__QNX__)
51#pragma GCC diagnostic warning \
78 const std::string& target_description,
147 std::string _type_name;
149 std::vector<TargetElement*> _simulation_time_elements;
153 std::unique_ptr<ddl::codec::StaticCodec> _codec;
175 _buffer_mutex.
lock();
Definition shared_mutex.h:26
void lock()
Lock the mutex, blocks if the mutex is not available.
void unlock_shared()
Unlock the mutex (shared ownership)
void lock_shared()
Lock the mutex for shared ownership, blocks if the mutex is not available.
void unlock()
Unlock the mutex.
Definition result_type_decl.h:34
Definition map_configuration.h:36
Definition map_target.h:31
Definition mapping_environment_intf.h:56
void releaseWriteLock() const
Unlock the buffer after a source update.
Definition target.h:167
a_util::result::Result getBufferRef(const void *&buffer, size_t &target_buffer_size)
a_util::result::Result updateAccessFunctionValues()
const std::string & getTypeName() const
a_util::result::Result create(const MapConfiguration &map_config, const MapTarget &map_target, const std::string &target_description, SourceMap &sources)
std::vector< std::pair< uint64_t, TargetElement * > > TriggerCounters
Trigger counter container.
Definition target.h:44
void aquireReadLock() const
Lock the buffer for a buffer read.
Definition target.h:173
std::vector< std::pair< std::string, TargetElement * > > Assignments
Assignment container.
Definition target.h:42
a_util::result::Result updateTriggerFunctionValues()
void releaseReadLock() const
Unlock the buffer after a buffer read.
Definition target.h:179
Target(IMappingEnvironment &env)
const TargetElementList & getElementList() const
std::vector< std::pair< std::string, TargetElement * > > Constants
Constant container.
Definition target.h:46
const std::string & getName() const
a_util::result::Result reset(const MapConfiguration &map_config)
std::vector< uint8_t > MemoryBuffer
Generic byte-buffer.
Definition target.h:48
void aquireWriteLock() const
Lock the buffer for a source update.
Definition target.h:161
a_util::result::Result getCurrentBuffer(void *target_buffer, size_t target_buffer_size)
definition of the rt namespace for mapping
Definition ddl.h:59
std::vector< TargetElement * > TargetElementList
the targets element list
Definition element.h:133
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
std::set< Target * > TargetSet
the targets pointer list
Definition target.h:188
definition of the mapping namespace
Definition ddl.h:50
definition of the ddl namespace
Definition codec.h:21