2011-05-23 04:43:56 +02:00
|
|
|
/*
|
2011-05-23 05:46:40 +02:00
|
|
|
DISPATCHER.hpp - translating calculation streams into frame jobs
|
2011-05-23 04:43:56 +02:00
|
|
|
|
|
|
|
|
Copyright (C) Lumiera.org
|
2011-05-23 05:46:40 +02:00
|
|
|
2011, Hermann Vosseler <Ichthyostega@web.de>
|
2011-05-23 04:43:56 +02:00
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
2011-05-23 05:46:40 +02:00
|
|
|
#ifndef PROC_ENGINE_DISPATCHER_H
|
|
|
|
|
#define PROC_ENGINE_DISPATCHER_H
|
2011-05-23 04:43:56 +02:00
|
|
|
|
|
|
|
|
#include "proc/common.hpp"
|
|
|
|
|
#include "proc/state.hpp"
|
|
|
|
|
#include "lib/time/timevalue.hpp"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
namespace engine {
|
|
|
|
|
|
2011-05-28 01:46:06 +02:00
|
|
|
using lib::time::TimeSpan;
|
|
|
|
|
using lib::time::FSecs;
|
|
|
|
|
using lib::time::Time;
|
2011-05-23 05:46:40 +02:00
|
|
|
//
|
|
|
|
|
// class ExitNode;
|
2011-05-23 04:43:56 +02:00
|
|
|
|
|
|
|
|
/**
|
2011-05-23 05:46:40 +02:00
|
|
|
* @todo
|
2011-05-23 04:43:56 +02:00
|
|
|
*/
|
2011-05-23 05:46:40 +02:00
|
|
|
class Dispatcher
|
2011-05-23 04:43:56 +02:00
|
|
|
{
|
|
|
|
|
protected:
|
|
|
|
|
/** timerange covered by this RenderGraph */
|
|
|
|
|
TimeSpan segment_;
|
|
|
|
|
|
|
|
|
|
public:
|
2011-05-23 05:46:40 +02:00
|
|
|
Dispatcher()
|
2011-05-23 04:43:56 +02:00
|
|
|
: segment_(Time::ZERO, FSecs(5))
|
|
|
|
|
{
|
2011-05-23 05:46:40 +02:00
|
|
|
UNIMPLEMENTED ("anything regarding the Engine backbone");
|
2011-05-23 04:43:56 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} // namespace engine
|
|
|
|
|
#endif
|