Public Member Functions | Public Attributes | List of all members
Counter Struct Reference

Public Member Functions

 Counter ()=default
 
void inc ()
 
int value ()
 

Public Attributes

int counter_value = 0
 
std::thread::id created_by
 

Detailed Description

Definition at line 16 of file cxx11_tensor_thread_local.cpp.

Constructor & Destructor Documentation

◆ Counter()

Counter::Counter ( )
default

Member Function Documentation

◆ inc()

void Counter::inc ( )
inline

Definition at line 19 of file cxx11_tensor_thread_local.cpp.

◆ value()

int Counter::value ( )
inline

Definition at line 24 of file cxx11_tensor_thread_local.cpp.

Member Data Documentation

◆ counter_value

int Counter::counter_value = 0

Definition at line 27 of file cxx11_tensor_thread_local.cpp.

◆ created_by

std::thread::id Counter::created_by

Definition at line 26 of file cxx11_tensor_thread_local.cpp.


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


gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:10:00