Reply To: Reusable Components and Instantiation of Internal Classes

homepage Forums BridgePoint/xtUML Usage and Training Reusable Components and Instantiation of Internal Classes Reply To: Reusable Components and Instantiation of Internal Classes

#1311
cort
Keymaster

Dear Dennis,

Sorry for not responding to this post right away. Hopefully, what you found in the manual is sufficient. But here are some additional thoughts.

The manual describes an “initialization function”. Such a function can be marked to run at system start. Your model can contain more than one initialization function. Different markings can enable/disable the various initialization sequences. This allows the same model to be used in various configurations.

Another option is to use messaging. You can have “start” messages that are received by the component from another component responsible for sequencing initialization. To reuse initialization functions, the message can invoke your initialization functions.

Just some options.

Regards,
Cort