2010-04-04 06:38:22 +02:00
|
|
|
|
2008-01-14 01:01:11 +01:00
|
|
|
/*
|
2012-12-01 08:44:07 +01:00
|
|
|
ConfigResolver - concrete setup for rule based configuration
|
2010-12-17 23:28:49 +01:00
|
|
|
|
2008-03-10 04:25:03 +01:00
|
|
|
Copyright (C) Lumiera.org
|
|
|
|
|
2008, Hermann Vosseler <Ichthyostega@web.de>
|
2010-12-17 23:28:49 +01:00
|
|
|
|
2008-01-14 01:01:11 +01:00
|
|
|
This program is free software; you can redistribute it and/or
|
|
|
|
|
modify it under the terms of the GNU General Public License as
|
2010-12-17 23:28:49 +01:00
|
|
|
published by the Free Software Foundation; either version 2 of
|
|
|
|
|
the License, or (at your option) any later version.
|
|
|
|
|
|
2008-01-14 01:01:11 +01:00
|
|
|
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.
|
2010-12-17 23:28:49 +01:00
|
|
|
|
2008-01-14 01:01:11 +01:00
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
|
along with this program; if not, write to the Free Software
|
|
|
|
|
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
2010-12-17 23:28:49 +01:00
|
|
|
|
2008-01-14 01:01:11 +01:00
|
|
|
* *****************************************************/
|
|
|
|
|
|
|
|
|
|
|
2010-04-04 06:38:22 +02:00
|
|
|
#include "lib/error.hpp"
|
2012-12-01 08:44:07 +01:00
|
|
|
#include "proc/config-resolver.hpp"
|
2012-11-26 01:22:01 +01:00
|
|
|
#include "proc/mobject/session/query/fake-configrules.hpp"
|
2008-01-14 01:01:11 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-12-01 08:44:07 +01:00
|
|
|
namespace proc {
|
2008-12-05 11:07:01 +01:00
|
|
|
|
2013-10-20 03:19:36 +02:00
|
|
|
using lib::buildSingleton;
|
2008-04-07 08:03:22 +02:00
|
|
|
|
2013-10-20 03:19:36 +02:00
|
|
|
/** Singleton factory instance, configured with the actual implementation type. */
|
|
|
|
|
lib::Depend<ConfigResolver> ConfigResolver::instance (buildSingleton<proc::mobject::session::query::MockConfigRules>());
|
2008-04-07 08:03:22 +02:00
|
|
|
|
2012-12-01 08:44:07 +01:00
|
|
|
} // namespace proc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include "common/query/defs-manager-impl.hpp"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/***************************************************************/
|
|
|
|
|
/* explicit template instantiations for querying various Types */
|
|
|
|
|
/***************************************************************/
|
|
|
|
|
|
|
|
|
|
#include "proc/asset/procpatt.hpp"
|
|
|
|
|
#include "proc/asset/pipe.hpp"
|
|
|
|
|
#include "proc/asset/timeline.hpp"
|
|
|
|
|
#include "proc/asset/sequence.hpp"
|
2015-05-30 22:09:26 +02:00
|
|
|
#include "proc/mobject/session/fork.hpp"
|
2012-12-01 08:44:07 +01:00
|
|
|
|
|
|
|
|
namespace lumiera{
|
|
|
|
|
namespace query {
|
2010-04-04 06:38:22 +02:00
|
|
|
|
2012-12-01 08:44:07 +01:00
|
|
|
using proc::asset::Pipe;
|
|
|
|
|
using proc::asset::PPipe;
|
|
|
|
|
using proc::asset::ProcPatt;
|
|
|
|
|
using proc::asset::PProcPatt;
|
|
|
|
|
using proc::asset::Timeline;
|
|
|
|
|
using proc::asset::PTimeline;
|
|
|
|
|
using proc::asset::Sequence;
|
|
|
|
|
using proc::asset::PSequence;
|
2010-04-04 06:38:22 +02:00
|
|
|
|
2015-05-31 02:03:24 +02:00
|
|
|
using proc::mobject::session::Fork;
|
2015-07-02 19:16:46 +02:00
|
|
|
using PFork = lib::P<Fork>;
|
2010-04-04 06:38:22 +02:00
|
|
|
|
2012-12-01 08:44:07 +01:00
|
|
|
template PPipe DefsManager::operator() (Query<Pipe> const&);
|
|
|
|
|
template PProcPatt DefsManager::operator() (Query<const ProcPatt> const&);
|
2015-05-31 02:03:24 +02:00
|
|
|
template PFork DefsManager::operator() (Query<Fork> const&);
|
2012-12-01 08:44:07 +01:00
|
|
|
template PTimeline DefsManager::operator() (Query<Timeline> const&);
|
|
|
|
|
template PSequence DefsManager::operator() (Query<Sequence> const&);
|
2010-04-04 06:38:22 +02:00
|
|
|
|
2012-12-01 08:44:07 +01:00
|
|
|
template bool DefsManager::define (PPipe const&, Query<Pipe> const&);
|
|
|
|
|
template bool DefsManager::forget (PPipe const&);
|
2010-04-04 06:38:22 +02:00
|
|
|
|
2008-04-07 08:03:22 +02:00
|
|
|
|
2012-12-01 08:44:07 +01:00
|
|
|
}} // namespace lumiera::query
|