FACT++  1.0
template<class S >
Bool_t MVideo::Enumerate ( std::vector< S > &  s,
int  request 
)
private

Definition at line 347 of file MVideo.cc.

References i, and Ioctl().

348 {
349  for (int i=0; ; i++)
350  {
351  S input;
352  input.index = i;
353 
354  const int rc = Ioctl(request, &input);
355  if (rc<0)
356  return kFALSE;
357  if (rc==1)
358  return kTRUE;
359 
360  vec.push_back(input);
361  }
362 
363  return kFALSE;
364 }
int i
Definition: db_dim_client.c:21
int Ioctl(int req, void *opt, bool allowirq=true, bool force=false) const
Definition: MVideo.cc:108

+ Here is the call graph for this function: