Open
Description
Looking at the interface for actors, it would be nice to remove the noise from the overridden methods, so that the code only deals with its own logic. It's cleaner that way.
Instead of this:
void on_start() noexcept override {
rotor::actor_base_t::on_start();
...
}
Have this, to eliminate the need to call rotor::actor_base_t::on_start()
:
class actor_base {
void base_on_start() {
// do base processing
// ...
on_start(); // Do overriding stuff.
}
virtual void on_start() {}
};