Thrill  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ProfileTaskRegistration Class Reference

Detailed Description

Definition at line 36 of file profile_task.hpp.

+ Collaboration diagram for ProfileTaskRegistration:

#include <profile_task.hpp>

Public Member Functions

 ProfileTaskRegistration (const std::chrono::milliseconds &period, ProfileThread &profiler, ProfileTask *task)
 
 ProfileTaskRegistration (const ProfileTaskRegistration &)=delete
 non-copyable: delete copy-constructor More...
 
 ~ProfileTaskRegistration ()
 
ProfileTaskRegistrationoperator= (const ProfileTaskRegistration &)=delete
 non-copyable: delete assignment operator More...
 

Private Attributes

ProfileThreadprofiler_
 profiler at which the task was registered More...
 
ProfileTasktask_
 task to register and unregister More...
 

Constructor & Destructor Documentation

ProfileTaskRegistration ( const std::chrono::milliseconds &  period,
ProfileThread profiler,
ProfileTask task 
)

Definition at line 94 of file profile_thread.cpp.

References ProfileThread::Add(), and ProfileTaskRegistration::profiler_.

non-copyable: delete copy-constructor

Member Function Documentation

ProfileTaskRegistration& operator= ( const ProfileTaskRegistration )
delete

non-copyable: delete assignment operator

Member Data Documentation

ProfileThread& profiler_
private

profiler at which the task was registered

Definition at line 52 of file profile_task.hpp.

Referenced by ProfileTaskRegistration::ProfileTaskRegistration(), and ProfileTaskRegistration::~ProfileTaskRegistration().

ProfileTask* task_
private

task to register and unregister

Definition at line 54 of file profile_task.hpp.

Referenced by ProfileTaskRegistration::~ProfileTaskRegistration().


The documentation for this class was generated from the following files: