Cleanup and more API docs.

This commit is contained in:
Robin Sommer 2013-05-30 16:45:14 -07:00
parent 4ccd6d76fd
commit e3a7e0301b
18 changed files with 349 additions and 92 deletions

View file

@ -1,3 +1,4 @@
// See the file "COPYING" in the main distribution directory for copyright.
#include "Manager.h"
@ -85,9 +86,9 @@ Manager::~Manager()
}
}
void Manager::Init()
void Manager::InitPreScript()
{
std::list<Component*> analyzers = plugin_mgr->Components<Component>(plugin::component::ANALYZER);
std::list<Component*> analyzers = plugin_mgr->Components<Component>();
for ( std::list<Component*>::const_iterator i = analyzers.begin(); i != analyzers.end(); i++ )
RegisterAnalyzerComponent(*i);
@ -98,10 +99,9 @@ void Manager::Init()
analyzer_interconn = GetAnalyzerTag("INTERCONN");
analyzer_stepping = GetAnalyzerTag("STEPPINGSTONE");
analyzer_tcpstats = GetAnalyzerTag("TCPSTATS");
}
void Manager::InitBifs()
void Manager::InitPostScript()
{
#include "analyzer.bif.init.cc"
}