Classes | Enumerations | Functions
utest.cpp File Reference
#include <boost/memory_order.hpp>
#include "ros/atomic.h"
#include <typeinfo>
#include <gtest/gtest.h>
Include dependency graph for utest.cpp:

Go to the source code of this file.

Classes

struct  Compound
 

Enumerations

enum  TestEnum { Foo, Bar, Baz =1000 }
 

Functions

int main (int argc, char **argv)
 
 TEST (Atomic, all)
 
template<typename T >
void test_atomic_arithmetic (void)
 
template<typename T >
void test_atomic_base (void)
 
template<>
void test_atomic_base< bool > (void)
 
void test_atomic_flag ()
 
template<typename T >
void test_atomic_ptr (void)
 
void test_atomic_struct (void)
 
void test_fence ()
 

Enumeration Type Documentation

enum TestEnum
Enumerator
Foo 
Bar 
Baz 

Definition at line 214 of file utest.cpp.

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 259 of file utest.cpp.

TEST ( Atomic  ,
all   
)

Definition at line 223 of file utest.cpp.

template<typename T >
void test_atomic_arithmetic ( void  )

Definition at line 17 of file utest.cpp.

template<typename T >
void test_atomic_base ( void  )

Definition at line 76 of file utest.cpp.

template<>
void test_atomic_base< bool > ( void  )

Definition at line 140 of file utest.cpp.

void test_atomic_flag ( )

Definition at line 169 of file utest.cpp.

template<typename T >
void test_atomic_ptr ( void  )

Definition at line 107 of file utest.cpp.

void test_atomic_struct ( void  )

Definition at line 185 of file utest.cpp.

void test_fence ( )

Definition at line 218 of file utest.cpp.



rosatomic
Author(s): Josh Faust
autogenerated on Fri Apr 5 2019 02:16:35