Sequence Chart Studio  svn HEAD revision
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
LayoutOptimizer Class Reference

#include <layout_optimizer.h>

Inheritance diagram for LayoutOptimizer:
Inheritance graph
Collaboration diagram for LayoutOptimizer:
Collaboration graph

Public Member Functions

 LayoutOptimizer (ConfigProvider *config_provider, Beautify *beautify)
 
int process (BMscPtr bmsc)
 
int after_import_process (BMscPtr bmsc)
 
- Public Member Functions inherited from ConfigReader
 ConfigReader ()
 
 ConfigReader (ConfigProvider *config_provider)
 
virtual ~ConfigReader ()
 
void set_config_provider (ConfigProvider *config_provider)
 
ConfigProviderget_config_provider () const
 
long get_config_long (const std::wstring &section, const std::wstring &parameter, long def=0) const
 
float get_config_float (const std::wstring &section, const std::wstring &parameter, float def=0.0f) const
 
std::wstring get_config_string (const std::wstring &section, const std::wstring &parameter, std::wstring def=L"") const
 

Public Attributes

float m_instance_head_distance
 
float m_successor_distance
 
float m_send_receive_distance
 
float m_incomplete_message_length
 
float m_coregion_begin_event_distance
 
float m_event_coregion_end_distance
 
float m_instance_foot_distance
 
long m_use_const_length
 
long m_use_origin_length
 
long m_use_align_bottom
 
long m_use_parts_length
 
long m_use_original_action
 
long m_use_user_action
 
long m_use_original_condition
 
long m_use_user_condition
 
long m_use_lp
 
long m_use_heuristic
 
float m_action_width
 
float m_condition_width
 
float m_const_length_value
 

Private Member Functions

void load_registry_beautify ()
 
void load_registry_import ()
 

Private Attributes

BeautifybeautifyIns
 

Detailed Description

Definition at line 29 of file layout_optimizer.h.

Constructor & Destructor Documentation

LayoutOptimizer::LayoutOptimizer ( ConfigProvider config_provider,
Beautify beautify 
)

Definition at line 937 of file layout_optimizer.cpp.

References beautifyIns.

Member Function Documentation

int LayoutOptimizer::after_import_process ( BMscPtr  bmsc)
void LayoutOptimizer::load_registry_beautify ( )
private
void LayoutOptimizer::load_registry_import ( )
private
int LayoutOptimizer::process ( BMscPtr  bmsc)

Member Data Documentation

Beautify* LayoutOptimizer::beautifyIns
private

Definition at line 32 of file layout_optimizer.h.

Referenced by after_import_process(), LayoutOptimizer(), and process().

float LayoutOptimizer::m_action_width
float LayoutOptimizer::m_condition_width
float LayoutOptimizer::m_const_length_value

Definition at line 69 of file layout_optimizer.h.

Referenced by load_registry_beautify(), load_registry_import(), and process().

float LayoutOptimizer::m_coregion_begin_event_distance
float LayoutOptimizer::m_event_coregion_end_distance
float LayoutOptimizer::m_incomplete_message_length
float LayoutOptimizer::m_instance_foot_distance
float LayoutOptimizer::m_instance_head_distance
float LayoutOptimizer::m_send_receive_distance
float LayoutOptimizer::m_successor_distance
long LayoutOptimizer::m_use_align_bottom

Definition at line 54 of file layout_optimizer.h.

Referenced by load_registry_beautify(), load_registry_import(), and process().

long LayoutOptimizer::m_use_const_length

Definition at line 52 of file layout_optimizer.h.

Referenced by load_registry_beautify(), load_registry_import(), and process().

long LayoutOptimizer::m_use_heuristic

Definition at line 64 of file layout_optimizer.h.

Referenced by load_registry_beautify(), and load_registry_import().

long LayoutOptimizer::m_use_lp
long LayoutOptimizer::m_use_origin_length

Definition at line 53 of file layout_optimizer.h.

Referenced by load_registry_beautify(), load_registry_import(), and process().

long LayoutOptimizer::m_use_original_action

Definition at line 57 of file layout_optimizer.h.

Referenced by load_registry_beautify(), and load_registry_import().

long LayoutOptimizer::m_use_original_condition

Definition at line 60 of file layout_optimizer.h.

Referenced by load_registry_beautify(), and load_registry_import().

long LayoutOptimizer::m_use_parts_length

Definition at line 55 of file layout_optimizer.h.

Referenced by load_registry_beautify(), load_registry_import(), and process().

long LayoutOptimizer::m_use_user_action
long LayoutOptimizer::m_use_user_condition

The documentation for this class was generated from the following files:

SourceForge.net Logo
Generated on Fri Jan 15 2016 16:26:58 for Sequence Chart Studio by  doxygen