t_state_machine.cpp File Reference

#include <basis/byte_array.h>
#include <basis/function.h>
#include <basis/guards.h>
#include <basis/istring.h>
#include <mechanisms/state_machine.h>
#include <opsystem/application_shell.h>
#include <opsystem/byte_filer.h>
#include <data_struct/static_memory_gremlin.h>
#include <loggers/console_logger.h>
#include <string.h>

Include dependency graph for t_state_machine.cpp:

Go to the source code of this file.

Defines

#define LOG(s)   CLASS_EMERGENCY_LOG(program_wide_logger(), s)
#define TEST(action)

Enumerations

enum  recognizer_states {
  GET_ANY = 1, GOT_DOT, GOT_CHO, RECOGNIZED,
  REJECTED
}

Functions

istring state_text (recognizer_states to_show)


Define Documentation

#define LOG (  )     CLASS_EMERGENCY_LOG(program_wide_logger(), s)

Definition at line 37 of file t_state_machine.cpp.

#define TEST ( action   ) 

Value:

if (!action) \
    deadly_error(class_name(), "setup", isprintf("failed on %s", #action))

Definition at line 60 of file t_state_machine.cpp.


Enumeration Type Documentation

enum recognizer_states

Enumerator:
GET_ANY 
GOT_DOT 
GOT_CHO 
RECOGNIZED 
REJECTED 

Definition at line 34 of file t_state_machine.cpp.


Function Documentation

istring state_text ( recognizer_states  to_show  ) 

Definition at line 48 of file t_state_machine.cpp.

References GET_ANY, GOT_CHO, GOT_DOT, RECOGNIZED, and REJECTED.


Generated on Fri Nov 28 04:30:30 2008 for HOOPLE Libraries by  doxygen 1.5.1