Reference documentation for deal.II version 9.0.0
|
#include <deal.II/base/event.h>
Public Member Functions | |
Event () | |
void | clear () |
void | all () |
Event & | operator+= (const Event &event) |
Event & | operator-= (const Event &event) |
bool | test (const Event &event) const |
bool | any () const |
template<class OS > | |
void | print (OS &os) const |
Static Public Member Functions | |
static Event | assign (const char *name) |
template<class OS > | |
static void | print_assigned (OS &os) |
Private Attributes | |
bool | all_true |
std::vector< bool > | flags |
Static Private Attributes | |
static std::vector< std::string > | names |
Related Functions | |
(Note that these are not member functions.) | |
template<class OS > | |
OS & | operator<< (OS &o, const Event &e) |
Objects of this kind are used to notify interior applications of changes provoked by an outer loop. They are handed to the application through Operator::notify() and it is up to the actual application how to handle them.
Event is organized as an extensible binary enumerator. Every class can add its own events using assign(). A typical code example is
Algorithms::Event::Event | ( | ) |
|
static |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
related |
Output shift operator for events. Calls Event::print().
|
private |
|
private |
|
staticprivate |