|
From: <ba...@us...> - 2008-04-10 15:08:28
|
Revision: 23
http://scstudio.svn.sourceforge.net/scstudio/?rev=23&view=rev
Author: babicaj
Date: 2008-04-10 08:07:30 -0700 (Thu, 10 Apr 2008)
Log Message:
-----------
In spite of first attempt to allow traversing events across instances this wasn't still able. List of EventAreas in InstanceArea replaced by first item of this list and pointers to following EventArea added to EventArea. Pointer to parent EventArea was appended to Event.
Modified Paths:
--------------
trunk/src/data/msc.h
trunk/src/data/msc_modifications.h
Modified: trunk/src/data/msc.h
===================================================================
--- trunk/src/data/msc.h 2008-04-10 14:38:17 UTC (rev 22)
+++ trunk/src/data/msc.h 2008-04-10 15:07:30 UTC (rev 23)
@@ -213,6 +213,10 @@
class EventArea
{
+ /**
+ * Following EventArea in InstanceArea.
+ */
+ EventAreaPtr m_next;
};
/**
@@ -246,9 +250,9 @@
{
/**
- * EventAreas which occure at instance.
+ * EventAreas which occure at instance as first one.
*/
- EventAreaPtrList m_areas;
+ EventAreaPtr m_first;
};
@@ -300,6 +304,11 @@
* found message.
*/
EventPtr m_matching_event;
+
+ /**
+ * EventArea which this Event occures in.
+ */
+ EventArea* m_area;
};
/**
Modified: trunk/src/data/msc_modifications.h
===================================================================
--- trunk/src/data/msc_modifications.h 2008-04-10 14:38:17 UTC (rev 22)
+++ trunk/src/data/msc_modifications.h 2008-04-10 15:07:30 UTC (rev 23)
@@ -146,9 +146,9 @@
std::set<EventAreaPtr> m_new_areas;
/**
- * Modified InstanceArea.
+ * Modified first area, undefined if no change.
*/
- InstanceAreaPtr m_modified_area;
+ EventAreaPtr m_first_area;
};
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|