00001 // $Log: FSMErrorCodes.cpp,v $ 00002 // Revision 1.1 2002/08/20 14:48:41 vofka 00003 // FiniteStateMachine-config.h removed from installing. Loading exported to the loader class. Saver introduced. Error codes exported to FSMErrorCodes. 00004 // 00005 #ifdef _MSC_VER 00006 #pragma warning( disable : 4786 ) // 'identifier' : identifier was truncated to 'number' characters in the debug information 00007 // #pragma warning( disable : 4503 ) // 'identifier' : decorated name length exceeded, name was truncated 00008 // #pragma warning( disable : 4250 ) // 'class1' : inherits 'class2::member' via dominance 00009 #pragma warning( disable : 4251 ) // 'identifier' : class 'type' needs to have dll-interface to be used by clients of class 'type2' 00010 #endif 00011 #ifdef __INTEL_COMPILER 00012 #pragma warning( disable : 985 ) // == C4786 00013 #endif 00014 00015 #include "FiniteStateMachine-config.h" 00016 #include "FSMErrorCodes.h" 00017 00018 namespace FSM { 00019 iErrorCode FSM_OPEN_FILE_FAILED("Could not open file \"%s\"."); 00020 iErrorCode FSM_LOAD_STARTED("Cannot load a running FSM."); 00021 iErrorCode FSM_LOAD_NOT_IMPLEMENTED("Not implemented."); 00022 iErrorCode FSM_TRANSITION_NOT_FOUND("Transition not found."); 00023 iErrorCode FSM_ACTION_NOT_FOUND("Action not found."); 00024 iErrorCode FSM_CONDITION_NOT_FOUND("Condition not found."); 00025 iErrorCode FSM_STATE_DEFINED_TWICE("State \"%s\" is not unique."); 00026 iErrorCode FSM_STATE_NOT_FOUND("State \"%s\" not found."); 00027 iErrorCode FSM_CANNOT_DELETE_CURRENT("Cannot delete the state \"%s\": the state is current"); 00028 iErrorCode FSM_VARAIBLE_DEFINED_TWICE("Varaible \"%s\" is not unique."); 00029 iErrorCode FSM_VARIABLE_NOT_FOUND("Varaible \"%s\" not found."); 00030 iErrorCode FSM_INITIAL_AFTER_START("Initial state set on an already running FSM."); 00031 iErrorCode FSM_ALREADY_STARTED("Start failed: already running"); 00032 iErrorCode FSM_NOT_STARTED("ProcessEvent of a not started FSM called."); 00033 iErrorCode FSM_CLEAR_STARTED("Cannot clear a runnig FSM."); 00034 iErrorCode FSM_TAG_NOT_FOUND("Tag <%s> not found."); 00035 iErrorCode FSM_MISSED_ATTRIBUTE("Attribute \"%s\" of tag <%s>missed."); 00036 iErrorCode FSM_UNKNOWN_TAG("Unknown tag <%s> inside of <%s>."); 00037 iErrorCode FSM_UNKNOWN_PARAM("Unknown parameter \"%s\"of class \"%s\""); 00038 iErrorCode FSM_UNKNOWN_CONDITION_VALUE("Unknown condition value \"%s\" for parameter \"%s\" of class \"%s\"."); 00039 iErrorCode FSM_UNKNOWN_CONDITION("Unknown condition value \"%d\"."); 00040 iErrorCode FSM_PARAM_NOT_SET("Parameter \"%s\" of \"%s\" not set."); 00041 iErrorCode FSM_CLASS_REGISTERED_TWICE("Class \"%s\" registered twice."); 00042 iErrorCode FSM_CANNOT_CREATE_CLASS("Cannot create class \"%s\""); 00043 iErrorCode FSM_PARAM_NOT_READ("Could not read parameter \"%s\" from \"%s\"."); 00044 00045 }; // namespace FSM