// (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;
}
void anna::timex::TickConsumer::apply()
-throw(RuntimeException) {
+noexcept(false) {
char buffer [256];
if(a_pipe [0] == -1)
}
void anna::timex::TickConsumer::finalize()
-throw() {
+{
if(a_timeController.a_tickProducer)
a_timeController.a_tickProducer->requestStop();
}
* el control de tiempos.
*/
void anna::timex::TickConsumer::clone()
-throw(RuntimeException) {
+noexcept(false) {
close(a_pipe [0]);
close(a_pipe [1]);
}
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]);