HEBench
hebench::TestHarness::PartialBenchmarkCategory::RAIIHandle Class Reference

#include <hebench_benchmark_category.h>

Public Member Functions

 RAIIHandle ()
 
 RAIIHandle (RAIIHandle &&rhs) noexcept
 
 RAIIHandle (const hebench::APIBridge::Handle &h)
 
 ~RAIIHandle ()
 
RAIIHandleoperator= (RAIIHandle &&rhs) noexcept
 
RAIIHandleoperator= (const hebench::APIBridge::Handle &rhs)
 
 operator bool () const noexcept
 
void detach ()
 
hebench::APIBridge::ErrorCode destroy ()
 

Static Public Member Functions

static bool isEmpty (const hebench::APIBridge::Handle &h) noexcept
 

Public Attributes

hebench::APIBridge::Handle handle
 

Detailed Description

Definition at line 37 of file hebench_benchmark_category.h.

Constructor & Destructor Documentation

◆ RAIIHandle() [1/3]

hebench::TestHarness::PartialBenchmarkCategory::RAIIHandle::RAIIHandle ( )

Definition at line 22 of file hebench_benchmark_category.cpp.

◆ RAIIHandle() [2/3]

hebench::TestHarness::PartialBenchmarkCategory::RAIIHandle::RAIIHandle ( RAIIHandle &&  rhs)
noexcept

Definition at line 29 of file hebench_benchmark_category.cpp.

◆ RAIIHandle() [3/3]

hebench::TestHarness::PartialBenchmarkCategory::RAIIHandle::RAIIHandle ( const hebench::APIBridge::Handle h)
inline

Definition at line 45 of file hebench_benchmark_category.h.

◆ ~RAIIHandle()

hebench::TestHarness::PartialBenchmarkCategory::RAIIHandle::~RAIIHandle ( )

Definition at line 52 of file hebench_benchmark_category.cpp.

Member Function Documentation

◆ destroy()

hebench::APIBridge::ErrorCode hebench::TestHarness::PartialBenchmarkCategory::RAIIHandle::destroy ( )

Definition at line 69 of file hebench_benchmark_category.cpp.

◆ detach()

void hebench::TestHarness::PartialBenchmarkCategory::RAIIHandle::detach ( )

Definition at line 62 of file hebench_benchmark_category.cpp.

◆ isEmpty()

bool hebench::TestHarness::PartialBenchmarkCategory::RAIIHandle::isEmpty ( const hebench::APIBridge::Handle h)
staticnoexcept

Definition at line 57 of file hebench_benchmark_category.cpp.

◆ operator bool()

hebench::TestHarness::PartialBenchmarkCategory::RAIIHandle::operator bool ( ) const
inlinenoexcept

Definition at line 50 of file hebench_benchmark_category.h.

◆ operator=() [1/2]

PartialBenchmarkCategory::RAIIHandle & hebench::TestHarness::PartialBenchmarkCategory::RAIIHandle::operator= ( const hebench::APIBridge::Handle rhs)

Definition at line 45 of file hebench_benchmark_category.cpp.

◆ operator=() [2/2]

PartialBenchmarkCategory::RAIIHandle & hebench::TestHarness::PartialBenchmarkCategory::RAIIHandle::operator= ( RAIIHandle &&  rhs)
noexcept

Definition at line 35 of file hebench_benchmark_category.cpp.

Member Data Documentation

◆ handle

hebench::APIBridge::Handle hebench::TestHarness::PartialBenchmarkCategory::RAIIHandle::handle

Definition at line 54 of file hebench_benchmark_category.h.


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