...hard to tackle... The idea is to wrap the TreeExplorer builder, so that our specific builder functions can delegated to the (inherited) generic builder functions and would just need to supply some cleverly bound lambdas. However, resulting types are recursive, which does not play nice with type inference, and working around that problem leads to capturing a self reference, which at time of invocation is already invalidated (due to moving the whole pipeline into the final storage)
57 lines
1.5 KiB
C++
57 lines
1.5 KiB
C++
/*
|
|
DummyPlayConnection.hpp - simplified test setup for playback
|
|
|
|
Copyright (C) Lumiera.org
|
|
2011, Hermann Vosseler <Ichthyostega@web.de>
|
|
|
|
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 2 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, write to the Free Software
|
|
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
|
|
* *****************************************************/
|
|
|
|
|
|
/** @file dummy-play-connection.cpp
|
|
** Implementation of a service for mock render playback to support testing.
|
|
*/
|
|
|
|
|
|
#include "steam/play/dummy-play-connection.hpp"
|
|
//#include "steam/play/dummy-image-generator.hpp"
|
|
//#include "steam/play/tick-service.hpp"
|
|
//#include "lib/depend.hpp"
|
|
|
|
//#include <string>
|
|
//#include <memory>
|
|
//#include <functional>
|
|
|
|
|
|
|
|
namespace steam{
|
|
namespace play {
|
|
namespace test {
|
|
|
|
|
|
namespace { // hidden local details of the service implementation....
|
|
|
|
|
|
} // (End) hidden service impl details
|
|
|
|
UnimplementedConnection::~UnimplementedConnection() { } ///< emit VTable here...
|
|
|
|
|
|
|
|
/** */
|
|
|
|
|
|
}}} // namespace steam::play
|