ADTF
Loading...
Searching...
No Matches
ddl::mapping::MemorySource Class Referenceabstract

Source memory base class for sources representing a continuous memory buffer. More...

#include <mapper_interfaces.h>

Inherits ddl::mapping::Source.

Inherited by ddl::mapping::MapperElementBase< MemorySource >.

Public Member Functions

virtual size_t getExpectedDataSize () const =0
 Get the expected data size in bytes.
 
virtual void updateMemory (std::shared_ptr< const Memory > memory)=0
 Update the sources memory buffer.
 
- Public Member Functions inherited from ddl::mapping::Source
virtual std::vector< std::string > getAllValues () const =0
 Get all value names.
 
virtual std::shared_ptr< const SourceValuegetValue (const std::string &value_name) const =0
 Get the value source 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 PropertiesgetProperties () const =0
 Get the Properties.
 

Detailed Description

Source memory base class for sources representing a continuous memory buffer.

Member Function Documentation

◆ getExpectedDataSize()

virtual size_t ddl::mapping::MemorySource::getExpectedDataSize ( ) const
pure virtual

Get the expected data size in bytes.

Returns
size_t

Implemented in ddl::mapping::DDLSource.

◆ updateMemory()

virtual void ddl::mapping::MemorySource::updateMemory ( std::shared_ptr< const Memory > memory)
pure virtual

Update the sources memory buffer.

Parameters
memorythe memory for the underlying source implementation

Implemented in ddl::mapping::DDLSource.


The documentation for this class was generated from the following file: