OpenSDN source code
ConcurrencyScope Class Reference

#include <task_annotations.h>

Classes

class  ScopeTask
 

Public Member Functions

 ConcurrencyScope (int task_id)
 
 ConcurrencyScope (const std::string &task_id)
 
 ~ConcurrencyScope ()
 

Private Member Functions

void SetRunningTask (int task_id)
 

Private Attributes

boost::scoped_ptr< ScopeTaskunit_test_task_
 

Detailed Description

Definition at line 28 of file task_annotations.h.

Constructor & Destructor Documentation

◆ ConcurrencyScope() [1/2]

ConcurrencyScope::ConcurrencyScope ( int  task_id)
explicit

Definition at line 46 of file task_annotations.cc.

Here is the call graph for this function:

◆ ConcurrencyScope() [2/2]

ConcurrencyScope::ConcurrencyScope ( const std::string &  task_id)
explicit

Definition at line 50 of file task_annotations.cc.

Here is the call graph for this function:

◆ ~ConcurrencyScope()

ConcurrencyScope::~ConcurrencyScope ( )

Definition at line 61 of file task_annotations.cc.

Here is the call graph for this function:

Member Function Documentation

◆ SetRunningTask()

void ConcurrencyScope::SetRunningTask ( int  task_id)
private

Definition at line 55 of file task_annotations.cc.

Here is the call graph for this function:

Member Data Documentation

◆ unit_test_task_

boost::scoped_ptr<ScopeTask> ConcurrencyScope::unit_test_task_
private

Definition at line 36 of file task_annotations.h.


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