|
Dev Essential
1.6.3
|
The mapping engine to create the targets. More...
#include <mapping_engine_legacy.h>
Public Member Functions | |
| MappingEngine (IMappingEnvironment &env) | |
| ~MappingEngine () | |
| a_util::result::Result | setConfiguration (const MapConfiguration &config) |
| a_util::result::Result | Map (const std::string &target_name, handle_t &mapped_signal) |
| a_util::result::Result | reset () |
| a_util::result::Result | start () |
| a_util::result::Result | stop () |
| a_util::result::Result | unmap (handle_t mapped_signal) |
| bool | hasTriggers (handle_t mapped_signal) const |
| a_util::result::Result | getCurrentData (handle_t mapped_signal, void *target_buffer, size_t target_buffer_size) const |
| a_util::result::Result | unmapAll () |
The mapping engine to create the targets.
| ddl::mapping::rt::MappingEngine::MappingEngine | ( | IMappingEnvironment & | env | ) |
CTOR
| [in] | env | - Mapping environment, used as interface |
| ddl::mapping::rt::MappingEngine::~MappingEngine | ( | ) |
DTOR
| a_util::result::Result ddl::mapping::rt::MappingEngine::getCurrentData | ( | handle_t | mapped_signal, |
| void * | target_buffer, | ||
| size_t | target_buffer_size ) const |
Method to send current data
| [in] | mapped_signal | The target handle |
| [in] | target_buffer | The pointer referencing the target buffer |
| [in] | target_buffer_size | The size of the target buffer |
| a_util::result::SUCCESS | Everything went fine |
| ERR_INVALID_ARG | Invalid target handle or target buffer is NULL |
| ERR_MEMORY | Target buffer not large enough |
| bool ddl::mapping::rt::MappingEngine::hasTriggers | ( | handle_t | mapped_signal | ) | const |
Method to know if signal has triggers or not
| [in] | mapped_signal | The target handle |
| true | Signal has triggers |
| false | Signal has no triggers |
| a_util::result::Result ddl::mapping::rt::MappingEngine::Map | ( | const std::string & | target_name, |
| handle_t & | mapped_signal ) |
Method to instanciate or expand the mapping structure for one particular target
| [in] | target_name | The target name |
| [out] | mapped_signal | - Destination parameter for the signal handle |
| a_util::result::Result ddl::mapping::rt::MappingEngine::reset | ( | ) |
Method to reset target buffers
| a_util::result::SUCCESS | Everything went fine |
| ERR_FAILED | Error during runtime |
| a_util::result::Result ddl::mapping::rt::MappingEngine::setConfiguration | ( | const MapConfiguration & | config | ) |
Setter for the current mapping configuration
| [in] | config | - The Configuration instance |
| a_util::result::SUCCESS | Everything went fine |
| a_util::result::Result ddl::mapping::rt::MappingEngine::start | ( | ) |
Method to start mapping
| a_util::result::SUCCESS | Everything went fine |
| ERR_FAILED | Error during runtime |
| a_util::result::Result ddl::mapping::rt::MappingEngine::stop | ( | ) |
Method to stop mapping
| a_util::result::SUCCESS | Everything went fine |
| a_util::result::Result ddl::mapping::rt::MappingEngine::unmap | ( | handle_t | mapped_signal | ) |
| a_util::result::Result ddl::mapping::rt::MappingEngine::unmapAll | ( | ) |
Method to reinitialize the existing mapping structure
| a_util::result::SUCCESS | Everything went fine |
| ERR_FAILED | Error during reinitialization |