|
Dev Essential
1.6.3
|
Memory Target base class that represents a continuous memory buffer. More...
#include <mapper_interfaces.h>
Inherits ddl::mapping::Target.
Inherited by ddl::mapping::MapperElementBase< MemoryTarget >.
Public Member Functions | |
| ~MemoryTarget () override=default | |
| DTOR. | |
| virtual size_t | getExpectedDataSize () const =0 |
| Get the expected data size of the buffer. | |
| virtual void | updateMemory (std::shared_ptr< Memory > memory)=0 |
| Sets the target's memory buffer where to set the values to. | |
| void | reset () override |
| resets the current memory buffer | |
Public Member Functions inherited from ddl::mapping::Target | |
| virtual std::vector< std::string > | getAllValues () const =0 |
| Get all value names. | |
| virtual std::shared_ptr< TargetValue > | getValue (const std::string &value_name) const =0 |
| Get the value Target with a certain name. | |
Public Member Functions inherited from ddl::mapping::MapperElement | |
| virtual | ~MapperElement ()=default |
| DTOR. | |
| virtual const std::string & | getName () const =0 |
| Get the Name. | |
| virtual const Properties & | getProperties () const =0 |
| Get the Properties. | |
Public Member Functions inherited from ddl::mapping::Updateable | |
| virtual void | updateBegin (std::chrono::nanoseconds) |
| Function callback interface that is called before a value will be updated. | |
| virtual void | updateEnd () |
| Function callback interface that is called after a value was updated. | |
|
pure virtual |
|
inlineoverridevirtual |
resets the current memory buffer
Reimplemented from ddl::mapping::Updateable.
|
pure virtual |
Sets the target's memory buffer where to set the values to.
| memory | the memory buffer |
Implemented in ddl::mapping::DDLTarget.