+ class StarRoute {
+ public:
+ std::vector<resource::StandardLinkImpl*> links_up; //!< list of links UP for route (can be empty)
+ std::vector<resource::StandardLinkImpl*> links_down; //!< list of links DOWN for route (can be empty)
+ std::vector<resource::StandardLinkImpl*> loopback; //!< loopback links, cannot be empty if configured
+ bool links_up_set = false; //!< bool to indicate that links_up was configured (empty or not)
+ bool links_down_set = false; //!< same for links_down
+ NetPoint* gateway = nullptr;
+ bool has_loopback() const { return not loopback.empty(); }
+ bool has_links_up() const { return links_up_set; }
+ bool has_links_down() const { return links_down_set; }
+ };