diff options
author | Ashish Chaudhari <ashish@ettus.com> | 2016-01-22 11:50:26 -0800 |
---|---|---|
committer | Ashish Chaudhari <ashish@ettus.com> | 2016-02-12 00:21:15 -0800 |
commit | 7c7622c1fe4779c84e7c7149caa6dd08400e2774 (patch) | |
tree | 8ceef98075ecaca8930f455df5fa0f2f762e3771 /host/lib/experts/expert_factory.cpp | |
parent | 834acb8b6ccaaab1701d0c48ead443b0fb17b8cf (diff) | |
download | uhd-7c7622c1fe4779c84e7c7149caa6dd08400e2774.tar.gz uhd-7c7622c1fe4779c84e7c7149caa6dd08400e2774.tar.bz2 uhd-7c7622c1fe4779c84e7c7149caa6dd08400e2774.zip |
uhd: Added expert dependency tracking infrastructure
- Code location uhd/lib/experts
- expert_nodes.hpp contains all node definitions: data and worker
- expert_container.hpp contains the memory manager and resolver for expert nodes
- expert_factory contains the initializer and modifier for expert_container
Diffstat (limited to 'host/lib/experts/expert_factory.cpp')
-rw-r--r-- | host/lib/experts/expert_factory.cpp | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/host/lib/experts/expert_factory.cpp b/host/lib/experts/expert_factory.cpp new file mode 100644 index 000000000..f887ad4a3 --- /dev/null +++ b/host/lib/experts/expert_factory.cpp @@ -0,0 +1,27 @@ +// +// Copyright 2016 Ettus Research +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. +// + +#include "expert_factory.hpp" + +namespace uhd { namespace experts { + +expert_container::sptr expert_factory::create_container(const std::string& name) +{ + return expert_container::make(name); +} + +}} |