Belle II Software development
|
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. | |
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 meant to be the simplest (and most useless) Observer for the VXDTF filter tools. It is notified of relevant information by the observed object via 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.
|
inline |
|
inline |
|
inlinestatic |
static method used by the observed object to prepare the observer it is called by the boolean filter operator.
Definition at line 55 of file VoidObserver.h.
|
inlinestatic |
static method used by the observed object to initialize the observer it is called once usually from the user.
Definition at line 43 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.
|
inlinestatic |
static method used by the observed object to prepare the observer it is called by the boolean filter operator.
Definition at line 49 of file VoidObserver.h.
|
inlinestatic |
static method used by the observed object to terminate the observer.
Definition at line 67 of file VoidObserver.h.