X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=source%2Ftest%2FControl.cpp;fp=source%2Ftest%2FControl.cpp;h=6daab72d32ba8434c61e1a8a481261accfcf6734;hp=d5c78e42c486a0b08e84d65f52b7ce9bc2eca913;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/source/test/Control.cpp b/source/test/Control.cpp index d5c78e4..6daab72 100644 --- a/source/test/Control.cpp +++ b/source/test/Control.cpp @@ -40,7 +40,7 @@ test::Control::Control (comm::Communicator* engine) : {;} bool test::Control::canContinue (const comm::socket::Client&) - throw (RuntimeException) + noexcept(false) { LOGMETHOD (TraceMethod ttmm (Logger::Local7, "test::Control::canContinue", ANNA_FILE_LOCATION)); @@ -60,7 +60,7 @@ bool test::Control::canContinue (const comm::socket::Client&) } void test::Control::delay () - throw (RuntimeException) + noexcept(false) { LOGMETHOD (TraceMethod ttmm (Logger::Local7, "test::Control::delay", ANNA_FILE_LOCATION)); @@ -88,7 +88,7 @@ void test::Control::delay () // Aproximación del valor que lleva en mensaje en cola I/O Millisecond test::Control::latency (const Millisecond& init) - throw (RuntimeException) + noexcept(false) { LOGMETHOD (TraceMethod ttmm (Logger::Local7, "test::Control::latency", ANNA_FILE_LOCATION)); @@ -105,7 +105,7 @@ Millisecond test::Control::latency (const Millisecond& init) } void test::Control::report () - throw () + { const Millisecond serviceTime = anna::Millisecond::getTime () - a_initTime; @@ -131,7 +131,7 @@ void test::Control::report () } void test::Control::stop () - throw (RuntimeException) + noexcept(false) { if (a_engine.hasRequestedStop () == true) return; @@ -141,7 +141,7 @@ void test::Control::stop () } xml::Node* test::Control::asXML (xml::Node* parent) - throw () + { xml::Node* result = parent->createChild ("test.Control");