ADTF  3.18.2
DataType< float >

The datatype for float. More...

Inheritance diagram for DataType< float >:
[legend]

Public Member Functions

 DataType (const std::string &name)
 CTOR. More...
 
 DataType ()
 CTOR. More...
 
- Public Member Functions inherited from DataType
 DataType ()
 default CTOR
 
 DataType (const DataType &)=default
 copy CTOR
 
 DataType (DataType &&)=default
 move CTOR
 
DataTypeoperator= (const DataType &)=default
 copy assignment operator. More...
 
DataTypeoperator= (DataType &&)=default
 move assignment operator. More...
 
 DataType (const std::string &name, size_t bit_size, const std::string &description={}, OptionalSize array_size={}, const std::string &unit_name={}, const std::string &minimum_value={}, const std::string &maximum_value={}, OptionalSize default_type_alignment={})
 CTOR. More...
 
 DataType (const std::initializer_list< std::string > &initializer)
 CTOR with initializer. More...
 
virtual ~DataType ()=default
 DTOR.
 
bool operator== (const DataType &other) const
 equality operator. More...
 
bool operator!= (const DataType &other) const
 non equality operator. More...
 
TypeOfType getTypeOfType () const override
 Get the Type Of the Type (data_type, enum_type, struct_type, stream_meta_type). More...
 
void setName (const std::string &name) override
 Set the Name. More...
 
size_t getBitSize () const
 Get the Bit Size. More...
 
void setBitSize (size_t size)
 Set the Bit Size. More...
 
OptionalSize getArraySize () const
 Get the Array Size (optional) More...
 
void setArraySize (OptionalSize array_size)
 Set the Array Size object. More...
 
const std::string & getUnitName () const
 Get the Unit Name. More...
 
void setUnitName (const std::string &unit_name)
 Set the Unit Name. More...
 
const std::string & getMin () const
 Get the Min Value for information (introduced in DDL 3.0) More...
 
void setMin (const std::string &minimum_value)
 Set the Min (introduced in DDL 3.0) More...
 
const std::string & getMax () const
 Get the Max Value for information (introduced in DDL 3.0) More...
 
void setMax (const std::string &maximum_value)
 Set the Max (introduced in DDL 3.0) More...
 
const std::string & getDescription () const
 Get the Description. More...
 
void setDescription (const std::string &description)
 Set the Description. More...
 
const OptionalSizegetDefaultAlignment () const
 Get the default Alignment if set. More...
 
- Public Member Functions inherited from TypeBase
 TypeBase ()=default
 CTOR.
 
 TypeBase (const TypeBase &)=default
 copy CTOR
 
 TypeBase (TypeBase &&)=default
 move CTOR
 
TypeBaseoperator= (const TypeBase &)=default
 copy assignment operator More...
 
TypeBaseoperator= (TypeBase &&)=default
 move assignment operator More...
 
 TypeBase (const std::string &name)
 CTOR. More...
 
virtual ~TypeBase ()=default
 DTOR.
 
const std::string & getName () const
 Get the Name. More...
 
- Public Member Functions inherited from ModelSubjectUtility< MODEL_SUBJECT_T, EVENT_CODE_T >
 ModelSubjectUtility ()=default
 CTOR.
 
 ModelSubjectUtility (const ModelSubjectUtility &)
 copy CTOR which removes the observers in case of!
 
ModelSubjectUtilityoperator= (const ModelSubjectUtility &)
 copy assignment operator which removes the observers in case of! More...
 
virtual ~ModelSubjectUtility ()=default
 DTOR.
 
void attachObserver (observer_type *observer)
 adda a observer to notify. More...
 
void detachObserver (observer_type *observer)
 remove a observer if in list. More...
 
- Public Member Functions inherited from InfoMap
 InfoMap ()=default
 CTOR.
 
 InfoMap (const InfoMap &)
 copy CTOR More...
 
 InfoMap (InfoMap &&)
 move CTOR More...
 
InfoMapoperator= (const InfoMap &)
 copy assignment operator More...
 
InfoMapoperator= (InfoMap &&)
 move assignment operator More...
 
template<typename INFO_T >
const INFO_T * getInfo () const
 Get the Info Pointer. More...
 
template<typename INFO_T >
INFO_T * getInfo ()
 Get the Info Pointer. More...
 
template<typename INFO_T >
void setInfo (const std::shared_ptr< INFO_T > &info)
 Set the Info object as shared pointer. More...
 

Additional Inherited Members

- Public Types inherited from ModelSubjectUtility< MODEL_SUBJECT_T, EVENT_CODE_T >
typedef EVENT_CODE_T event_code_type
 local definition of the event code type
 
typedef MODEL_SUBJECT_T subject_type
 local definition of the subject type
 
typedef ModelObserverUtility< MODEL_SUBJECT_T, EVENT_CODE_T > observer_type
 local definition of the observer type to notify
 
- Protected Member Functions inherited from ModelSubjectUtility< MODEL_SUBJECT_T, EVENT_CODE_T >
void notifyChanged (event_code_type event_code, subject_type &changed_subject, const std::string &additional_info)
 helper utility function to notify the current observers More...
 
- Protected Attributes inherited from TypeBase
std::string _name
 name storage value
 

Detailed Description

The datatype for float.

Template Parameters
float

Definition at line 180 of file dd_predefined_datatypes.h.

Constructor & Destructor Documentation

◆ DataType() [1/2]

DataType ( const std::string &  name)
inline

CTOR.

creates the datatype with a different name then defined by default.

Parameters
namethe name to use for the datatype.

Definition at line 187 of file dd_predefined_datatypes.h.

◆ DataType() [2/2]

DataType ( )
inline

CTOR.

creates the datatype with the default name for the type float.

Definition at line 202 of file dd_predefined_datatypes.h.