The immediate next goal is to verify properties of render nodes generated by the builder framework; two kinds of validations can be distinguished * structural aspects of the wiring * the fact that processing functionality is invoked in proper order Looking into the structural aspects brings about the necessity to identify the actual processing function bound into some functor. Some recapitulation of goals and requirements revealed, that this can not be a merely technical identity record — because the intention is to base the ''cache key'' on chained processing node identities, so that the key is stable as long as the user-visible results will be equivalent. And while structural data can be aggregated, at the core this information must be provided by the scheme embedded into the domain ontology, which is tasked with invoking the builder in order to implement a ''specific processing-asset''
85 lines
2.3 KiB
C++
85 lines
2.3 KiB
C++
/*
|
|
TEST-RAND-ONTOLOGY.hpp - placeholder for a domain-ontology working on dummy data frames
|
|
|
|
Copyright (C) Lumiera.org
|
|
2024, 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 test-rand-ontology.hpp
|
|
** A faked »media calculation« environment to validate the render node network.
|
|
*/
|
|
|
|
|
|
#ifndef STEAM_ENGINE_TEST_RAND_ONTOLOGY_H
|
|
#define STEAM_ENGINE_TEST_RAND_ONTOLOGY_H
|
|
|
|
|
|
#include "lib/error.hpp"
|
|
#include "lib/symbol.hpp"
|
|
#include "steam/engine/testframe.hpp"
|
|
|
|
#include <array>
|
|
|
|
|
|
namespace steam {
|
|
namespace engine{
|
|
namespace test {
|
|
|
|
using lib::Literal;
|
|
|
|
/////////////////////////////////////////////////////////////////////////////////////////////////////////////TICKET #1367 : Dummy / Placeholder
|
|
using NoArg = std::array<char*, 0>;
|
|
using SoloArg = std::array<char*, 1>;
|
|
|
|
extern Literal TEST_DUMMY;
|
|
|
|
/** @todo a placeholder operation to wire a prototypical render node
|
|
*/
|
|
inline void
|
|
dummyOp (NoArg in, SoloArg out)
|
|
{
|
|
UNIMPLEMENTED ("a sincerely nonsensical operation");
|
|
}
|
|
/////////////////////////////////////////////////////////////////////////////////////////////////////////////TICKET #1367 : Dummy / Placeholder
|
|
/**
|
|
* A fake _Domain Ontology_ to describe mocked »render operations« on
|
|
* dummy data frames filled with random numbers.
|
|
*
|
|
* @see TestFrame_test
|
|
* @see NodeDevel_test
|
|
* @see NodeLinkage_test
|
|
*
|
|
*/
|
|
class TestRandOntology
|
|
{
|
|
|
|
public:
|
|
~TestRandOntology() = default;
|
|
TestRandOntology() = default;
|
|
|
|
private:
|
|
};
|
|
|
|
|
|
|
|
/** */
|
|
|
|
|
|
|
|
}}} // namespace steam::engine::test
|
|
#endif
|