lumiera_/tests/core/steam/engine/node-feed-test.cpp
Ichthyostega 9393942366 Invocation: Analysis pertaining to storage for param data
During Render Node invocation, automation parameter data must be maintained.
For the simple standard path, this just implies to store the ''absolute nominal Time''
directly in the invoking stack frame and let some parameter adaptors do the translation.
However, it is conceivable to have much more elaborate translation functions,
and thus we must be prepared to handle an arbitrary number of parameter slots,
where each slot has arbitrary storage requirements.

The conclusion is to start with an intrusive linked list of overflow buckets.
2024-12-07 18:15:44 +01:00

61 lines
1.6 KiB
C++
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*
NodeFeed(Test) - verify render node data feeds
Copyright (C)
2025, Hermann Vosseler <Ichthyostega@web.de>
  **Lumiera** 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. See the file COPYING for further details.
* *****************************************************************/
/** @file node-feed-test.cpp
** Feeding into and retrieving data from render nodes is covered by \ref NodeFeed_test.
*/
#include "lib/test/run.hpp"
//#include "lib/util.hpp"
//using std::string;
namespace steam {
namespace engine{
namespace test {
/************************************************************************//**
* @test demonstrate how to feed data into, through and out of render nodes.
*/
class NodeFeed_test : public Test
{
virtual void
run (Arg)
{
feedParam();
UNIMPLEMENTED ("render node pulling source data from vault");
}
/** @test feed parameter data to nodes */
void
feedParam()
{
TODO ("implement the logic for the TurnoutSystem --> node-base-test.cpp");
TODO ("implement a simple Builder for ParamAgent-Node");
TODO ("then use both together to demonstrate a param data feed here");
}
};
/** Register this test class... */
LAUNCHER (NodeFeed_test, "unit node");
}}} // namespace steam::engine::test