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

#include <time_relevant_ordering.h>

Inheritance diagram for TimeRelevantOrdering:
Inheritance graph
Collaboration diagram for TimeRelevantOrdering:
Collaboration graph

Public Member Functions

 TimeRelevantOrdering ()
 
virtual ~TimeRelevantOrdering ()
 
virtual std::wstring get_name () const
 Human readable name of the transformation. More...
 
virtual PreconditionList get_preconditions (MscPtr msc) const
 Returns a list of preconditions for this transformation. More...
 
virtual MscPtr transform (MscPtr msc)
 Transform a MSC drawing. More...
 
- Public Member Functions inherited from Transformer
virtual ~Transformer ()
 
- 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 Member Functions inherited from Reporter
 Reporter ()
 
 Reporter (ReportPrinter *printer)
 
virtual ~Reporter ()
 
void set_printer (ReportPrinter *printer)
 
int print_report (TReportSeverity severity, const std::wstring &message)
 

Private Member Functions

int transform_bmsc (BMscPtr bmsc, OrderingSettings &settings)
 
int transform_hmsc (HMscPtr hmsc, OrderingSettings &Settings)
 
int transform_absolute_times (BMscPtr bmsc, OrderingSettings &settings)
 
int tranform_relative_times (BMscPtr bmsc, OrderingSettings &settings)
 
int transform_times (BMscPtr bmsc, OrderingSettings &settings)
 
EventPtrList sort_events (InstanceEventsMap &instance_map, OrderingSettings &Settings)
 
double get_time (EventPtr e)
 
Coordinate constant_value_order (EventPtrList sorted_events, Coordinate start_position, OrderingSettings settings)
 
Coordinate logarithmic_value_order (EventPtrList sorted_events, Coordinate start_position, OrderingSettings settings)
 

Private Attributes

MissingTimeMap m_missing_time_map
 

Additional Inherited Members

- Public Types inherited from Transformer
typedef std::vector
< PrerequisiteCheck
PreconditionList
 List of properties that must be satisfied before executing the transformation. More...
 

Detailed Description

Definition at line 35 of file time_relevant_ordering.h.

Constructor & Destructor Documentation

TimeRelevantOrdering::TimeRelevantOrdering ( )

Definition at line 21 of file time_relevant_ordering.cpp.

virtual TimeRelevantOrdering::~TimeRelevantOrdering ( )
inlinevirtual

Definition at line 39 of file time_relevant_ordering.h.

Member Function Documentation

Coordinate TimeRelevantOrdering::constant_value_order ( EventPtrList  sorted_events,
Coordinate  start_position,
OrderingSettings  settings 
)
private
virtual std::wstring TimeRelevantOrdering::get_name ( ) const
inlinevirtual

Human readable name of the transformation.

Implements Transformer.

Definition at line 42 of file time_relevant_ordering.h.

Transformer::PreconditionList TimeRelevantOrdering::get_preconditions ( MscPtr  msc) const
virtual

Returns a list of preconditions for this transformation.

Implements Transformer.

Definition at line 26 of file time_relevant_ordering.cpp.

References PrerequisiteCheck::PP_REQUIRED, and result.

double TimeRelevantOrdering::get_time ( EventPtr  e)
private
Coordinate TimeRelevantOrdering::logarithmic_value_order ( EventPtrList  sorted_events,
Coordinate  start_position,
OrderingSettings  settings 
)
private
EventPtrList TimeRelevantOrdering::sort_events ( InstanceEventsMap instance_map,
OrderingSettings Settings 
)
private
int TimeRelevantOrdering::tranform_relative_times ( BMscPtr  bmsc,
OrderingSettings settings 
)
private
MscPtr TimeRelevantOrdering::transform ( MscPtr  msc)
virtual

Transform a MSC drawing.

Implements Transformer.

Definition at line 34 of file time_relevant_ordering.cpp.

References result, transform_bmsc(), and transform_hmsc().

int TimeRelevantOrdering::transform_absolute_times ( BMscPtr  bmsc,
OrderingSettings settings 
)
private
int TimeRelevantOrdering::transform_bmsc ( BMscPtr  bmsc,
OrderingSettings settings 
)
private
int TimeRelevantOrdering::transform_hmsc ( HMscPtr  hmsc,
OrderingSettings Settings 
)
private

Definition at line 85 of file time_relevant_ordering.cpp.

Referenced by transform().

int TimeRelevantOrdering::transform_times ( BMscPtr  bmsc,
OrderingSettings settings 
)
private

Member Data Documentation

MissingTimeMap TimeRelevantOrdering::m_missing_time_map
private

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

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