aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/experts/expert_container.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/experts/expert_container.cpp')
-rw-r--r--host/lib/experts/expert_container.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/host/lib/experts/expert_container.cpp b/host/lib/experts/expert_container.cpp
index 6f7dc2c78..0658e9fa3 100644
--- a/host/lib/experts/expert_container.cpp
+++ b/host/lib/experts/expert_container.cpp
@@ -67,17 +67,17 @@ private: // Visitor class for cycle detection algorithm
public:
expert_container_impl(const std::string& name) : _name(name) {}
- ~expert_container_impl()
+ ~expert_container_impl() override
{
clear();
}
- const std::string& get_name() const
+ const std::string& get_name() const override
{
return _name;
}
- void resolve_all(bool force = false)
+ void resolve_all(bool force = false) override
{
boost::lock_guard<boost::recursive_mutex> resolve_lock(_resolve_mutex);
boost::lock_guard<boost::mutex> lock(_mutex);
@@ -86,7 +86,7 @@ public:
_resolve_helper("", "", force);
}
- void resolve_from(const std::string&)
+ void resolve_from(const std::string&) override
{
boost::lock_guard<boost::recursive_mutex> resolve_lock(_resolve_mutex);
boost::lock_guard<boost::mutex> lock(_mutex);
@@ -96,7 +96,7 @@ public:
_resolve_helper("", "", false);
}
- void resolve_to(const std::string&)
+ void resolve_to(const std::string&) override
{
boost::lock_guard<boost::recursive_mutex> resolve_lock(_resolve_mutex);
boost::lock_guard<boost::mutex> lock(_mutex);
@@ -106,7 +106,7 @@ public:
_resolve_helper("", "", false);
}
- dag_vertex_t& retrieve(const std::string& name) const
+ dag_vertex_t& retrieve(const std::string& name) const override
{
try {
expert_graph_t::vertex_descriptor vertex = _lookup_vertex(name);
@@ -116,17 +116,17 @@ public:
}
}
- const dag_vertex_t& lookup(const std::string& name) const
+ const dag_vertex_t& lookup(const std::string& name) const override
{
return retrieve(name);
}
- const node_retriever_t& node_retriever() const
+ const node_retriever_t& node_retriever() const override
{
return *this;
}
- std::string to_dot() const
+ std::string to_dot() const override
{
static const std::string DATA_SHAPE("ellipse");
static const std::string WORKER_SHAPE("box");
@@ -161,7 +161,7 @@ public:
return dot_str;
}
- void debug_audit() const
+ void debug_audit() const override
{
#ifdef UHD_EXPERT_LOGGING
EX_LOG(0, "debug_audit()");
@@ -271,13 +271,13 @@ public:
#endif
}
- inline boost::recursive_mutex& resolve_mutex()
+ inline boost::recursive_mutex& resolve_mutex() override
{
return _resolve_mutex;
}
protected:
- void add_data_node(dag_vertex_t* data_node, auto_resolve_mode_t resolve_mode)
+ void add_data_node(dag_vertex_t* data_node, auto_resolve_mode_t resolve_mode) override
{
boost::lock_guard<boost::mutex> lock(_mutex);
@@ -328,7 +328,7 @@ protected:
}
}
- void add_worker(worker_node_t* worker)
+ void add_worker(worker_node_t* worker) override
{
boost::lock_guard<boost::mutex> lock(_mutex);
@@ -398,7 +398,7 @@ protected:
}
}
- void clear()
+ void clear() override
{
boost::lock_guard<boost::mutex> lock(_mutex);
EX_LOG(0, "clear()");