OpenSDN source code
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
TaskTbbKeepAwake Class Reference

#include <task_tbbkeepawake.h>

Collaboration diagram for TaskTbbKeepAwake:

Public Member Functions

 TaskTbbKeepAwake ()
 
bool StartTbbKeepAwakeTask (TaskScheduler *ts, EventManager *event_mgr, const std::string task_name, uint32_t tbbKeepawakeTimeout=1000)
 
void ModifyTbbKeepAwakeTimeout (uint32_t timeout)
 
bool TbbKeepAwake ()
 
void ShutTbbKeepAwakeTask ()
 
uint32_t tbb_awake_val () const
 

Private Attributes

uint64_t tbb_awake_count_
 
uint32_t tbb_awake_val_
 
bool timeout_changed_
 
Timertbb_awake_timer_
 
tbb::mutex mutex_
 

Detailed Description

Definition at line 6 of file task_tbbkeepawake.h.

Constructor & Destructor Documentation

TaskTbbKeepAwake::TaskTbbKeepAwake ( )
inline

Definition at line 8 of file task_tbbkeepawake.h.

Member Function Documentation

void TaskTbbKeepAwake::ModifyTbbKeepAwakeTimeout ( uint32_t  timeout)
inline

Definition at line 24 of file task_tbbkeepawake.h.

void TaskTbbKeepAwake::ShutTbbKeepAwakeTask ( )
inline

Definition at line 41 of file task_tbbkeepawake.h.

Here is the call graph for this function:

bool TaskTbbKeepAwake::StartTbbKeepAwakeTask ( TaskScheduler ts,
EventManager event_mgr,
const std::string  task_name,
uint32_t  tbbKeepawakeTimeout = 1000 
)
inline

Definition at line 11 of file task_tbbkeepawake.h.

Here is the call graph for this function:

uint32_t TaskTbbKeepAwake::tbb_awake_val ( ) const
inline

Definition at line 48 of file task_tbbkeepawake.h.

bool TaskTbbKeepAwake::TbbKeepAwake ( )
inline

Definition at line 32 of file task_tbbkeepawake.h.

Here is the call graph for this function:

Member Data Documentation

tbb::mutex TaskTbbKeepAwake::mutex_
private

Definition at line 54 of file task_tbbkeepawake.h.

uint64_t TaskTbbKeepAwake::tbb_awake_count_
private

Definition at line 50 of file task_tbbkeepawake.h.

Timer* TaskTbbKeepAwake::tbb_awake_timer_
private

Definition at line 53 of file task_tbbkeepawake.h.

uint32_t TaskTbbKeepAwake::tbb_awake_val_
private

Definition at line 51 of file task_tbbkeepawake.h.

bool TaskTbbKeepAwake::timeout_changed_
private

Definition at line 52 of file task_tbbkeepawake.h.


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