15 #define GRID_SAVE_FILE "gridComputing.grid"
27 ExistingGrid(
const std::string& name) : std::runtime_error(
"Grid already exists"),
_name(name) {}
41 UnknownGrid(
const std::string& name) : std::runtime_error(
"Grid not found"),
_name(name) {}
52 std::map<std::string, Grid*>
_bst;
66 void NewGrid(
const std::string& name,
const std::string& topic);
68 void ChangeGridName(
const std::string& oldName,
const std::string& newName);
70 void ChangeGridTopic(
const std::string& name,
const std::string& newTopic);
105 std::vector<const Grid*>
ApplyPredicate(std::function<
bool(
const Grid*)> predicate)
const;
114 #endif // GRIDNETWORK_H_