27 using namespace YACS::ENGINE;
37 for(std::size_t
i=oldSize;
i<sz;
i++)
49 for(std::vector<const Task *>::const_iterator it=nodes.begin();it!=nodes.end();it++)
54 throw Exception(
"Searching to allocate for a ServiceNode instance already declared as allocated !");
57 throw Exception(
"All ressources are already occupied ! You are expected to wait for released resources !");
69 throw Exception(
"Request to release a resource not declared as working !");
76 std::map< const Task *,std::size_t >::const_iterator it(
_currentlyWorking.find(node));
78 throw Exception(
"current Node to be located is not marked as launched !");
79 std::size_t
ret((*it).second);
110 throw Exception(
"Something wrong a node is still declared to be using the ressource !");
112 if((*it)->isAlreadyStarted(0))
113 throw Exception(
"Some of the containers have be started ! Please shutdown them before !");
119 throw Exception(
"The task has been found, but its id is not in the correct range ! resize of of container size during run ?");