Service handler (an observer).
Definition: handler.h:36
Interface for the simulation services (files and stats).
Definition: service.h:43
virtual void attach(Handler *h)=0
Adds an observer to the list.
virtual void reset()=0
Clears the observers list.
virtual void notify()=0
Notifies all observers to update their state.
virtual ~Service()
Definition: service.h:49
Service()
Definition: service.h:47
virtual bool init()=0
Inits internals.
virtual void load(SimComponent *sc)=0
Interface used by a simulation component to load its obervers onto a service provider.
Interface to all basic components of a simulation (traits, life cycle events, pop,...
Definition: simcomponent.h:45