Book a Demo

Author Topic: Code template customization and connectors  (Read 3349 times)

mark.tootell

  • EA Novice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Code template customization and connectors
« on: August 10, 2011, 07:02:20 am »
Hi all
I'm currently trying to customize the C++ code generation templates. Each of my packages contain an individual DLL which returns a set of signals to the instantiating executable.

In order to represent this diagramatically I have created a class that has a custom stereotype <ex_signals>. The signals are defined within the class as public attributes and the class that returns the signals to the instantiating executable is dependent on the <ex_signals> class.

I want to auto generate the code that initialises these signals within the main class but cannot find anyway of interrogating the dependency. Is it possible? and if so, how?

I hope this is clear enough for you to answer my request  :-/

Thanks


mark.tootell

  • EA Novice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: Code template customization and connectors
« Reply #1 on: August 13, 2011, 06:15:19 pm »
I've realised that I need to write an add-in with a set of utility functions to do what I trying to do.
Thanks