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
PrintBmsc Class Reference
Collaboration diagram for PrintBmsc:
Collaboration graph

Public Member Functions

 PrintBmsc (std::ostream &ostream, const BMscPtr &obmsc)
 
int print ()
 

Private Member Functions

void edge_point (Coordinate point)
 
void edge_point (Coordinate point, Coordinate width)
 
Coordinate incomplete_message_width_corection (Coordinate cor)
 
void print_color (const MscColor &color)
 
std::string print_opt_color (const MscColor &color)
 
bool findPtr (MscElementPtrList list, MscElementPtr element)
 
Coordinate inst_pos (InstancePtr instance)
 
void print_event (const EventPtr &event)
 
void print_coregion_area (const CoregionAreaPtr &coregionArea, Coordinate coordinate=0)
 
void print_order (const EventPtr &pred_event, const EventPtr &succ_event)
 
void print_event_comment (const EventPtr &event, Coordinate coordinate=0)
 
void print_instances (InstancePtrList instances)
 
void print_instance (const InstancePtr &instance, Coordinate coordinate=0)
 
void print_time_relations (const EventPtr &event, Coordinate coordinate=0)
 
void print_global_comment ()
 
Coordinate get_enviroment_dist ()
 
void print_configuration_header ()
 
void create_level (Coordinate coordinate)
 
void insert_pointer (MscElementPtr pointer, Coordinate coordinate)
 
void insert_comment (CommentPtr comment, Coordinate coordinate=0)
 
void insert_event (EventPtr event, Coordinate coordinate=0)
 
void insert_coregion_area (CoregionAreaPtr coregion_area, Coordinate coordinate=0)
 
void insert_time_relations (const EventPtr &event, Coordinate coordinate=0)
 insert time relations, coordinate = absolute y position of event in diagram More...
 
void insert_instances (InstancePtrList instances)
 
void insert_instance (const InstancePtr instance)
 
void insert_order (const EventPtr &pred_event, const EventPtr &succ_event)
 
void find_distances ()
 
void print_slope ()
 
void print_time_slope (DistanceMap *size, std::list< std::pair< Coordinate, Coordinate > > *coordinates)
 
void findCoregionPadding (EventPtr send_event, EventPtr receive_event)
 
Coordinate getTimeRelationSlope (TimeRelationEventPtr rpos)
 computes slope of time relation More...
 

Private Attributes

std::ostream m_stream
 
BMscPtr m_bmsc
 
ElementListMap m_event_level_map
 
std::map< Coordinate, int,
Compare
m_level_types
 
PtrIDMap< Coordinatem_instance_id_map
 
DistanceMap m_basic_level_size_map
 
DistanceMap m_coregion_first_map
 
DistanceMap m_coregion_last_map
 
DistanceMap m_coregion_width_map
 
DistanceMap m_coregion_tail_width_map
 
DistanceMap m_local_action_width_map
 
DistanceMap m_local_action_height_map
 
DistanceMap m_local_condition_width_map
 
DistanceMap m_local_condition_height_map
 
DistanceMap m_lostfound_width_map
 
DistanceMap m_comment_inst_dist_map
 
DistanceMap m_comment_width_map
 
DistanceMap m_comment_slope_map
 
DistanceMap m_absolutetime_width_map
 
DistanceMap m_absolutetime_slope_map
 
DistanceMap m_timeinterval_width_map
 
DistanceMap m_timeinterval_slope_map
 
DistanceMap m_ordering_width_map
 
DistanceMap m_order_slope_map
 
DistanceMap m_instance_width_map
 
DistanceMap m_instance_height_map
 
DistanceMap m_instance_spacing_map
 
DistanceMap m_slope_size_map
 
DistanceMap m_incomlete_mess_slope_map
 map of slope values More...
 
ColorMap m_colors
 
std::list< std::pair
< Coordinate, Coordinate > > 
m_slope_coordinates_map
 
std::list< std::pair
< Coordinate, Coordinate > > 
m_time_interval_slope_coordinates_map
 list of (start,end) coordinates of slope More...
 
std::list< std::pair
< Coordinate, Coordinate > > 
m_order_slope_coordinates_map
 list of (start,end) coordinates of slope More...
 
MarkType m_last_mark
 list of (start,end) coordinates of slope More...
 
InstancePtr m_left_most_instance
 
InstancePtr m_right_most_instance
 
Coordinate m_left_most_point
 
Coordinate m_right_most_point
 

Detailed Description

Definition at line 380 of file exportTex.cpp.

Constructor & Destructor Documentation

PrintBmsc::PrintBmsc ( std::ostream &  ostream,
const BMscPtr obmsc 
)
inline

Member Function Documentation

void PrintBmsc::create_level ( Coordinate  coordinate)
inlineprivate

Definition at line 930 of file exportTex.cpp.

References m_event_level_map.

Referenced by insert_pointer().

void PrintBmsc::edge_point ( Coordinate  point)
inlineprivate
void PrintBmsc::edge_point ( Coordinate  point,
Coordinate  width 
)
inlineprivate

Definition at line 432 of file exportTex.cpp.

References m_left_most_point, and m_right_most_point.

void PrintBmsc::find_distances ( )
inlineprivate
void PrintBmsc::findCoregionPadding ( EventPtr  send_event,
EventPtr  receive_event 
)
inlineprivate
bool PrintBmsc::findPtr ( MscElementPtrList  list,
MscElementPtr  element 
)
inlineprivate

Definition at line 458 of file exportTex.cpp.

Coordinate PrintBmsc::get_enviroment_dist ( )
inlineprivate
Coordinate PrintBmsc::getTimeRelationSlope ( TimeRelationEventPtr  rpos)
inlineprivate

computes slope of time relation

position of first event

position of second event

Definition at line 1595 of file exportTex.cpp.

References m_time_interval_slope_coordinates_map.

Referenced by insert_time_relations(), and print_time_relations().

Coordinate PrintBmsc::incomplete_message_width_corection ( Coordinate  cor)
inlineprivate

Definition at line 440 of file exportTex.cpp.

References Compare::compare().

Referenced by insert_event(), and print_event().

void PrintBmsc::insert_comment ( CommentPtr  comment,
Coordinate  coordinate = 0 
)
inlineprivate

Definition at line 953 of file exportTex.cpp.

References ColorMap::addColor(), edge_point(), insert_pointer(), and m_colors.

void PrintBmsc::insert_coregion_area ( CoregionAreaPtr  coregion_area,
Coordinate  coordinate = 0 
)
inlineprivate
void PrintBmsc::insert_event ( EventPtr  event,
Coordinate  coordinate = 0 
)
inlineprivate
void PrintBmsc::insert_instance ( const InstancePtr  instance)
inlineprivate
void PrintBmsc::insert_instances ( InstancePtrList  instances)
inlineprivate

Definition at line 1127 of file exportTex.cpp.

References DistanceMap::addDistance(), Compare::equal(), and m_instance_spacing_map.

Referenced by print().

void PrintBmsc::insert_order ( const EventPtr pred_event,
const EventPtr succ_event 
)
inlineprivate

position of first event

position of second event

Definition at line 1167 of file exportTex.cpp.

References DistanceMap::addDistance(), m_order_slope_coordinates_map, and m_order_slope_map.

Referenced by insert_event().

void PrintBmsc::insert_pointer ( MscElementPtr  pointer,
Coordinate  coordinate 
)
inlineprivate
void PrintBmsc::insert_time_relations ( const EventPtr event,
Coordinate  coordinate = 0 
)
inlineprivate

insert time relations, coordinate = absolute y position of event in diagram

Definition at line 1099 of file exportTex.cpp.

References ColorMap::addColor(), DistanceMap::addDistance(), edge_point(), getTimeRelationSlope(), m_absolutetime_slope_map, m_absolutetime_width_map, m_colors, and m_timeinterval_slope_map.

Referenced by insert_event().

Coordinate PrintBmsc::inst_pos ( InstancePtr  instance)
inlineprivate
int PrintBmsc::print ( )
inline
void PrintBmsc::print_color ( const MscColor color)
inlineprivate
void PrintBmsc::print_configuration_header ( )
inlineprivate
void PrintBmsc::print_coregion_area ( const CoregionAreaPtr coregionArea,
Coordinate  coordinate = 0 
)
inlineprivate
void PrintBmsc::print_event ( const EventPtr event)
inlineprivate
void PrintBmsc::print_event_comment ( const EventPtr event,
Coordinate  coordinate = 0 
)
inlineprivate
void PrintBmsc::print_global_comment ( )
inlineprivate

Definition at line 814 of file exportTex.cpp.

References Compare::equal(), m_bmsc, m_stream, print_color(), ExportTex::print_wchar(), and Compare::round().

Referenced by print().

void PrintBmsc::print_instance ( const InstancePtr instance,
Coordinate  coordinate = 0 
)
inlineprivate
void PrintBmsc::print_instances ( InstancePtrList  instances)
inlineprivate
std::string PrintBmsc::print_opt_color ( const MscColor color)
inlineprivate

Definition at line 453 of file exportTex.cpp.

References m_colors, and ColorMap::printOptParam().

Referenced by print_coregion_area(), print_instance(), and print_instances().

void PrintBmsc::print_order ( const EventPtr pred_event,
const EventPtr succ_event 
)
inlineprivate
void PrintBmsc::print_slope ( )
inlineprivate
void PrintBmsc::print_time_relations ( const EventPtr event,
Coordinate  coordinate = 0 
)
inlineprivate
void PrintBmsc::print_time_slope ( DistanceMap size,
std::list< std::pair< Coordinate, Coordinate > > *  coordinates 
)
inlineprivate

Member Data Documentation

DistanceMap PrintBmsc::m_absolutetime_slope_map
private
DistanceMap PrintBmsc::m_absolutetime_width_map
private
DistanceMap PrintBmsc::m_basic_level_size_map
private
BMscPtr PrintBmsc::m_bmsc
private

Definition at line 384 of file exportTex.cpp.

Referenced by print(), print_global_comment(), and PrintBmsc().

ColorMap PrintBmsc::m_colors
private
DistanceMap PrintBmsc::m_comment_inst_dist_map
private
DistanceMap PrintBmsc::m_comment_slope_map
private
DistanceMap PrintBmsc::m_comment_width_map
private
DistanceMap PrintBmsc::m_coregion_first_map
private
DistanceMap PrintBmsc::m_coregion_last_map
private
DistanceMap PrintBmsc::m_coregion_tail_width_map
private

Definition at line 393 of file exportTex.cpp.

Referenced by PrintBmsc().

DistanceMap PrintBmsc::m_coregion_width_map
private
ElementListMap PrintBmsc::m_event_level_map
private
DistanceMap PrintBmsc::m_incomlete_mess_slope_map
private

map of slope values

Definition at line 412 of file exportTex.cpp.

Referenced by insert_event(), print_configuration_header(), print_event(), and PrintBmsc().

DistanceMap PrintBmsc::m_instance_height_map
private
PtrIDMap<Coordinate> PrintBmsc::m_instance_id_map
private
DistanceMap PrintBmsc::m_instance_spacing_map
private
DistanceMap PrintBmsc::m_instance_width_map
private
MarkType PrintBmsc::m_last_mark
private

list of (start,end) coordinates of slope

Definition at line 417 of file exportTex.cpp.

Referenced by PrintBmsc().

InstancePtr PrintBmsc::m_left_most_instance
private

Definition at line 419 of file exportTex.cpp.

Referenced by get_enviroment_dist(), and print().

Coordinate PrintBmsc::m_left_most_point
private

Definition at line 421 of file exportTex.cpp.

Referenced by edge_point(), get_enviroment_dist(), and print().

std::map<Coordinate,int,Compare> PrintBmsc::m_level_types
private
DistanceMap PrintBmsc::m_local_action_height_map
private

Definition at line 395 of file exportTex.cpp.

Referenced by insert_event(), print_configuration_header(), print_event(), and PrintBmsc().

DistanceMap PrintBmsc::m_local_action_width_map
private

Definition at line 394 of file exportTex.cpp.

Referenced by insert_event(), print_configuration_header(), print_event(), and PrintBmsc().

DistanceMap PrintBmsc::m_local_condition_height_map
private

Definition at line 397 of file exportTex.cpp.

Referenced by insert_event(), print_configuration_header(), print_event(), and PrintBmsc().

DistanceMap PrintBmsc::m_local_condition_width_map
private

Definition at line 396 of file exportTex.cpp.

Referenced by insert_event(), print_configuration_header(), print_event(), and PrintBmsc().

DistanceMap PrintBmsc::m_lostfound_width_map
private

Definition at line 398 of file exportTex.cpp.

Referenced by insert_event(), print_configuration_header(), print_event(), and PrintBmsc().

std::list<std::pair<Coordinate,Coordinate> > PrintBmsc::m_order_slope_coordinates_map
private

list of (start,end) coordinates of slope

Definition at line 416 of file exportTex.cpp.

Referenced by insert_order(), and print_configuration_header().

DistanceMap PrintBmsc::m_order_slope_map
private

Definition at line 407 of file exportTex.cpp.

Referenced by insert_order(), print_configuration_header(), print_order(), and PrintBmsc().

DistanceMap PrintBmsc::m_ordering_width_map
private

Definition at line 406 of file exportTex.cpp.

Referenced by print_configuration_header(), print_order(), and PrintBmsc().

InstancePtr PrintBmsc::m_right_most_instance
private

Definition at line 420 of file exportTex.cpp.

Referenced by get_enviroment_dist(), and print().

Coordinate PrintBmsc::m_right_most_point
private

Definition at line 422 of file exportTex.cpp.

Referenced by edge_point(), get_enviroment_dist(), and print().

std::list<std::pair<Coordinate,Coordinate> > PrintBmsc::m_slope_coordinates_map
private

Definition at line 414 of file exportTex.cpp.

Referenced by insert_event(), and print_slope().

DistanceMap PrintBmsc::m_slope_size_map
private
std::ostream PrintBmsc::m_stream
private
std::list<std::pair<Coordinate,Coordinate> > PrintBmsc::m_time_interval_slope_coordinates_map
private

list of (start,end) coordinates of slope

Definition at line 415 of file exportTex.cpp.

Referenced by getTimeRelationSlope(), and print_configuration_header().

DistanceMap PrintBmsc::m_timeinterval_slope_map
private
DistanceMap PrintBmsc::m_timeinterval_width_map
private

Definition at line 404 of file exportTex.cpp.

Referenced by print_configuration_header(), print_time_relations(), and PrintBmsc().


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

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