These are some variables needed to construct the contain diagrams. I initially thought I could just save the instance of the containSim created during the doContainRun inside a protected member variable (sim_) in ContainAdapter but I was getting an error described below:
error: constructor for 'ContainAdapter' must explicitly initialize the member 'sim_' which does not have a default constructor.
For now this is my solution, to add setters for individual variables inside doContainRun but if you know of a better way without having to write all these setters that would be great.
These are some variables needed to construct the contain diagrams. I initially thought I could just save the instance of the containSim created during the doContainRun inside a protected member variable (sim_) in ContainAdapter but I was getting an error described below:
error: constructor for 'ContainAdapter' must explicitly initialize the member 'sim_' which does not have a default constructor.
For now this is my solution, to add setters for individual variables inside doContainRun but if you know of a better way without having to write all these setters that would be great.