lumiera_/src/proc/engine/dispatcher.cpp
Ichthyostega 44435fd1db clarify and settle the relation between Dispatcher and PlanningStepGenerator
the solution is to introduce a superinterface
and let Dispatcher augment that with the specific parts.
This way, the Job planning only has to rely on the
rather generic stuff (TimeAnchor, FrameCoord)

NOTE: this commit makes the whole JobPlanning machinery
compilable for the first time!
2012-10-10 05:20:23 +02:00

74 lines
1.9 KiB
C++

/*
Dispatcher - translating calculation streams into frame jobs
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.
* *****************************************************/
#include "proc/engine/dispatcher.hpp"
//#include "lib/frameid.hpp"
//#include "proc/state.hpp"
namespace proc {
namespace engine {
Dispatcher::~Dispatcher() { } // emit VTables and Typeinfo here....
FrameSequencer::~FrameSequencer() { }
/** */
Dispatcher::JobBuilder
Dispatcher::onCalcStream (ModelPort modelPort, uint channel)
{
UNIMPLEMENTED ("build coordinates of frame to render");
}
/** */
FrameCoord
Dispatcher::JobBuilder::relativeFrameLocation (TimeAnchor refPoint, uint frameCountOffset)
{
UNIMPLEMENTED ("build coordinates of frame to render");
}
/** */
Dispatcher::JobBuilder&
Dispatcher::JobBuilder::establishNextJobs (TimeAnchor refPoint)
{
UNIMPLEMENTED ("job planning and generation");
return *this;
}
/** */
Dispatcher::JobBuilder&
Dispatcher::JobBuilder::prepareContinuation (function<void(TimeAnchor)> delayedAction)
{
UNIMPLEMENTED ("wrap already planned jobs, appending a continuation to pick up later");
return *this;
}
}} // namespace engine