-Model* Resource::get_model() const
-{
- return model_;
-}
-
-const std::string& Resource::get_name() const
-{
- return name_;
-}
-
-const char* Resource::get_cname() const
-{
- return name_.c_str();
-}
-
-bool Resource::operator==(const Resource& other) const
-{
- return name_ == other.name_;
-}
-
-void Resource::set_state_trace(tmgr_trace_t trace)
-{
- xbt_assert(state_event_ == nullptr, "Cannot set a second state trace to %s", get_cname());
-
- state_event_ = future_evt_set.add_trace(trace, this);
-}
-
-kernel::lmm::Constraint* Resource::get_constraint() const