c++/EEDB/SPStreams/TemplateCluster.cpp
/***** reset_stream_node
  Description: re-initialize this stream node prior to reconfiguring stream
*****/
reset_stream_node
Description: re-initialize this stream node prior to reconfiguring stream
reset_stream_node Description : re - initialize this stream node prior to reconfiguring stream
void EEDB::SPStreams::TemplateCluster::_reset_stream_node() {
  EEDB::SPStreams::MergeStreams::_reset_stream_node();
  for(unsigned int i=0; i<_template_buffer.size(); i++) {
    _template_buffer[i]->release();
  }
  for(unsigned int i=0; i<_completed_templates.size(); i++) {
    _completed_templates[i]->release();
  }
  _completed_templates.clear();
  _template_buffer.clear();
  _template_stream_empty = false;
  _stream_features_mode  = false;
  _region_start = -1;
  _region_end   = -1;
}
void EEDB :: SPStreams :: TemplateCluster :: _reset_stream_node ( ) { EEDB :: SPStreams :: MergeStreams :: _reset_stream_node ( ) ; for ( unsigned int i = 0 ; i < _template_buffer . size ( ) ; i ++ ) { _template_buffer [ i ] -> release ( ) ; } for ( unsigned int i = 0 ; i < _completed_templates . size ( ) ; i ++ ) { _completed_templates [ i ] -> release ( ) ; } _completed_templates . clear ( ) ; _template_buffer . clear ( ) ; _template_stream_empty = false ; _stream_features_mode = false ; _region_start = -1 ; _region_end = -1 ; }
reset_stream_node
Description: re-initialize this stream node prior to reconfiguring stream
reset_stream_node Description : re - initialize this stream node prior to reconfiguring stream