14 #ifndef __INCLUDED_SCOPIRA_AGENT_AGENT_H__ 15 #define __INCLUDED_SCOPIRA_AGENT_AGENT_H__ 19 #include <scopira/basekit/narray.h> 20 #include <scopira/tool/object.h> 21 #include <scopira/tool/uuid.h> 22 #include <scopira/tool/bufferflow.h> 23 #include <scopira/tool/export.h> 24 #include <scopira/agent/task.h> 84 SCOPIRA_EXPORT uuid_query &
match_any(
void);
104 SCOPIRA_EXPORT uuid_query &
op_and(
void);
109 SCOPIRA_EXPORT uuid_query &
op_or(
void);
114 SCOPIRA_EXPORT uuid_query &
op_xor(
void);
119 SCOPIRA_EXPORT uuid_query &
op_not(
void);
134 std::vector<size_t> dm_exp;
135 std::vector<scopira::tool::uuid> dm_data;
192 SCOPIRA_EXPORT
static agent_i * new_agent(
void);
199 SCOPIRA_EXPORT
static bool get_cluster_server_url(std::string &serverurl);
202 SCOPIRA_EXPORT
virtual ~
agent_i();
205 SCOPIRA_EXPORT
virtual void notify_stop(
void) = 0;
208 SCOPIRA_EXPORT
virtual void wait_stop(
void) = 0;
211 SCOPIRA_EXPORT
virtual void enqueue_network_quit(
void) = 0;
215 SCOPIRA_EXPORT
virtual bool failed(
void)
const = 0;
227 SCOPIRA_EXPORT
virtual int universe_size(
void) = 0;
231 SCOPIRA_EXPORT
virtual scopira::tool::uuid launch_group(
int numps,
const std::type_info &t) = 0;
232 SCOPIRA_EXPORT
virtual void launch_slaves(
scopira::tool::uuid masterid,
int numtotalps,
const std::type_info &t,
251 SCOPIRA_EXPORT
static agent_i *dm_instance;
uuid_query & match_any(void)
Definition: archiveflow.h:20
uuid_query & match_one(scopira::tool::uuid id)
static agent_i * instance(void)
Definition: agent.h:184
uuid_query & match_group(scopira::basekit::const_nslice< scopira::tool::uuid > ids)
bool query(scopira::tool::uuid testid) const
uuid_query & op_and(void)
uuid_query & op_not(void)
Definition: context.h:132
uuid_query & op_xor(void)