Пример #1
0
void ModulesManager::loadInput()
{
	// BinaryInput
	BinaryInput *binaryInput = new BinaryInput();
    m_inputModules[binaryInput->name()] = binaryInput;

	// BinaryInput
	PcapInput *pcapInput = new PcapInput();
    m_inputModules[pcapInput->name()] = pcapInput;

	// IndexFileInput
	IndexFileInput *indexFileInput = new IndexFileInput();
	m_inputModules[indexFileInput->name()] = indexFileInput;
}