NetZoneImpl* get_parent() const { return parent_; }
/** @brief Returns the list of direct children (no grand-children). This returns the internal data, no copy.
* Don't mess with it.*/
- const std::vector<NetZoneImpl*>& get_children() { return children_; }
+ const std::vector<NetZoneImpl*>& get_children() const { return children_; }
/** @brief Get current netzone hierarchy */
RoutingMode get_hierarchy() const { return hierarchy_; }
}
}
-int CommImpl::test_any(actor::ActorImpl* issuer, const std::vector<CommImpl*>& comms)
+int CommImpl::test_any(const actor::ActorImpl* issuer, const std::vector<CommImpl*>& comms)
{
if (MC_is_active() || MC_record_replay_is_active()) {
int idx = issuer->simcall_.mc_value_;
bool test() override;
void wait_for(actor::ActorImpl* issuer, double timeout) override;
- static int test_any(actor::ActorImpl* issuer, const std::vector<CommImpl*>& comms);
+ static int test_any(const actor::ActorImpl* issuer, const std::vector<CommImpl*>& comms);
static void wait_any_for(actor::ActorImpl* issuer, const std::vector<CommImpl*>& comms, double timeout);
CommImpl* start();