#include <LOCA_Parameter_Entry.H>
Public Member Functions | |
Entry () | |
Default constructor. | |
virtual | ~Entry () |
Destructor. | |
virtual void | setValue (const ValueType &value)=0 |
Set parameter this object represents to value. | |
virtual ValueType | getValue () const =0 |
Get parameter value this object represents. | |
virtual void | setIsInLibrary ()=0 |
Informs entry that it is now stored in the library. |
This class provides the interface that all parameter entry classes should implement. It is templated on the ValueType, which is the type that the underlying parameter is stored as.
Definition at line 72 of file LOCA_Parameter_Entry.H.
LOCA::Parameter::Entry< ValueType >::Entry | ( | ) | [inline] |
virtual LOCA::Parameter::Entry< ValueType >::~Entry | ( | ) | [inline, virtual] |
virtual void LOCA::Parameter::Entry< ValueType >::setValue | ( | const ValueType & | value | ) | [pure virtual] |
Set parameter this object represents to value.
Implemented in LOCA::Parameter::StandardEntry< FunctorType, ValueType >.
Referenced by LOCA::Parameter::Library::setValue().
virtual ValueType LOCA::Parameter::Entry< ValueType >::getValue | ( | ) | const [pure virtual] |
Get parameter value this object represents.
Implemented in LOCA::Parameter::StandardEntry< FunctorType, ValueType >.
Referenced by LOCA::Parameter::Library::getValue().
virtual void LOCA::Parameter::Entry< ValueType >::setIsInLibrary | ( | ) | [pure virtual] |
Informs entry that it is now stored in the library.
This is used primarily for informing the entry on how to delete itself when deleting the library.
Implemented in LOCA::Parameter::StandardEntry< FunctorType, ValueType >.
Referenced by LOCA::Parameter::Library::addParameterEntry().