Refactored sequence diagram visitor
This commit is contained in:
@@ -80,44 +80,14 @@ public:
|
||||
|
||||
activity &get_activity(common::model::diagram_element::id_t id);
|
||||
|
||||
void add_if_stmt(common::model::diagram_element::id_t current_caller_id,
|
||||
common::model::message_t type);
|
||||
void end_if_stmt(common::model::diagram_element::id_t current_caller_id,
|
||||
common::model::message_t type);
|
||||
void add_message(model::message &&message);
|
||||
|
||||
void add_try_stmt(common::model::diagram_element::id_t current_caller_id);
|
||||
void end_try_stmt(common::model::diagram_element::id_t current_caller_id);
|
||||
void add_block_message(model::message &&message);
|
||||
|
||||
void add_loop_stmt(common::model::diagram_element::id_t current_caller_id,
|
||||
common::model::message_t type);
|
||||
void end_loop_stmt(common::model::diagram_element::id_t current_caller_id,
|
||||
common::model::message_t type);
|
||||
void end_block_message(
|
||||
model::message &&message, common::model::message_t start_type);
|
||||
|
||||
void add_while_stmt(common::model::diagram_element::id_t current_caller_id);
|
||||
void end_while_stmt(common::model::diagram_element::id_t current_caller_id);
|
||||
|
||||
void add_do_stmt(common::model::diagram_element::id_t current_caller_id);
|
||||
void end_do_stmt(common::model::diagram_element::id_t current_caller_id);
|
||||
|
||||
void add_for_stmt(common::model::diagram_element::id_t current_caller_id);
|
||||
void end_for_stmt(common::model::diagram_element::id_t current_caller_id);
|
||||
|
||||
void add_switch_stmt(
|
||||
common::model::diagram_element::id_t current_caller_id);
|
||||
void end_switch_stmt(
|
||||
common::model::diagram_element::id_t current_caller_id);
|
||||
void add_case_stmt(common::model::diagram_element::id_t current_caller_id);
|
||||
void add_case_stmt(common::model::diagram_element::id_t current_caller_id,
|
||||
const std::string &case_label);
|
||||
void add_default_stmt(
|
||||
common::model::diagram_element::id_t current_caller_id);
|
||||
|
||||
void add_conditional_stmt(
|
||||
common::model::diagram_element::id_t current_caller_id);
|
||||
void add_conditional_elsestmt(
|
||||
common::model::diagram_element::id_t current_caller_id);
|
||||
void end_conditional_stmt(
|
||||
common::model::diagram_element::id_t current_caller_id);
|
||||
void add_case_stmt_message(model::message &&m);
|
||||
|
||||
bool started() const;
|
||||
void started(bool s);
|
||||
@@ -139,9 +109,6 @@ public:
|
||||
const std::set<common::model::diagram_element::id_t> &
|
||||
active_participants() const;
|
||||
|
||||
void add_catch_stmt(common::model::diagram_element::id_t current_caller_id,
|
||||
std::string caught_type);
|
||||
|
||||
private:
|
||||
void fold_or_end_block_statement(message &&m,
|
||||
common::model::message_t statement_begin,
|
||||
|
||||
Reference in New Issue
Block a user