FACT++  1.0
int DimCommand::getNext ( )

Definition at line 1377 of file discpp.cxx.

References DimService::itsData, and DimService::itsSize.

1378 {
1379  CmndInfo *cmndptr;
1380  if(currCmnd)
1381  {
1382  delete currCmnd;
1383  currCmnd = 0;
1384  itsData = 0;
1385  itsSize = 0;
1386  }
1387  if ((cmndptr = (CmndInfo *)itsCmndList.removeHead()))
1388  {
1389  currCmnd = cmndptr;
1392  secs = currCmnd->secs;
1394  return(1);
1395  }
1396  return(0);
1397 }
SLList itsCmndList
Definition: dis.hxx:295
int millisecs
Definition: dis.hxx:239
void * itsData
Definition: dis.hxx:268
int itsDataSize
Definition: dis.hxx:238
SLLItem * removeHead()
Definition: sllist.hxx:54
CmndInfo * currCmnd
Definition: dis.hxx:294
int secs
Definition: dis.hxx:239
int secs
Definition: dis.hxx:298
int millisecs
Definition: dis.hxx:298
int itsSize
Definition: dis.hxx:269
void * itsData
Definition: dis.hxx:237