DDLSource implementation class representing a MemorySource that provides named source values for ddl based decoding.
More...
#include <mapping_ddl_source.h>
Inherits ddl::mapping::MapperElementBase< MemorySource >.
DDLSource implementation class representing a MemorySource that provides named source values for ddl based decoding.
◆ DDLSource()
| ddl::mapping::DDLSource::DDLSource |
( |
std::string | name, |
|
|
Properties | properties ) |
CTOR.
- Parameters
-
| name | the name of the instance |
| properties | the properties for the instance |
◆ getAllValues()
| std::vector< std::string > ddl::mapping::DDLSource::getAllValues |
( |
| ) |
const |
|
overridevirtual |
◆ getDefaultProperties()
| static Properties ddl::mapping::DDLSource::getDefaultProperties |
( |
| ) |
|
|
inlinestatic |
◆ getExpectedDataSize()
| size_t ddl::mapping::DDLSource::getExpectedDataSize |
( |
| ) |
const |
|
overridevirtual |
◆ getType()
| static std::string ddl::mapping::DDLSource::getType |
( |
| ) |
|
|
inlinestatic |
Get the Type as string to register within factory.
- Returns
- std::string
◆ getValue()
| std::shared_ptr< const SourceValue > ddl::mapping::DDLSource::getValue |
( |
const std::string & | value_name | ) |
const |
|
overridevirtual |
Get the value source with a certain name.
- Parameters
-
| value_name | the name of the value source to retrieve |
- Returns
- std::shared_ptr<const SourceValue>
Implements ddl::mapping::Source.
◆ updateMemory()
| void ddl::mapping::DDLSource::updateMemory |
( |
std::shared_ptr< const Memory > | memory | ) |
|
|
overridevirtual |
Update the sources memory buffer.
- Parameters
-
| memory | the memory for the underlying source implementation |
Implements ddl::mapping::MemorySource.
The documentation for this class was generated from the following file: