MADNESS
0.10.1
|
Task event list base class. More...
#include <thread.h>
Public Member Functions | |
TaskEventListBase () | |
Default constructor. More... | |
virtual | ~TaskEventListBase ()=default |
Virtual destructor. More... | |
void | insert (TaskEventListBase *list) |
Insert list after this list. More... | |
TaskEventListBase * | next () const |
Get the next event list in the linked list. More... | |
Private Member Functions | |
TaskEventListBase (const TaskEventListBase &)=delete | |
TaskEventListBase & | operator= (const TaskEventListBase &)=delete |
virtual std::ostream & | print_events (std::ostream &) const =0 |
Print the events. More... | |
Private Attributes | |
TaskEventListBase * | next_ |
The next task event in the list. More... | |
Friends | |
std::ostream & | operator<< (std::ostream &os, const TaskEventListBase &tel) |
Output a task event list to an output stream. More... | |
Task event list base class.
This base class allows the data to be stored in a linked list.
|
privatedelete |
|
inline |
Default constructor.
|
virtualdefault |
Virtual destructor.
|
inline |
Insert list
after this list.
[in] | list | The list to be inserted. |
References next_.
Referenced by madness::profiling::TaskProfiler::new_list().
|
inline |
Get the next event list in the linked list.
References next_.
Referenced by madness::profiling::TaskProfiler::~TaskProfiler(), and madness::profiling::TaskProfiler::write_to_file().
|
privatedelete |
|
privatepure virtual |
Print the events.
Implemented in madness::profiling::TaskEventList.
|
friend |
Output a task event list to an output stream.
[in,out] | os | The ouptut stream. |
[in] | tel | The task event list to be output. |
|
private |