Public Member Functions | Private Attributes | List of all members
TbbSourceBody Class Reference

Public Member Functions

 TbbSourceBody (mock_node_pointer wcnode)
 
 TbbSourceBody (const TbbSourceBody &other)
 
 ~TbbSourceBody ()
 
void operator= (const TbbSourceBody &other)
 
bool operator() (boost::any &out)
 

Private Attributes

std::shared_ptr< MockSourcem_wcnode
 

Detailed Description

Definition at line 132 of file test_tbb_dfp_any.cxx.

Constructor & Destructor Documentation

TbbSourceBody::TbbSourceBody ( mock_node_pointer  wcnode)
inline

Definition at line 134 of file test_tbb_dfp_any.cxx.

134  {
135  m_wcnode = std::dynamic_pointer_cast<MockSource>(wcnode);
136  Assert(m_wcnode);
137  }
#define Assert
Definition: Testing.h:7
std::shared_ptr< MockSource > m_wcnode
TbbSourceBody::TbbSourceBody ( const TbbSourceBody other)
inline

Definition at line 138 of file test_tbb_dfp_any.cxx.

138  {
139  cerr << "TbbSourceBody copied\n";
140  m_wcnode = other.m_wcnode;
141  }
std::shared_ptr< MockSource > m_wcnode
TbbSourceBody::~TbbSourceBody ( )
inline

Definition at line 142 of file test_tbb_dfp_any.cxx.

142 {}

Member Function Documentation

bool TbbSourceBody::operator() ( boost::any &  out)
inline

Definition at line 150 of file test_tbb_dfp_any.cxx.

150  {
151  cerr << "Extracting from " << m_wcnode << endl;
152  return m_wcnode->extract(out);
153  }
QTextStream & endl(QTextStream &s)
std::shared_ptr< MockSource > m_wcnode
void TbbSourceBody::operator= ( const TbbSourceBody other)
inline

Definition at line 145 of file test_tbb_dfp_any.cxx.

145  {
146  cerr << "TbbSourceBody assigned\n";
147  m_wcnode = other.m_wcnode;
148  }
std::shared_ptr< MockSource > m_wcnode

Member Data Documentation

std::shared_ptr<MockSource> TbbSourceBody::m_wcnode
private

Definition at line 155 of file test_tbb_dfp_any.cxx.


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