yasmine
|
Classes | |
class | choice_model |
interface | composite_state_model |
Interface for a composite state in the model. More... | |
interface | deep_history_model |
Interface for a deep history pseudostate in the model. More... | |
interface | entry_point_model |
Interface for an entry point pseudostate in the model. More... | |
struct | event_model |
An event in the model. More... | |
interface | exit_point_model |
Interface for an exit point pseudostate in the model. More... | |
interface | final_state_model |
Interface for a final state in the model. More... | |
interface | fork_model |
Interface for a fork pseudostate in the model. More... | |
interface | initial_pseudostate_model |
Interface for an initial pseudostate int the model. More... | |
interface | join_model |
Interface for a join pseudostate in the model. More... | |
interface | junction_model |
Interface for a junction pseudostate in the model. More... | |
class | model_vertex_visitor |
interface | pseudostate_model |
Interface for a pseudostate in the model. More... | |
class | pseudostate_model_impl |
A pseudostate in the model. More... | |
interface | region_model |
Interface for a region in the model. More... | |
interface | shallow_history_model |
Interface for a shallow history pseudostate in the model. More... | |
interface | simple_state_model |
Interface for a simple state in the model. More... | |
interface | state_machine_element_model |
Interface for an element in the state machine model. More... | |
class | state_machine_element_model_impl |
An element of the state machine in the model. More... | |
class | state_machine_model |
Class representing a model of a complete state machine. More... | |
interface | state_model |
Interface for a state in the model. More... | |
class | state_model_impl |
A state in the model. More... | |
class | SX_FINAL |
interface | terminate_pseudostate_model |
Interface for a terminate pseudostate in the model. More... | |
class | transition_model |
Interface for a transition in the model. More... | |
class | transition_model_impl |
Enumerations | |
enum | model_element_type { TYE_UNKNOWN = -1, TYE_TRANSITION = 0, TYE_SIMPLE_STATE = 1, TYE_COMPOSITE_STATE = 2, TYE_FINAL_STATE = 3, TYE_INITIAL_PSEUDOSTATE = 4, TYE_TERMINATE_PSEUDOSTATE = 5, TYE_ENTRY_POINT = 6, TYE_EXIT_POINT = 7, TYE_DEEP_HISTORY = 8, TYE_SHALLOW_HISTORY = 9, TYE_JOIN = 10, TYE_JUNCTION = 11, TYE_FORK = 12, TYE_CHOICE = 13, TYE_REGION = 14, TYE_ASYNC_SIMPLE_STATE = 15 } |
enum | transition_model_kind { transition_model_kind::EXTERNAL = 0, transition_model_kind::INTERNAL = 1, transition_model_kind::LOCAL = 2 } |
Functions | |
model_element_type | model_element_type_from_string (const std::string &_type_as_string) |
const std::string | model_element_type_to_string (const model_element_type &_type) |
std::string | to_string (const transition_model_kind _kind) |
Variables | |
const char *const | JSON_STATE_MACHINE_NODE = "state_machine" |
const char *const | JSON_ROOT_NODE = "root" |
const char *const | JSON_TRANSITIONS_NODE = "transitions" |
const char *const | JSON_NAME_NODE = "name" |
const char *const | JSON_TYPE_NODE = "type" |
const char *const | JSON_ENTER_BEHAVIOR_NODE = "enter_behavior" |
const char *const | JSON_DO_BEHAVIOR_NODE = "do_behavior" |
const char *const | JSON_EXIT_BEHAVIOR_NODE = "exit_behavior" |
const char *const | JSON_REGIONS_NODE = "regions" |
const char *const | JSON_VERTICES_NODE = "vertices" |
const char *const | JSON_STATE_PSEUDOSTATES_NODE = "pseudostates" |
const char *const | JSON_PSEUDOSTATES_NODE = "pseudostates" |
const char *const | JSON_TRANSITION_KIND_NODE = "kind" |
const char *const | JSON_TRANSITION_SOURCE_NODE = "source" |
const char *const | JSON_TRANSITION_TARGET_NODE = "target" |
const char *const | JSON_TRANSITION_GUARD_NODE = "guard" |
const char *const | JSON_TRANSITION_BEHAVIOR_NODE = "behavior" |
const char *const | JSON_TRANSITION_EVENTS_NODE = "event_name" |
const char *const | JSON_DEFERRED_EVENTS = "deferred_event_name" |
const char *const | JSON_ERROR_EVENT = "error_event" |
const char *const | JSON_EVENT_ID = "ID" |
const char *const | JSON_EVENT_NAME = "name" |
const char *const | JSON_EVENT_LIST_NODE = "event_list" |
const char *const | JSON_EVENT_PRIORITY = "priority" |
const char *const | JSON_VERSION = "version" |
const char *const | JSON_CURRENT_VERSION_VALUE = "2.0" |
const char *const | JSON_VERSION_1 = "1.0" |
const std::string | TYPE_TRANSITION = "transition" |
const std::string | TYPE_SIMPLE_STATE = "simple_state" |
const std::string | TYPE_ASYNC_SIMPLE_STATE = "async_simple_state" |
const std::string | TYPE_COMPOSITE_STATE = "composite_state" |
const std::string | TYPE_FINAL_STATE = "final_state" |
const std::string | TYPE_INITIAL_PSEUDOSTATE = "initial_pseudostate" |
const std::string | TYPE_TERMINATE_PSEUDOSTATE = "terminate_pseudostate" |
const std::string | TYPE_ENTRY_POINT = "entry_point" |
const std::string | TYPE_EXIT_POINT = "exit_point" |
const std::string | TYPE_DEEP_HISTORY = "deep_history" |
const std::string | TYPE_SHALLOW_HISTORY = "shallow_history" |
const std::string | TYPE_JOIN = "join" |
const std::string | TYPE_JUNCTION = "junction" |
const std::string | TYPE_FORK = "fork" |
const std::string | TYPE_CHOICE = "choice" |
const std::string | TYPE_REGION = "region" |
const std::string | TYPE_UNKNOWN = "unknown" |
const std::string | CONFIG_FILE_IS_CORRUPTED = "Config file is corrupted!" |
const std::string | CHOOSE_FILE_TEXT = "Select log file" |
const std::string | FILE_CANNOT_BE_OPENED = "File cannot be opened!" |
const std::string | PATH_CONFIG_JSON_FILE = "path_config.json" |
const std::string | CHOOSE_FILE_TYPE = "file (*.*);;" |
const std::string | CHOOSE_FILE_TEXT_SAVE = "Select file to save data" |
const std::string | CHOOSE_FILE_DEFAULT_SAVING_NAME = "state_machine.json" |
const std::string | CHOOSE_FILE_TYPE_SAVE = "all files (*.*);;" |
const char *const | TRANSITION_MUST_BE_IN_JSON_ARRAY = "Transitions from the json file are not in an array!" |
const event_id | Y_MODEL_COMPLETION_EVENT_ID = std::numeric_limits<sxy::model::event_id>::max() |
constexpr event_priority | DEFAULT_EVENT_PRIORITY = 0 |
yasmine model's predefined default event priority. More... | |
typedef sxe::SX_UNIQUE_PTR<choice_model> sxy::model::choice_model_uptr |
typedef sxe::SX_UNIQUE_PTR< composite_state_model_impl > sxy::model::composite_state_model_uptr |
typedef sxe::SX_UNIQUE_PTR<deep_history_model> sxy::model::deep_history_model_uptr |
typedef sxe::SX_UNIQUE_PTR<entry_point_model> sxy::model::entry_point_model_uptr |
typedef sxe::uint32_t sxy::model::event_id |
The type alias for yasmine model's event IDs.
typedef std::vector< event_id > sxy::model::event_ids |
The type alias for yasmine model's event ID list.
typedef sxe::int8_t sxy::model::event_priority |
The type alias for yasmine model's event priorities.
typedef sxe::shared_ptr< event_model > sxy::model::event_sptr |
typedef sxe::SX_UNIQUE_PTR<exit_point_model> sxy::model::exit_point_model_uptr |
typedef sxe::SX_UNIQUE_PTR< final_state_model > sxy::model::final_state_model_uptr |
typedef sxe::SX_UNIQUE_PTR<fork_model> sxy::model::fork_model_uptr |
typedef sxe::SX_UNIQUE_PTR< initial_pseudostate_model > sxy::model::initial_pseudostate_model_uptr |
typedef sxe::SX_UNIQUE_PTR<join_model> sxy::model::join_model_uptr |
typedef sxe::SX_UNIQUE_PTR<junction_model> sxy::model::junction_model_uptr |
typedef sxe::SX_UNIQUE_PTR<pseudostate_model> sxy::model::pseudostate_model_uptr |
typedef std::vector<pseudostate_model_uptr> sxy::model::pseudostate_models_uptr |
typedef std::vector< const pseudostate_model*> sxy::model::raw_const_pseduostate_models |
typedef std::vector<const region_model*> sxy::model::raw_const_region_models |
typedef std::vector<const transition_model*> sxy::model::raw_const_transition_models |
typedef sxe::SX_UNIQUE_PTR<region_model_impl> sxy::model::region_model_impl_uptr |
typedef sxe::SX_UNIQUE_PTR<region_model> sxy::model::region_model_uptr |
typedef std::vector<region_model_uptr> sxy::model::region_models_uptr |
typedef std::vector<const state_model*> sxy::model::row_const_state_models |
typedef sxe::SX_UNIQUE_PTR<shallow_history_model> sxy::model::shallow_history_model_uptr |
typedef sxe::SX_UNIQUE_PTR< simple_state_model > sxy::model::simple_state_model_uptr |
typedef sxe::SX_UNIQUE_PTR< state_machine_model > sxy::model::state_machine_model_ptr |
typedef sxe::SX_UNIQUE_PTR<state_model> sxy::model::state_model_uptr |
typedef std::vector<state_model_uptr> sxy::model::state_models_uptr |
typedef sxe::SX_UNIQUE_PTR<terminate_pseudostate_model> sxy::model::terminate_pseudostate_model_uptr |
typedef sxe::SX_UNIQUE_PTR<transition_model> sxy::model::transition_model_uptr |
typedef std::vector<transition_model_uptr> sxy::model::transition_models |
|
strong |
model_element_type sxy::model::model_element_type_from_string | ( | const std::string & | _type_as_string | ) |
const std::string sxy::model::model_element_type_to_string | ( | const model_element_type & | _type | ) |
std::string sxy::model::to_string | ( | const transition_model_kind | _kind | ) |
const std::string sxy::model::CHOOSE_FILE_DEFAULT_SAVING_NAME = "state_machine.json" |
const std::string sxy::model::CHOOSE_FILE_TEXT = "Select log file" |
const std::string sxy::model::CHOOSE_FILE_TEXT_SAVE = "Select file to save data" |
const std::string sxy::model::CHOOSE_FILE_TYPE = "file (*.*);;" |
const std::string sxy::model::CHOOSE_FILE_TYPE_SAVE = "all files (*.*);;" |
const std::string sxy::model::CONFIG_FILE_IS_CORRUPTED = "Config file is corrupted!" |
constexpr event_priority sxy::model::DEFAULT_EVENT_PRIORITY = 0 |
yasmine model's predefined default event priority.
const std::string sxy::model::FILE_CANNOT_BE_OPENED = "File cannot be opened!" |
const char *const sxy::model::JSON_CURRENT_VERSION_VALUE = "2.0" |
const char *const sxy::model::JSON_DEFERRED_EVENTS = "deferred_event_name" |
const char *const sxy::model::JSON_DO_BEHAVIOR_NODE = "do_behavior" |
const char *const sxy::model::JSON_ENTER_BEHAVIOR_NODE = "enter_behavior" |
const char *const sxy::model::JSON_ERROR_EVENT = "error_event" |
const char *const sxy::model::JSON_EVENT_ID = "ID" |
const char *const sxy::model::JSON_EVENT_LIST_NODE = "event_list" |
const char *const sxy::model::JSON_EVENT_NAME = "name" |
const char *const sxy::model::JSON_EVENT_PRIORITY = "priority" |
const char *const sxy::model::JSON_EXIT_BEHAVIOR_NODE = "exit_behavior" |
const char *const sxy::model::JSON_NAME_NODE = "name" |
const char *const sxy::model::JSON_PSEUDOSTATES_NODE = "pseudostates" |
const char *const sxy::model::JSON_REGIONS_NODE = "regions" |
const char *const sxy::model::JSON_ROOT_NODE = "root" |
const char *const sxy::model::JSON_STATE_MACHINE_NODE = "state_machine" |
const char *const sxy::model::JSON_STATE_PSEUDOSTATES_NODE = "pseudostates" |
const char *const sxy::model::JSON_TRANSITION_BEHAVIOR_NODE = "behavior" |
const char *const sxy::model::JSON_TRANSITION_EVENTS_NODE = "event_name" |
const char *const sxy::model::JSON_TRANSITION_GUARD_NODE = "guard" |
const char *const sxy::model::JSON_TRANSITION_KIND_NODE = "kind" |
const char *const sxy::model::JSON_TRANSITION_SOURCE_NODE = "source" |
const char *const sxy::model::JSON_TRANSITION_TARGET_NODE = "target" |
const char *const sxy::model::JSON_TRANSITIONS_NODE = "transitions" |
const char *const sxy::model::JSON_TYPE_NODE = "type" |
const char *const sxy::model::JSON_VERSION = "version" |
const char *const sxy::model::JSON_VERSION_1 = "1.0" |
const char *const sxy::model::JSON_VERTICES_NODE = "vertices" |
const std::string sxy::model::PATH_CONFIG_JSON_FILE = "path_config.json" |
const char *const sxy::model::TRANSITION_MUST_BE_IN_JSON_ARRAY = "Transitions from the json file are not in an array!" |
const std::string sxy::model::TYPE_ASYNC_SIMPLE_STATE = "async_simple_state" |
const std::string sxy::model::TYPE_CHOICE = "choice" |
const std::string sxy::model::TYPE_COMPOSITE_STATE = "composite_state" |
const std::string sxy::model::TYPE_DEEP_HISTORY = "deep_history" |
const std::string sxy::model::TYPE_ENTRY_POINT = "entry_point" |
const std::string sxy::model::TYPE_EXIT_POINT = "exit_point" |
const std::string sxy::model::TYPE_FINAL_STATE = "final_state" |
const std::string sxy::model::TYPE_FORK = "fork" |
const std::string sxy::model::TYPE_INITIAL_PSEUDOSTATE = "initial_pseudostate" |
const std::string sxy::model::TYPE_JOIN = "join" |
const std::string sxy::model::TYPE_JUNCTION = "junction" |
const std::string sxy::model::TYPE_REGION = "region" |
const std::string sxy::model::TYPE_SHALLOW_HISTORY = "shallow_history" |
const std::string sxy::model::TYPE_SIMPLE_STATE = "simple_state" |
const std::string sxy::model::TYPE_TERMINATE_PSEUDOSTATE = "terminate_pseudostate" |
const std::string sxy::model::TYPE_TRANSITION = "transition" |
const std::string sxy::model::TYPE_UNKNOWN = "unknown" |
const event_id sxy::model::Y_MODEL_COMPLETION_EVENT_ID = std::numeric_limits<sxy::model::event_id>::max() |