Public Member Functions | List of all members
MockSink Class Reference
Inheritance diagram for MockSink:
MockNode

Public Member Functions

virtual ~MockSink ()
 
virtual NodeCategory category ()
 
virtual bool insert (const boost::any &anyin)
 
- Public Member Functions inherited from MockNode
virtual ~MockNode ()
 
virtual int concurrency ()
 

Detailed Description

Definition at line 69 of file test_tbb_dfp_any.cxx.

Constructor & Destructor Documentation

virtual MockSink::~MockSink ( )
inlinevirtual

Definition at line 71 of file test_tbb_dfp_any.cxx.

71 {}

Member Function Documentation

virtual NodeCategory MockSink::category ( )
inlinevirtual

Implements MockNode.

Definition at line 72 of file test_tbb_dfp_any.cxx.

72 { return sinkCat; }
virtual bool MockSink::insert ( const boost::any &  anyin)
inlinevirtual

Definition at line 73 of file test_tbb_dfp_any.cxx.

73  {
74  int num = boost::any_cast<int>(anyin);
75  cerr << "Sunk number " << num << endl;
76  return true;
77  }
QTextStream & endl(QTextStream &s)

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