X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=source%2Ftimex%2Finternal%2FTickConsumer.cpp;fp=source%2Ftimex%2Finternal%2FTickConsumer.cpp;h=e037944b604683534d19543737e6b2a5ac515040;hp=4a364049f96679e89c1f1dd448f3ef68ad977c05;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/source/timex/internal/TickConsumer.cpp b/source/timex/internal/TickConsumer.cpp index 4a36404..e037944 100644 --- a/source/timex/internal/TickConsumer.cpp +++ b/source/timex/internal/TickConsumer.cpp @@ -27,7 +27,7 @@ using namespace anna; // (2) Puede ser que se invoque mas de una vez. //-------------------------------------------------------------------------------------------- void anna::timex::TickConsumer::initialize() -throw(RuntimeException) { +noexcept(false) { if(a_pipe [0] != -1) // (2) return; @@ -41,7 +41,7 @@ throw(RuntimeException) { } void anna::timex::TickConsumer::apply() -throw(RuntimeException) { +noexcept(false) { char buffer [256]; if(a_pipe [0] == -1) @@ -65,7 +65,7 @@ throw(RuntimeException) { } void anna::timex::TickConsumer::finalize() -throw() { +{ if(a_timeController.a_tickProducer) a_timeController.a_tickProducer->requestStop(); } @@ -79,7 +79,7 @@ throw() { * el control de tiempos. */ void anna::timex::TickConsumer::clone() -throw(RuntimeException) { +noexcept(false) { close(a_pipe [0]); close(a_pipe [1]); @@ -96,7 +96,7 @@ throw(RuntimeException) { } std::string anna::timex::TickConsumer::asString() const -throw() { +{ string result("timex::TickConsumer { "); result += Handler::asString(); return result += functions::asString(" | Pipe (Read = %d, Write = %d) } ", a_pipe [0], a_pipe [1]);