![]() |
Iguana 1.0.0
Implementation Guardian of Analysis Algorithms
|
#include <GlobalParam.h>
a globally accessible parameter
A global parameter has the following properties
Definition at line 20 of file GlobalParam.h.
Public Member Functions | |
| GlobalParam (T val) | |
| T const | operator() () |
| get the value of the parameter | |
| GlobalParam< T > & | operator= (T const &val) |
| assign a new value to this parameter | |
| Public Member Functions inherited from iguana::Object | |
| std::unique_ptr< Logger > & | GetLog () |
| std::string | GetName () const |
| std::unique_ptr< Logger > & | Log () |
| Object (std::string_view name="", Logger::Level lev=Logger::DEFAULT_LEVEL) | |
| void | SetLogLevel (Logger::Level const lev) |
| void | SetLogLevel (std::string_view lev) |
| void | SetName (std::string_view name) |
Additional Inherited Members | |
| Protected Attributes inherited from iguana::Object | |
| std::unique_ptr< Logger > | m_log |
| Logger instance for this object | |
| std::string | m_name |
| The name of this object. | |

|
inline |
| val | the initial value of this parameter |
Definition at line 26 of file GlobalParam.h.
|
inline |
get the value of the parameter
Definition at line 44 of file GlobalParam.h.
|
inline |
assign a new value to this parameter
| val | the new value of this parameter |
Definition at line 35 of file GlobalParam.h.