Noise Modeler Library  0.1
Library for procedurally generating noise-based terrains and other content
 All Classes Files Functions Variables Enumerations Enumerator Groups Pages
unlinkedvaluedefaultsgenerator.hpp
1 #ifndef NM_UNLINKEDVALUEDEFAULTSGENERATOR_HPP
2 #define NM_UNLINKEDVALUEDEFAULTSGENERATOR_HPP
3 
4 #include <nmlib/codegeneration/defaultsgenerator.hpp>
5 
6 namespace nm {
7 
8 class Module;
9 
11 {
12 public:
14  m_module(module)
15  {}
16 
17  // DefaultsGenerator interface
18  virtual void generateDefaults(InlineGenerator &gen, std::ostream &out) override;
19 
20 private:
21  const Module& m_module;
22 };
23 
24 } // namespace nm
25 
26 #endif // NM_UNLINKEDVALUEDEFAULTSGENERATOR_HPP
An instantiated ModuleType. A node in a function graph.
Definition: module.hpp:40
Generates the definitions and default values module inputs.
Definition: defaultsgenerator.hpp:14
Definition: unlinkedvaluedefaultsgenerator.hpp:10
Abstract base class for code generators.
Definition: inlinegenerator.hpp:34