X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=source%2Fcomm%2FRoundRobinDelivery.cpp;h=553dadc4cbb6140ec5a1d1f207468b44b4d7a302;hp=9c48bbf022adb4fa917a975ce9170b67e45aa102;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/source/comm/RoundRobinDelivery.cpp b/source/comm/RoundRobinDelivery.cpp index 9c48bbf..553dadc 100644 --- a/source/comm/RoundRobinDelivery.cpp +++ b/source/comm/RoundRobinDelivery.cpp @@ -28,13 +28,13 @@ using namespace std; using namespace anna; void comm::RoundRobinDelivery::do_initialize() -throw(RuntimeException) { +noexcept(false) { LOGMETHOD(TraceMethod tm("comm::RoundRobinDelivery", "do_initialize", ANNA_FILE_LOCATION)); a_iiserver = comm::Delivery::begin(); } comm::Resource* comm::RoundRobinDelivery::do_apply() -throw(RuntimeException) { +noexcept(false) { LOGMETHOD(TraceMethod tm(Logger::Local7, "comm::RoundRobinDelivery", "do_apply", ANNA_FILE_LOCATION)); comm::Resource* result = NULL; @@ -58,7 +58,7 @@ throw(RuntimeException) { } comm::RoundRobinDelivery::iterator comm::RoundRobinDelivery::advance() -throw() { +{ a_iiserver ++; if(a_iiserver == comm::Delivery::end()) @@ -68,7 +68,7 @@ throw() { } string comm::RoundRobinDelivery::asString() const -throw() { +{ string result = className(); result += " { "; result += comm::Service::asString(); @@ -76,7 +76,7 @@ throw() { } xml::Node* comm::RoundRobinDelivery::asXML(xml::Node* parent) const -throw() { +{ xml::Node* node = parent->createChild("comm.RoundRobinDelivery"); comm::Service::asXML(node); return node;