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]

AtomicWrapper ( )
inline

Definition at line 33 of file AtomicWrapper.h.

◆ AtomicWrapper() [2/5]

AtomicWrapper ( const T v)
inline

Definition at line 37 of file AtomicWrapper.h.

+ Here is the call graph for this function:

◆ AtomicWrapper() [3/5]

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

Definition at line 41 of file AtomicWrapper.h.

+ Here is the call graph for this function:

◆ AtomicWrapper() [4/5]

AtomicWrapper ( const AtomicWrapper< T > &  other)
inline

Definition at line 45 of file AtomicWrapper.h.

◆ AtomicWrapper() [5/5]

AtomicWrapper ( AtomicWrapper< T > &&  )
default

Member Function Documentation

◆ operator T()

operator T ( ) const
inline

Definition at line 74 of file AtomicWrapper.h.

◆ operator=() [1/4]

AtomicWrapper& operator= ( AtomicWrapper< T > &&  )
default

◆ operator=() [2/4]

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

Definition at line 66 of file AtomicWrapper.h.

◆ operator=() [3/4]

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

Definition at line 59 of file AtomicWrapper.h.

+ Here is the call graph for this function:

◆ operator=() [4/4]

AtomicWrapper& operator= ( const T v)
inline

Definition at line 52 of file AtomicWrapper.h.

+ Here is the call graph for this function:

Member Data Documentation

◆ atom

std::atomic<T> atom

Definition at line 31 of file AtomicWrapper.h.


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