示例#1
0
文件: Batch.c 项目: Daymannovaes/cpp
Batch *readBatch(char *str, FILE *file) {
    int id = getBatchId(str);
    Batch *batch = createBatch(id);

    readMessages(batch, file);
    return batch;
}
示例#2
0
文件: action.cpp 项目: Arydia/rme
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);
}
示例#3
0
 inline explicit BatchInfo () 
   : index(count++) 
 {
   if (!flank_5)
     createBatch (size);
 }