Commit 41eb497f authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

No more Ada package elaboration in SDL simulation

parent 325cb8f5
......@@ -33,6 +33,7 @@ Author: Maxime Perrotin
LICENSE: LGPL - see LICENSE file
CHANGELOG:,
1.1.2 - Call manually the startup function of the SDL model
1.1.0 - Add support for custom user widgets
1.0.8 - various updates in SDL handler
1.0.7 - fixed bug in value notation parser
......@@ -16,7 +16,7 @@
__author__ = "Maxime Perrotin"
__license__ = "LGPLv3"
__version__ = "1.1.1"
__version__ = "1.1.2"
__url__ = "http://taste.tuxfamily.org"
import sys
......
......@@ -48,6 +48,8 @@ except ImportError:
try:
# Not correct, this assumes that the dataview is always named
# "dataview-uniq.asn" ! the actual name shall be parsed in the SDL model
import dataview_uniq_asn as ASN1
except ImportError:
#print 'No Python A mapper generated dataview, SDL handler cannot be used'
......@@ -411,6 +413,8 @@ class sdlHandler(QObject):
self.current_sdl_state = u''
self.check_state()
self.init_timers()
# Call the start transition of the SDL model
getattr(value, '{}_startup'.format(self.proc.processName))()
self.init_state = self.current_hash = self.on_event()
def load_properties(self, prop_file=None):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment