7#ifndef broker_h_included
8#define broker_h_included
23 std::map<int, Broker *> brokers;
28 mutable std::string lastError;
37 inline void setLastError(
const std::string &error)
const;
59 std::map<std::string, Operator *> operators;
60 std::map<std::string, bool> deletables;
64 void assign(
const std::string &fname,
Operator *o,
bool deletable =
false);
Broker * getBroker(int state)
void assign(const std::string &fname, Operator *o)
void setLastError(const std::string &error) const
Operator * getOperator(int state, const std::string &name) const
void addCapability(const std::string &c)
static BrokerFactory & getInstance(void)
const std::string & getLastError(void) const
Operator * get(const std::string &name) const
Operator::ParseResult parseStub(Request &cmd)
void assign(const std::string &fname, Operator *o, bool deletable=false)
Declaration of all operators.