diff doc/ModuleTemplate.cc @ 12:d67a0a83d11b

-Profile module for taking slices of an SAI or SSI (or anything else for that matter) -Stub SSI module - not yet complete -Fixes to the module template
author tomwalters
date Fri, 19 Feb 2010 13:07:54 +0000
parents bd370910aa05
children c5f5e9569863
line wrap: on
line diff
--- a/doc/ModuleTemplate.cc	Fri Feb 19 12:15:56 2010 +0000
+++ b/doc/ModuleTemplate.cc	Fri Feb 19 13:07:54 2010 +0000
@@ -40,7 +40,7 @@
   // returned.
   // Examples:
   // integer_param_ = parameters_->DefaultInt("module.param_name", 4);
-  // boolean_param_ = parameters_->DefaultBool("module.param_name", True);
+  // boolean_param_ = parameters_->DefaultBool("module.param_name", true);
   // float_param_ = parameters_->DefaultFloat("module.param_name", 4.4f);
 }
 
@@ -71,7 +71,7 @@
   // Check to see if the module has been initialized. If not, processing
   // should not continue.
   if (!initialized_) {
-    LOG_ERROR(_T("Module #MODULE_NAME# not initialized."));
+    LOG_ERROR(_T("Module %s not initialized."), module_identifier_.c_str());
     return;
   }
 
@@ -80,7 +80,7 @@
   if (buffer_length_ != input.buffer_length()
       || channel_count_ != input.channel_count()) {
     LOG_ERROR(_T("Mismatch between input to Initialize() and input to "
-                 "Process() in module %s", module_identifier_));
+                 "Process() in module %s."), module_identifier_.c_str());
     return;
   }