// en que realmente llega la seal de ualarm.
//--------------------------------------------------------------------------------------------
void anna::timex::Engine::do_initialize()
-throw(RuntimeException) {
+noexcept(false) {
LOGMETHOD(TraceMethod tm("timex::Engine", "do_initialize", ANNA_FILE_LOCATION));
if(a_maxQuantum > 0) {
// Reimplementado de app::Component
void anna::timex::Engine::do_cloneParent()
-throw() {
+{
}
/*
* Instala la senhal de tick en el proceso, ya que la alarma no se hereda directamente.
*/
void anna::timex::Engine::do_cloneChild()
-throw(RuntimeException) {
+noexcept(false) {
}
//----------------------------------------------------------------------------
// en el 'pipe'.
//----------------------------------------------------------------------------
void anna::timex::Engine::pause()
-throw(RuntimeException) {
+noexcept(false) {
Guard guard(this, "timex::Engine (pause)");
if(a_tickProducer->isInPause() == false) {
}
void anna::timex::Engine::play()
-throw(RuntimeException) {
+noexcept(false) {
Guard guard(this, "timex::Engine (play)");
if(a_tickProducer->isInPause() == true) {
}
void anna::timex::Engine::activate(timex::TimeEvent* timeEvent)
-throw(RuntimeException) {
+noexcept(false) {
LOGMETHOD(TraceMethod tm(Logger::Local7, "timex::Engine", "activate", ANNA_FILE_LOCATION));
if(a_maxQuantum == 0)
}
anna::timex::TimeEvent* anna::timex::Engine::getTimeEvent(const timex::TimeEvent::Id eventTimeId)
-throw() {
+{
LOGMETHOD(TraceMethod tm(Logger::Local7, "timex::Engine", "getTimeEvent", ANNA_FILE_LOCATION));
Directory::iterator iid;
TimeEvent* result(NULL);
}
void anna::timex::Engine::cancel(timex::TimeEvent* timeEvent)
-throw(RuntimeException) {
+noexcept(false) {
LOGMETHOD(TraceMethod tm(Logger::Local7, "timex::Engine", "cancel", ANNA_FILE_LOCATION));
if(timeEvent == NULL)
}
void anna::timex::Engine::do_stop()
-throw() {
+{
LOGMETHOD(TraceMethod tm("timex::Engine", "do_stop", ANNA_FILE_LOCATION));
Quantum::iterator ii, maxii;
Guard guard(this, "timex::Engine (do_stop)");
}
void anna::timex::Engine::kill()
-throw() {
+{
Guard guard(this, "timex::Engine (kill)");
app::functions::component <Communicator> (ANNA_FILE_LOCATION)->detach(a_tickConsumer);
// (3) Si el temporizador ha sido reactivado no tiene que liberarlo.
//----------------------------------------------------------------------------------
void anna::timex::Engine::tick()
-throw(RuntimeException) {
+noexcept(false) {
LOGMETHOD(TraceMethod tm(Logger::Local7, "timex::Engine", "tick", ANNA_FILE_LOCATION));
/*
if (Logger::isActive (Logger::Local6) == true && a_directory.size () > 0) {
}
void anna::timex::Engine::notifyRelease(timex::TimeEvent* timeEvent)
-throw() {
+{
if(timeEvent->a_observer != NULL)
timeEvent->a_observer->release(timeEvent);
}
string anna::timex::Engine::asString() const
-throw() {
+{
string msg("timex::Engine { ");
msg += app::Component::asString();
msg += " | Max Timeout: ";
}
xml::Node* anna::timex::Engine::asXML(xml::Node* parent) const
-throw() {
+{
parent = Component::asXML(parent);
xml::Node* result = parent->createChild("timex.Engine");
result->createAttribute("MaxTimeout", a_maxTimeout);