\return Una cadena con la informacion referenta a este reloj.
*/
std::string asString() const
- throw() {
+ {
std::string msg("Clock { ");
msg += TimeEvent::asString();
msg += " | Name: ";
\return \em true si el reloj desea continuar recibiendo los pulsos periodicamente o
\em false en otro caso.
*/
- virtual bool tick() throw(RuntimeException) = 0;
+ virtual bool tick() noexcept(false) = 0;
private:
std::string a_name;
- void expire(Engine* timeController) throw(RuntimeException);
+ void expire(Engine* timeController) noexcept(false);
};
}