ADTF  3.18.2
ddl::mapping Namespace Reference

definition of the mapping namespace More...

Namespaces

 oo
 definition of the dd namespace for mapping
 
 rt
 definition of the rt namespace for mapping
 

Classes

class  MapAssignment
 MapAssignment. More...
 
class  MapConfiguration
 MapConfiguration is the central class of the mapping::dd namespace. More...
 
class  MapHeader
 MapHeader contains all information from the header-Tag of a mapping configuration. More...
 
class  MapSource
 MapSource represents a mapping source from the configuration file. More...
 
class  MapTarget
 MapTarget represents a mapped target from the mapping configuration. More...
 
class  MapTransformationBase
 cMapTransformation forms a base class for a single transformation More...
 
class  MapPolynomTransformation
 MapPolynomTransformation represents a polynom transformation in the configuration api as well as the actual implementation of the transformation in the evaluate method. More...
 
class  MapEnumTableTransformation
 MapEnumTableTransformation represents a transformation between to enumerations. More...
 
class  MapTriggerBase
 cMapTrigger forms a base class for a trigger contained in the configuration More...
 
class  MapPeriodicTrigger
 implementation of a periodic trigger in the configuration api More...
 
class  MapSignalTrigger
 implementation of a signal trigger in the configuration api More...
 
class  MapDataTrigger
 implementation of a data trigger in the configuration api More...
 

Typedefs

typedef std::vector< std::string > MapErrorList
 container type for mapping errors
 
typedef std::vector< MapAssignmentMapAssignmentList
 Public composite types used in the mapping::dd namespace.
 
typedef std::vector< MapSourceMapSourceList
 Public composite types used in the mapping::dd namespace.
 
typedef std::set< std::string > MapSourceNameList
 defintion of MapSource name list
 
typedef std::vector< MapTargetMapTargetList
 Public composite types used in the mapping::dd namespace.
 
typedef std::vector< MapTransformationBase * > MapTransformationList
 Public composite types used in the mapping::dd namespace.
 
typedef std::vector< MapTriggerBase * > MapTriggerList
 Public composite types used in the mapping::dd namespace.
 
typedef std::map< std::string, uint8_t > TypeMap
 String -> Datatype Enum Map.
 

Enumerations

enum  DataTypes {
  e_uint8 = 1 , e_uint16 , e_uint32 , e_uint64 ,
  e_int8 , e_int16 , e_int32 , e_int64 ,
  e_float32 , e_float64 , e_bool , e_char
}
 Enum for all relevant data types.
 

Functions

bool operator== (const MapAssignment &a, const MapAssignment &b)
 compares the Assignments More...
 
bool operator!= (const MapAssignment &a, const MapAssignment &b)
 compares the Assignments More...
 
bool operator== (const MapSource &a, const MapSource &b)
 compares MapSources in type and name More...
 
bool operator!= (const MapSource &a, const MapSource &b)
 compares MapSources in type and name More...
 
bool operator== (const MapTarget &a, const MapTarget &b)
 compares the targets More...
 
bool operator!= (const MapTarget &a, const MapTarget &b)
 compares the targets More...
 

Detailed Description

definition of the mapping namespace

Function Documentation

◆ operator!=() [1/3]

bool ddl::mapping::operator!= ( const MapAssignment a,
const MapAssignment b 
)
inline

compares the Assignments

Parameters
aleft Assignments
bright Assignments
Returns
false the Assignments are equal
true the Assignments are not equal

Definition at line 199 of file map_assignment.h.

◆ operator!=() [2/3]

bool ddl::mapping::operator!= ( const MapSource a,
const MapSource b 
)
inline

compares MapSources in type and name

Parameters
aleft source
bright source
Returns
false they are equal in type and name
true they are not equal in type and name

Definition at line 128 of file map_source.h.

◆ operator!=() [3/3]

bool ddl::mapping::operator!= ( const MapTarget a,
const MapTarget b 
)
inline

compares the targets

Parameters
aleft target
bright target
Returns
false the targets are equal
true the targets are not equal

Definition at line 245 of file map_target.h.

◆ operator==() [1/3]

bool ddl::mapping::operator== ( const MapAssignment a,
const MapAssignment b 
)
inline

compares the Assignments

Parameters
aleft Assignments
bright Assignments
Returns
true the Assignments are equal
false the Assignments are not equal

Definition at line 184 of file map_assignment.h.

References MapAssignment::getConstant(), MapAssignment::getFrom(), MapAssignment::getFunction(), MapAssignment::getModulo(), MapAssignment::getSource(), MapAssignment::getTo(), and MapAssignment::getTransformation().

◆ operator==() [2/3]

bool ddl::mapping::operator== ( const MapSource a,
const MapSource b 
)
inline

compares MapSources in type and name

Parameters
aleft source
bright source
Returns
true they are equal in type and name
false they are not equal in type and name

Definition at line 115 of file map_source.h.

References MapSource::getName(), and MapSource::getType().

◆ operator==() [3/3]

bool ddl::mapping::operator== ( const MapTarget a,
const MapTarget b 
)

compares the targets

Parameters
aleft target
bright target
Returns
true the targets are equal
false the targets are not equal