AtomicWrapper< T > Struct Template Reference

#include <RobotAPI/components/units/RobotUnit/util/AtomicWrapper.h>

Public Member Functions

 AtomicWrapper ()
 
 AtomicWrapper (AtomicWrapper &&)=default
 
 AtomicWrapper (const AtomicWrapper &other)
 
 AtomicWrapper (const std::atomic< T > &a)
 
 AtomicWrapper (const T &v)
 
 operator T () const
 
AtomicWrapperoperator= (AtomicWrapper &&)=default
 
AtomicWrapperoperator= (const AtomicWrapper &other)
 
AtomicWrapperoperator= (const std::atomic< T > &a)
 
AtomicWrapperoperator= (const T &v)
 

Public Attributes

std::atomic< Tatom
 

Detailed Description

template<typename T>
struct armarx::AtomicWrapper< T >

Definition at line 29 of file AtomicWrapper.h.

Constructor & Destructor Documentation

◆ AtomicWrapper() [1/5]

template<typename T>
AtomicWrapper ( )
inline

Definition at line 33 of file AtomicWrapper.h.

+ Here is the caller graph for this function:

◆ AtomicWrapper() [2/5]

template<typename T>
AtomicWrapper ( const T & v)
inline

Definition at line 37 of file AtomicWrapper.h.

◆ AtomicWrapper() [3/5]

template<typename T>
AtomicWrapper ( const std::atomic< T > & a)
inline

Definition at line 41 of file AtomicWrapper.h.

◆ AtomicWrapper() [4/5]

template<typename T>
AtomicWrapper ( const AtomicWrapper< T > & other)
inline

Definition at line 45 of file AtomicWrapper.h.

+ Here is the call graph for this function:

◆ AtomicWrapper() [5/5]

template<typename T>
AtomicWrapper ( AtomicWrapper< T > && )
default
+ Here is the call graph for this function:

Member Function Documentation

◆ operator T()

template<typename T>
operator T ( ) const
inline

Definition at line 74 of file AtomicWrapper.h.

◆ operator=() [1/4]

template<typename T>
AtomicWrapper & operator= ( AtomicWrapper< T > && )
default
+ Here is the call graph for this function:

◆ operator=() [2/4]

template<typename T>
AtomicWrapper & operator= ( const AtomicWrapper< T > & other)
inline

Definition at line 66 of file AtomicWrapper.h.

+ Here is the call graph for this function:

◆ operator=() [3/4]

template<typename T>
AtomicWrapper & operator= ( const std::atomic< T > & a)
inline

Definition at line 59 of file AtomicWrapper.h.

◆ operator=() [4/4]

template<typename T>
AtomicWrapper & operator= ( const T & v)
inline

Definition at line 52 of file AtomicWrapper.h.

Member Data Documentation

◆ atom

template<typename T>
std::atomic<T> atom

Definition at line 31 of file AtomicWrapper.h.


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