32 virtual int run() = 0;
107template <
typename T,
typename... Args>
109 T core(std::forward<Args>(args)...);
int launch(Args &&...args)
Construit, lance, detruit. Les arguments vont au constructeur.
Definition ICore.hpp:108
Une application a boucle. Elle tourne seule, ou se fait ticker.
Definition ICore.hpp:65
void stop(int code=0)
Demande l'arret. La frame en cours se termine normalement.
Definition ICore.hpp:84
bool running() const
Vrai des la construction, faux apres stop().
Definition ICore.hpp:90
int run() final
La boucle, jusqu'a stop(). Non redefinissable.
Definition ICore.hpp:70
Ca se lance, ca rend un code de sortie. Pas forcement une boucle.
Definition ICore.hpp:24
virtual int run()=0
Deroule le programme.
Ce qui se fait ticker par quelqu'un d'autre, frame par frame.
Definition ICore.hpp:41
virtual ~ITickable()=default