#include <onelab.h>
|
| server (const std::string &address="") |
|
| ~server () |
|
void | clear (const std::string &name="", const std::string &client="") |
|
template<class T > |
bool | set (const T &p, const std::string &client="") |
|
template<class T > |
bool | get (std::vector< T > &ps, const std::string &name="", const std::string &client="") |
|
citer | firstClient () |
|
citer | lastClient () |
|
int | getNumClients () |
|
citer | findClient (const std::string &name) |
|
void | registerClient (client *c) |
|
void | unregisterClient (client *c) |
|
void | setChanged (int changed, const std::string &client="") |
|
int | getChanged (const std::string &client="") |
|
void | thresholdChanged (int value, const std::string &client="") |
|
int | getNumParameters () |
|
void | getParameterNames (std::vector< std::string > &names, const std::string &search="") const |
|
std::vector< std::string > | toChar (const std::string &client="") |
|
bool | fromChar (const std::vector< std::string > &msg, const std::string &client="") |
|
bool | toFile (FILE *fp, const std::string &client="") |
|
bool | fromFile (FILE *fp, const std::string &client="") |
|
bool | toJSON (std::string &json, const std::string &client="") |
|
bool | fromJSON (const std::string &json, const std::string &client="") |
|
Definition at line 1295 of file onelab.h.
◆ citer
◆ server()
onelab::server::server |
( |
const std::string & |
address = "" | ) |
|
|
inline |
◆ ~server()
onelab::server::~server |
( |
| ) |
|
|
inline |
◆ clear()
void onelab::server::clear |
( |
const std::string & |
name = "" , |
|
|
const std::string & |
client = "" |
|
) |
| |
|
inline |
◆ findClient()
citer onelab::server::findClient |
( |
const std::string & |
name | ) |
|
|
inline |
◆ firstClient()
citer onelab::server::firstClient |
( |
| ) |
|
|
inline |
◆ fromChar()
bool onelab::server::fromChar |
( |
const std::vector< std::string > & |
msg, |
|
|
const std::string & |
client = "" |
|
) |
| |
|
inline |
◆ fromFile()
bool onelab::server::fromFile |
( |
FILE * |
fp, |
|
|
const std::string & |
client = "" |
|
) |
| |
|
inline |
◆ fromJSON()
bool onelab::server::fromJSON |
( |
const std::string & |
json, |
|
|
const std::string & |
client = "" |
|
) |
| |
|
inline |
◆ get()
template<class T >
bool onelab::server::get |
( |
std::vector< T > & |
ps, |
|
|
const std::string & |
name = "" , |
|
|
const std::string & |
client = "" |
|
) |
| |
|
inline |
◆ getChanged()
int onelab::server::getChanged |
( |
const std::string & |
client = "" | ) |
|
|
inline |
◆ getNumClients()
int onelab::server::getNumClients |
( |
| ) |
|
|
inline |
◆ getNumParameters()
int onelab::server::getNumParameters |
( |
| ) |
|
|
inline |
◆ getParameterNames()
void onelab::server::getParameterNames |
( |
std::vector< std::string > & |
names, |
|
|
const std::string & |
search = "" |
|
) |
| const |
|
inline |
◆ instance()
static server* onelab::server::instance |
( |
const std::string & |
address = "" | ) |
|
|
inlinestatic |
◆ lastClient()
citer onelab::server::lastClient |
( |
| ) |
|
|
inline |
◆ registerClient()
void onelab::server::registerClient |
( |
client * |
c | ) |
|
|
inline |
◆ set()
template<class T >
bool onelab::server::set |
( |
const T & |
p, |
|
|
const std::string & |
client = "" |
|
) |
| |
|
inline |
◆ setChanged()
void onelab::server::setChanged |
( |
int |
changed, |
|
|
const std::string & |
client = "" |
|
) |
| |
|
inline |
◆ setInstance()
static void onelab::server::setInstance |
( |
server * |
s | ) |
|
|
inlinestatic |
◆ thresholdChanged()
void onelab::server::thresholdChanged |
( |
int |
value, |
|
|
const std::string & |
client = "" |
|
) |
| |
|
inline |
◆ toChar()
std::vector<std::string> onelab::server::toChar |
( |
const std::string & |
client = "" | ) |
|
|
inline |
◆ toFile()
bool onelab::server::toFile |
( |
FILE * |
fp, |
|
|
const std::string & |
client = "" |
|
) |
| |
|
inline |
◆ toJSON()
bool onelab::server::toJSON |
( |
std::string & |
json, |
|
|
const std::string & |
client = "" |
|
) |
| |
|
inline |
◆ unregisterClient()
void onelab::server::unregisterClient |
( |
client * |
c | ) |
|
|
inline |
◆ _address
std::string onelab::server::_address |
|
private |
◆ _clients
std::set<client *> onelab::server::_clients |
|
private |
◆ _parameterSpace
Definition at line 1304 of file onelab.h.
Referenced by clear(), fromChar(), fromJSON(), get(), getChanged(), getNumParameters(), getParameterNames(), set(), setChanged(), thresholdChanged(), toChar(), and toJSON().
◆ _server
server* onelab::server::_server |
|
staticprivate |
The documentation for this class was generated from the following file: