- define organisation of vault-layer namespaces - define the ground plan of the scheduler implementation
83 lines
2.2 KiB
C++
83 lines
2.2 KiB
C++
/*
|
|
SCHEDULER.hpp - coordination of render activities under timing and dependency constraints
|
|
|
|
Copyright (C) Lumiera.org
|
|
2023, 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 scheduler.hpp
|
|
** Service for coordination and dispatch of render activities.
|
|
** The implementation of scheduling services is provided by an integration
|
|
** of two layers of functionality:
|
|
** - Layer-1 allows to enqueue and prioritise render activity records
|
|
** - Layer-2 connects and coordinates activities to conduct complex calculations
|
|
**
|
|
** @see ////TODO_test usage example
|
|
** @see scheduler.cpp implementation
|
|
**
|
|
** @todo WIP-WIP-WIP 6/2023 »Playback Vertical Slice«
|
|
**
|
|
*/
|
|
|
|
|
|
#ifndef SRC_VAULT_GEAR_SCHEDULER_H_
|
|
#define SRC_VAULT_GEAR_SCHEDULER_H_
|
|
|
|
|
|
#include "lib/error.hpp"
|
|
#include "vault/gear/block-flow.hpp"
|
|
#include "vault/gear/scheduler-control.hpp"
|
|
#include "vault/gear/scheduler-invocation.hpp"
|
|
//#include "lib/symbol.hpp"
|
|
#include "lib/nocopy.hpp"
|
|
//#include "lib/util.hpp"
|
|
|
|
//#include <string>
|
|
|
|
|
|
namespace vault{
|
|
namespace gear {
|
|
|
|
// using util::isnil;
|
|
// using std::string;
|
|
|
|
|
|
/**
|
|
* Schedule and coordinate render activities.
|
|
* @todo WIP-WIP 6/2023
|
|
* @see SomeSystem
|
|
* @see NA_test
|
|
*/
|
|
class Scheduler
|
|
{
|
|
int nothing_;
|
|
|
|
public:
|
|
explicit
|
|
Scheduler (int const& boo)
|
|
: nothing_(boo)
|
|
{ }
|
|
|
|
// using default copy/assignment
|
|
};
|
|
|
|
|
|
|
|
}} // namespace vault::gear
|
|
#endif /*SRC_VAULT_GEAR_SCHEDULER_H_*/
|