proxygen
TestIntrusiveObject Class Reference

Public Types

using List = folly::AtomicIntrusiveLinkedList< TestIntrusiveObject,&TestIntrusiveObject::hook_ >
 

Public Member Functions

 TestIntrusiveObject (size_t id__)
 
size_t id ()
 

Private Attributes

folly::AtomicIntrusiveLinkedListHook< TestIntrusiveObjecthook_
 
size_t id_
 

Detailed Description

Definition at line 23 of file AtomicLinkedListTest.cpp.

Member Typedef Documentation

Constructor & Destructor Documentation

TestIntrusiveObject::TestIntrusiveObject ( size_t  id__)
inlineexplicit

Definition at line 25 of file AtomicLinkedListTest.cpp.

25 : id_(id__) {}

Member Function Documentation

size_t TestIntrusiveObject::id ( )
inline

Definition at line 26 of file AtomicLinkedListTest.cpp.

References id_.

Referenced by TEST().

26  {
27  return id_;
28  }

Member Data Documentation

folly::AtomicIntrusiveLinkedListHook<TestIntrusiveObject> TestIntrusiveObject::hook_
private

Definition at line 31 of file AtomicLinkedListTest.cpp.

size_t TestIntrusiveObject::id_
private

Definition at line 32 of file AtomicLinkedListTest.cpp.

Referenced by id(), and TestObject::id().


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