YPC  0.2.0
Public Member Functions | Protected Attributes | List of all members
ypc::data_source_with_dhash Class Referenceabstract
Inheritance diagram for ypc::data_source_with_dhash:
Inheritance graph
[legend]
Collaboration diagram for ypc::data_source_with_dhash:
Collaboration graph
[legend]

Public Member Functions

 data_source_with_dhash (const stbox::bytes &data_hash)
 
const bytesexpect_data_hash () const
 
virtual const bytesdata_hash () const =0
 
void reset_reach_end ()
 
- Public Member Functions inherited from hpda::internal::processor_with_output< ::ff::util::ntobject< nt< bytes >::data > >
virtual ::ff::util::ntobject< nt< bytes >::data > output_value ()=0
 
- Public Member Functions inherited from hpda::functor
virtual bool process ()=0
 
void reset_done_value ()
 
virtual void done_value ()
 
bool has_value () const
 
engineget_engine () const
 
void set_engine (engine *e)
 
void add_predecessor (functor *pred)
 
const std::vector< functor * > predecessors () const
 

Protected Attributes

bytes m_expect_data_hash
 
bool m_data_reach_end
 
uint32_t m_counter
 
- Protected Attributes inherited from hpda::functor
bool m_has_value
 
std::vector< functor * > m_predecessors
 
enginem_engine
 
uint32_t m_status
 

Additional Inherited Members

- Public Types inherited from ypc::data_source< bytes >
typedef ::ff::util::ntobject< typename nt< bytes >::data > data_source_output_t
 
- Public Types inherited from hpda::internal::processor_with_output< ::ff::util::ntobject< nt< bytes >::data > >
typedef ::ff::util::ntobject< nt< bytes >::data > output_type
 

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