#include <onelab.h>
|
| | parameterSpace () |
| |
| | ~parameterSpace () |
| |
| void | clear (const std::string &name="", const std::string &client="") |
| |
| bool | set (const number &p, const std::string &client="") |
| |
| bool | set (const string &p, const std::string &client="") |
| |
| bool | get (std::vector< number > &ps, const std::string &name="", const std::string &client="") |
| |
| bool | get (std::vector< string > &ps, const std::string &name="", const std::string &client="") |
| |
| void | getPtr (number **ptr, const std::string &name, const std::string &client="") |
| |
| void | getPtr (string **ptr, const std::string &name, const std::string &client="") |
| |
| void | getAllParameters (std::set< parameter *, parameterLessThan > &ps) const |
| |
| int | getNumParameters () |
| |
| void | getParameterNames (std::vector< std::string > &names, const std::string &search="") const |
| |
| bool | hasClient (const std::string &client) const |
| |
| int | getChanged (const std::string &client="") const |
| |
| void | setChanged (int changed, const std::string &client="") |
| |
| void | thresholdChanged (int threshold, const std::string &client="") |
| |
| std::vector< std::string > | toChar (const std::string &client="") const |
| |
| bool | fromChar (const std::vector< std::string > &msg, const std::string &client="") |
| |
| bool | toJSON (std::string &json, const std::string &creator="", const std::string &client="") const |
| |
| bool | fromJSON (const std::string &json, const std::string &client="") |
| |
| bool | fromJSON (const picojson::value::object &par, const std::string &client="") |
| |
|
| template<class T > |
| bool | _clear (const std::string &name, const std::string &client, std::set< T *, parameterLessThan > &ps) |
| |
| template<class T > |
| bool | _set (const T &p, const std::string &client, std::set< T *, parameterLessThan > &ps) |
| |
| template<class T > |
| bool | _get (std::vector< T > &p, const std::string &name, const std::string &client, std::set< T *, parameterLessThan > &ps) |
| |
| template<class T > |
| T * | _getPtr (std::string name, const std::string client, std::set< T *, parameterLessThan > ps) |
| |
Definition at line 842 of file onelab.h.
◆ parameterSpace()
| onelab::parameterSpace::parameterSpace |
( |
| ) |
|
|
inline |
◆ ~parameterSpace()
| onelab::parameterSpace::~parameterSpace |
( |
| ) |
|
|
inline |
◆ _clear()
template<class T >
| bool onelab::parameterSpace::_clear |
( |
const std::string & |
name, |
|
|
const std::string & |
client, |
|
|
std::set< T *, parameterLessThan > & |
ps |
|
) |
| |
|
inlineprivate |
◆ _get()
template<class T >
| bool onelab::parameterSpace::_get |
( |
std::vector< T > & |
p, |
|
|
const std::string & |
name, |
|
|
const std::string & |
client, |
|
|
std::set< T *, parameterLessThan > & |
ps |
|
) |
| |
|
inlineprivate |
◆ _getPtr()
template<class T >
| T* onelab::parameterSpace::_getPtr |
( |
std::string |
name, |
|
|
const std::string |
client, |
|
|
std::set< T *, parameterLessThan > |
ps |
|
) |
| |
|
inlineprivate |
◆ _set()
template<class T >
| bool onelab::parameterSpace::_set |
( |
const T & |
p, |
|
|
const std::string & |
client, |
|
|
std::set< T *, parameterLessThan > & |
ps |
|
) |
| |
|
inlineprivate |
◆ clear()
| void onelab::parameterSpace::clear |
( |
const std::string & |
name = "", |
|
|
const std::string & |
client = "" |
|
) |
| |
|
inline |
◆ fromChar()
| bool onelab::parameterSpace::fromChar |
( |
const std::vector< std::string > & |
msg, |
|
|
const std::string & |
client = "" |
|
) |
| |
|
inline |
◆ fromJSON() [1/2]
◆ fromJSON() [2/2]
| bool onelab::parameterSpace::fromJSON |
( |
const std::string & |
json, |
|
|
const std::string & |
client = "" |
|
) |
| |
|
inline |
◆ get() [1/2]
| bool onelab::parameterSpace::get |
( |
std::vector< number > & |
ps, |
|
|
const std::string & |
name = "", |
|
|
const std::string & |
client = "" |
|
) |
| |
|
inline |
◆ get() [2/2]
| bool onelab::parameterSpace::get |
( |
std::vector< string > & |
ps, |
|
|
const std::string & |
name = "", |
|
|
const std::string & |
client = "" |
|
) |
| |
|
inline |
◆ getAllParameters()
◆ getChanged()
| int onelab::parameterSpace::getChanged |
( |
const std::string & |
client = "" | ) |
const |
|
inline |
◆ getNumParameters()
| int onelab::parameterSpace::getNumParameters |
( |
| ) |
|
|
inline |
◆ getParameterNames()
| void onelab::parameterSpace::getParameterNames |
( |
std::vector< std::string > & |
names, |
|
|
const std::string & |
search = "" |
|
) |
| const |
|
inline |
◆ getPtr() [1/2]
| void onelab::parameterSpace::getPtr |
( |
number ** |
ptr, |
|
|
const std::string & |
name, |
|
|
const std::string & |
client = "" |
|
) |
| |
|
inline |
◆ getPtr() [2/2]
| void onelab::parameterSpace::getPtr |
( |
string ** |
ptr, |
|
|
const std::string & |
name, |
|
|
const std::string & |
client = "" |
|
) |
| |
|
inline |
◆ hasClient()
| bool onelab::parameterSpace::hasClient |
( |
const std::string & |
client | ) |
const |
|
inline |
◆ set() [1/2]
| bool onelab::parameterSpace::set |
( |
const number & |
p, |
|
|
const std::string & |
client = "" |
|
) |
| |
|
inline |
◆ set() [2/2]
| bool onelab::parameterSpace::set |
( |
const string & |
p, |
|
|
const std::string & |
client = "" |
|
) |
| |
|
inline |
◆ setChanged()
| void onelab::parameterSpace::setChanged |
( |
int |
changed, |
|
|
const std::string & |
client = "" |
|
) |
| |
|
inline |
◆ thresholdChanged()
| void onelab::parameterSpace::thresholdChanged |
( |
int |
threshold, |
|
|
const std::string & |
client = "" |
|
) |
| |
|
inline |
◆ toChar()
| std::vector<std::string> onelab::parameterSpace::toChar |
( |
const std::string & |
client = "" | ) |
const |
|
inline |
◆ toJSON()
| bool onelab::parameterSpace::toJSON |
( |
std::string & |
json, |
|
|
const std::string & |
creator = "", |
|
|
const std::string & |
client = "" |
|
) |
| const |
|
inline |
◆ _mutex
| std::mutex onelab::parameterSpace::_mutex |
|
private |
◆ _numbers
◆ _strings
The documentation for this class was generated from the following file: