Dev Essential  1.6.3
Loading...
Searching...
No Matches
ddl::mapping::Target Class Referenceabstract

Mapping Target base class. More...

#include <mapper_interfaces.h>

Inherits ddl::mapping::MapperElement, and ddl::mapping::Updateable.

Inherited by ddl::mapping::MemoryTarget.

Public Member Functions

virtual std::vector< std::string > getAllValues () const =0
 Get all value names.
 
virtual std::shared_ptr< TargetValuegetValue (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 PropertiesgetProperties () 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.
 
virtual void reset ()
 Function callback interface that is called if a value is about to be reset.
 

Detailed Description

Mapping Target base class.

Member Function Documentation

◆ getAllValues()

virtual std::vector< std::string > ddl::mapping::Target::getAllValues ( ) const
pure virtual

Get all value names.

Returns
std::vector<std::string>

Implemented in ddl::mapping::DDLTarget.

◆ getValue()

virtual std::shared_ptr< TargetValue > ddl::mapping::Target::getValue ( const std::string & value_name) const
pure virtual

Get the value Target with a certain name.

Parameters
value_namethe name of the value target to retrieve
Returns
std::shared_ptr<TargetValue>

Implemented in ddl::mapping::DDLTarget.


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