Files
spark/src/server/sparkd/main.cpp
T

53 lines
1.4 KiB
C++

#include "lib/utils/init_spark_lib.h"
#include "lib/utils/thread_manager.h"
#include "server/sparkd/cmds/CmdRegistry.h"
// to add a command add the header here and the the REGISTER call below
// don't touch this file except to add commands.
#include "server/sparkd/cmds/AdminReport.h"
#include "server/sparkd/cmds/AutoCert.h"
#include "server/sparkd/cmds/Benchmark.h"
#include "server/sparkd/cmds/ConfigCheck.h"
#include "server/sparkd/cmds/FIXSim.h"
#include "server/sparkd/cmds/Help.h"
#include "server/sparkd/cmds/KeyCode.h"
#include "server/sparkd/cmds/Md.h"
#include "server/sparkd/cmds/ParseHistoricalFIX.h"
#include "server/sparkd/cmds/PrintHedgeOrders.h"
#include "server/sparkd/cmds/QuickTest.h"
#include "server/sparkd/cmds/Run.h"
#include "server/sparkd/cmds/RunSim.h"
#include "server/sparkd/cmds/Span.h"
#include "server/sparkd/cmds/Test.h"
#include "server/sparkd/cmds/TestCeloxica.h"
#include "server/sparkd/cmds/Web.h"
using namespace bts;
int main(int argc, char **argv) {
utils::init_spark_lib();
BEGIN_CMD;
REGISTER(Test);
REGISTER(Help);
REGISTER(Run);
REGISTER(Md);
REGISTER(TestCeloxica);
REGISTER(ConfigCheck);
REGISTER(KeyCode);
REGISTER(RunSim);
REGISTER(Benchmark);
REGISTER(QuickTest);
REGISTER(AutoCert);
REGISTER(FIXSim);
REGISTER(Span);
REGISTER(Web);
REGISTER(ParseHistoricalFIX);
REGISTER(PrintHedgeOrders);
REGISTER(AdminReport);
END_CMD;
utils::finit_spark_lib();
return 0;
}