Public Member Functions | Public Attributes | Friends | List of all members
TestAtomic Struct Reference

Atomic do not have a copy constructor so must have implement one for your class. More...

Public Member Functions

bool operator!= (const TestAtomic &rhs) const
 
TestAtomicoperator= (const TestAtomic &other)
 
TestAtomicoperator= (TestAtomic &&other) noexcept
 
bool operator== (const TestAtomic &rhs) const
 
template<class Archive >
void serialize (Archive &ar, const unsigned int)
 
 TestAtomic ()=default
 
 TestAtomic (const TestAtomic &other)
 
 TestAtomic (TestAtomic &&other) noexcept
 
 ~TestAtomic ()=default
 

Public Attributes

std::atomic< bool > value { true }
 

Friends

class boost::serialization::access
 
struct tesseract_common::Serialization
 

Detailed Description

Atomic do not have a copy constructor so must have implement one for your class.

Definition at line 776 of file tesseract_common_serialization_unit.cpp.

Constructor & Destructor Documentation

◆ TestAtomic() [1/3]

TestAtomic::TestAtomic ( )
default

◆ ~TestAtomic()

TestAtomic::~TestAtomic ( )
default

◆ TestAtomic() [2/3]

TestAtomic::TestAtomic ( const TestAtomic other)
inline

Definition at line 782 of file tesseract_common_serialization_unit.cpp.

◆ TestAtomic() [3/3]

TestAtomic::TestAtomic ( TestAtomic &&  other)
inlinenoexcept

Definition at line 788 of file tesseract_common_serialization_unit.cpp.

Member Function Documentation

◆ operator!=()

bool TestAtomic::operator!= ( const TestAtomic rhs) const
inline

Definition at line 796 of file tesseract_common_serialization_unit.cpp.

◆ operator=() [1/2]

TestAtomic& TestAtomic::operator= ( const TestAtomic other)
inline

Definition at line 783 of file tesseract_common_serialization_unit.cpp.

◆ operator=() [2/2]

TestAtomic& TestAtomic::operator= ( TestAtomic &&  other)
inlinenoexcept

Definition at line 789 of file tesseract_common_serialization_unit.cpp.

◆ operator==()

bool TestAtomic::operator== ( const TestAtomic rhs) const
inline

Definition at line 795 of file tesseract_common_serialization_unit.cpp.

◆ serialize()

template<class Archive >
void TestAtomic::serialize ( Archive &  ar,
const unsigned int   
)
inline

Definition at line 801 of file tesseract_common_serialization_unit.cpp.

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 798 of file tesseract_common_serialization_unit.cpp.

◆ tesseract_common::Serialization

friend struct tesseract_common::Serialization
friend

Definition at line 799 of file tesseract_common_serialization_unit.cpp.

Member Data Documentation

◆ value

std::atomic<bool> TestAtomic::value { true }

Definition at line 778 of file tesseract_common_serialization_unit.cpp.


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


tesseract_common
Author(s): Levi Armstrong
autogenerated on Sun May 18 2025 03:01:40