As a follow-up to the decisions regarding Render Job arguments, it should be noted that the `ProcessKey` in the `TurnoutSystem` becomes redundant; we'd need some access to ''generic Parameters'' rather
53 lines
1.2 KiB
C++
53 lines
1.2 KiB
C++
/*
|
||
PARAMETER.hpp - representation of an automatable effect/plugin parameter
|
||
|
||
Copyright (C)
|
||
2008, 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 parameter.hpp
|
||
** Core abstraction: parameter to be controlled and possibly automated.
|
||
**
|
||
** @todo as of 2016, we still need to work out our parameter/automation concept.
|
||
*/
|
||
|
||
|
||
#ifndef LIB_PAR_PARAMETER_H
|
||
#define LIB_PAR_PARAMETER_H
|
||
|
||
|
||
|
||
|
||
namespace steam {
|
||
namespace mobject {
|
||
|
||
template<class VAL> class ParamProvider;
|
||
|
||
|
||
/**
|
||
* Descriptor and access object for a plugin parameter.
|
||
* Parameters may be provided with values from the session,
|
||
* and this values may be automated.
|
||
*/
|
||
template<class VAL>
|
||
class Parameter
|
||
{
|
||
public:
|
||
VAL getValue () ;
|
||
|
||
protected:
|
||
ParamProvider<VAL>* provider;
|
||
|
||
};
|
||
|
||
|
||
|
||
}} // namespace steam::mobject
|
||
#endif /*LIB_PAR_PARAMETER_H*/
|