diff trunk/src/Support/ModuleFactory.cc @ 618:e01caec17186

Added JSON output for use with node.js and backbone.js
author sness@sness.net
date Fri, 10 May 2013 20:12:49 +0000
parents f56d2eedd878
children
line wrap: on
line diff
--- a/trunk/src/Support/ModuleFactory.cc	Thu May 09 18:24:51 2013 +0000
+++ b/trunk/src/Support/ModuleFactory.cc	Fri May 10 20:12:49 2013 +0000
@@ -23,6 +23,7 @@
 #include "Modules/NAP/ModuleHCL.h"
 #include "Modules/Output/FileOutputHTK.h"
 #include "Modules/Output/FileOutputAIMC.h"
+#include "Modules/Output/FileOutputJSON.h"
 //#include "Modules/Output/OSCOutput.h"
 #include "Modules/Output/Graphics/GraphicsViewTime.h"
 #include "Modules/Profile/ModuleSlice.h"
@@ -64,6 +65,9 @@
   if (module_name_.compare("aimc_out") == 0)
     return new FileOutputAIMC(params);
 
+  if (module_name_.compare("json_out") == 0)
+    return new FileOutputJSON(params);
+
   if (module_name_.compare("graphics_time") == 0)
     return new GraphicsViewTime(params);