Exemple #1
0
Batch *readBatch(char *str, FILE *file) {
    int id = getBatchId(str);
    Batch *batch = createBatch(id);

    readMessages(batch, file);
    return batch;
}
Exemple #2
0
void ActionQueue::addAction(Action* action, int stacking_delay)
{
	BatchAction* batch = createBatch(action->getType());
	batch->addAndCommitAction(action);
	if(batch->size() == 0)
	{
		delete batch;
		return;
	}

	addBatch(batch, stacking_delay);
}
Exemple #3
0
 inline explicit BatchInfo () 
   : index(count++) 
 {
   if (!flank_5)
     createBatch (size);
 }