* Definition of the generic fault handling class as well as
* specific sub-classes.
*
- * (c) 2011 Björn Döbel <doebel@os.inf.tu-dresden.de>,
+ * (c) 2011-2012 Björn Döbel <doebel@os.inf.tu-dresden.de>,
* economic rights: Technische Universität Dresden (Germany)
* This file is part of TUD:OS and distributed under the terms of the
* GNU General Public License 2.
class App_model;
class App_instance;
class App_thread;
+ class Thread_group;
+
/* Make this a macro because every sub-class will have to define
* these two virtual functions.
*/
public: \
virtual void startup_notify(Romain::App_instance *i, \
Romain::App_thread *t, \
+ Romain::Thread_group *tg, \
Romain::App_model *a); \
virtual ObserverReturnVal notify(Romain::App_instance *i, \
Romain::App_thread *t, \
+ Romain::Thread_group *tg, \
Romain::App_model *a); \
virtual char const * name() const { return _name_; } \
virtual void status() const;
#define DEFINE_EMPTY_STARTUP(name) \
- void Romain::name::startup_notify(Romain::App_instance*, Romain::App_thread*, Romain::App_model*) { }
+ void Romain::name::startup_notify(Romain::App_instance*, Romain::App_thread*, \
+ Romain::Thread_group*, Romain::App_model*) { }
/*
* Generic observer class.
*/
virtual void startup_notify(Romain::App_instance *i = 0,
Romain::App_thread *t = 0,
+ Romain::Thread_group *tg = 0,
Romain::App_model *a = 0) = 0;
/*
*/
virtual ObserverReturnVal notify(Romain::App_instance *i = 0,
Romain::App_thread *t = 0,
+ Romain::Thread_group *tg = 0,
Romain::App_model *a = 0) = 0;
/*