proxygen
FutureDAGTest::TestNode Struct Reference

Public Member Functions

 TestNode (FutureDAGTest *test)
 

Public Attributes

const FutureDAG::FutureFunc func
 
const Handle handle
 
std::set< Handledependencies
 

Detailed Description

Definition at line 83 of file FutureDAGTest.cpp.

Constructor & Destructor Documentation

FutureDAGTest::TestNode::TestNode ( FutureDAGTest test)
inlineexplicit

Definition at line 84 of file FutureDAGTest.cpp.

References FutureDAGTest::order.

85  : func([this, test] {
86  test->order.push_back(handle);
87  return Future<Unit>();
88  }),
89  handle(test->dag->add(func)) {}
const std::shared_ptr< FutureDAG > dag
std::vector< Handle > order
const FutureDAG::FutureFunc func

Member Data Documentation

std::set<Handle> FutureDAGTest::TestNode::dependencies

Definition at line 93 of file FutureDAGTest.cpp.

const FutureDAG::FutureFunc FutureDAGTest::TestNode::func

Definition at line 91 of file FutureDAGTest.cpp.

const Handle FutureDAGTest::TestNode::handle

Definition at line 92 of file FutureDAGTest.cpp.


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