Belle II Software
release-08-01-10
|
The most CPU efficient Observer for the VXDTF filter tools (even if useless). More...
#include <VoidObserver.h>
Public Member Functions | |
VoidObserver () | |
An empty constructor for an empty class. | |
~VoidObserver () | |
An empty destructor for an empty class. | |
Static Public Member Functions | |
template<typename ... types> | |
static void | notify (const types &...) |
static method used by the observed object to notify the observer. More... | |
template<typename ... types> | |
static bool | initialize (const types &...) |
static method used by the observed object to initialize the observer it is called once usually from the user. | |
template<typename ... types> | |
static void | prepare (const types &...) |
static method used by the observed object to prepare the observer it is called by the boolean filter operator. | |
template<typename ... types> | |
static void | collect (const types &...) |
static method used by the observed object to prepare the observer it is called by the boolean filter operator. | |
template<typename ... types> | |
static void | terminate (const types &...) |
static method used by the observed object to terminate the observer. | |
The most CPU efficient Observer for the VXDTF filter tools (even if useless).
The VoidObserver is ment to be the simplest (and most useless) Observer for the VXDTF filter tools. It is notified of relevant informations by the observed object via the the notify method. This particular observer does not take any action to record the messages, hence the compiler will simply skip the call (in optimized compilation mode). More evolved and useful observers can derive from this one (even if not strictly necessary).
Definition at line 30 of file VoidObserver.h.
|
inlinestatic |
static method used by the observed object to notify the observer.
it is called at each accept.
Definition at line 37 of file VoidObserver.h.