26 #ifndef RESULTHOLDER_H_
27 #define RESULTHOLDER_H_
38 virtual std::vector<_t>&
GetData() = 0;
50 typename std::vector<_t>
data;
51 typename std::vector<_t>::const_iterator
iter;
84 std::map<int, GCPointer<ResultData<_t> > >
results;
89 int newHandle =
static_cast<int>(
results.size()+1);
91 source->EnterCriticalSection();
94 source->LeaveCriticalSection();
95 MHDBGMSG(__FILE__,__LINE__,__PRETTY_FUNCTION__);
100 MHDBGMSG(__FILE__,__LINE__,__PRETTY_FUNCTION__);
104 *result = *(
results[handle]->iter);
113 MHDBGMSG(__FILE__,__LINE__,__PRETTY_FUNCTION__);