Target represents a mapped target signal in the runtime api.
More...
#include <target.h>
|
|
typedef std::vector< std::pair< std::string, TargetElement * > > | Assignments |
| | Assignment container.
|
| |
|
typedef std::vector< std::pair< uint64_t, TargetElement * > > | TriggerCounters |
| | Trigger counter container.
|
| |
|
typedef std::vector< std::pair< std::string, TargetElement * > > | Constants |
| | Constant container.
|
| |
|
typedef std::vector< uint8_t > | MemoryBuffer |
| | Generic byte-buffer.
|
| |
Target represents a mapped target signal in the runtime api.
◆ Target()
◆ ~Target()
| ddl::mapping::rt::Target::~Target |
( |
| ) |
|
◆ create()
Creation method to fill the object with data.
- Parameters
-
| [in] | map_config | - The Configuration instance |
| [in] | map_target | - target representation from mapping configuration |
| [in] | target_description | - target description |
| [in,out] | sources | the sources |
- Return values
-
| a_util::result::SUCCESS | Everything went fine |
| ERR_FAILED | Error while filing the object |
◆ getBufferRef()
| a_util::result::Result ddl::mapping::rt::Target::getBufferRef |
( |
const void *& | buffer, |
|
|
size_t & | target_buffer_size ) |
Method to get access to the current buffer without copying it
- Parameters
-
| [in] | buffer | Destination pointer |
| [out] | target_buffer_size | Destination parameter for the size of the buffer |
- Return values
-
| a_util::result::SUCCESS | Everything went fine |
◆ getCurrentBuffer()
| a_util::result::Result ddl::mapping::rt::Target::getCurrentBuffer |
( |
void * | target_buffer, |
|
|
size_t | target_buffer_size ) |
Method to get a copy of the current target buffer
- Parameters
-
| [in] | target_buffer | Pointer referencing the target buffer |
| [in] | target_buffer_size | The size of the target buffer |
- Return values
-
| a_util::result::SUCCESS | Everything went fine |
| ERR_MEMORY | Target buffer size not large enough |
◆ getElementList()
Getter for the element list
- Returns
- the element list
◆ getName()
| const std::string & ddl::mapping::rt::Target::getName |
( |
| ) |
const |
Getter for the target name
- Returns
- the target name
◆ getSize()
| size_t ddl::mapping::rt::Target::getSize |
( |
| ) |
const |
Method to get buffer size
- Return values
-
◆ getTypeName()
| const std::string & ddl::mapping::rt::Target::getTypeName |
( |
| ) |
const |
Getter for the target type
- Returns
- the target type
◆ reset()
Reset target Buffers
- Parameters
-
| [in] | map_config | - The Configuration instance |
- Returns
- error code
◆ updateAccessFunctionValues()
Method to update all dynamic values that are to be updates during buffer access (i.e. simulation time)
◆ updateTriggerFunctionValues()
Method to update all dynamic values that are to be updates during a trigger (i.e. trigger counters)
The documentation for this class was generated from the following file:
- /workspace/conan/dev_essential/1.6.3/dw/stable/package/65324bff46e457721a7ba250afe9d61dc2b0e57a/include/ddl/mapping/legacy/engine/target.h