class deployment_generator {
public:
deployment_generator();
+ virtual ~deployment_generator() { }
size_t size() const { return hosts.size(); }
void set_load(int host, double load);
std::string description;
creator_base(const std::string& descr): description(descr) { }
creator_base(const char* descr): description(descr) { }
+ virtual ~creator_base() { }
virtual Base* operator()() const = 0;
};
std::string description;
creator_base(const std::string& descr): description(descr) { }
creator_base(const char* descr): description(descr) { }
+ virtual ~creator_base() { }
virtual Base* operator()(Arg1, Arg2) const = 0;
};