Lumiera  0.pre.03
»edit your freedom«
WiringFactory Class Reference

Description

Definition at line 89 of file nodewiring.hpp.

Public Member Functions

 WiringFactory (lib::AllocationCluster &a)
 As the WiringFactory (and all the embedded factories for the specific wiring situations) use the AllocationCluster of the current build process, we need to create a new instance for each newly built segment of the low-level model. More...
 
WiringDescriptoroperator() (WiringSituation const &setup)
 create and configure a concrete wiring descriptor to tie a ProcNode to its predecessor nodes. More...
 

Private Attributes

lib::AllocationClusteralloc_
 
std::unique_ptr< config::WiringFactoryImplpImpl_
 

Constructor & Destructor Documentation

◆ WiringFactory()

As the WiringFactory (and all the embedded factories for the specific wiring situations) use the AllocationCluster of the current build process, we need to create a new instance for each newly built segment of the low-level model.

Note
This ctor creates a WiringFactoryImpl instance, thus compiling this definition actually drives the necessary template instantiations for all cases encountered while building the node network.

Definition at line 130 of file nodewiring.cpp.

Member Function Documentation

◆ operator()()

WiringDescriptor & operator() ( WiringSituation const &  setup)

create and configure a concrete wiring descriptor to tie a ProcNode to its predecessor nodes.

This includes selecting the actual StateAdapter type, configuring it based on operation control templates (policy classes). The created WiringDescriptor object is bulk allocated similar to the ProcNode objects for a given segment of the Timeline. It should be further configured with the actual predecessor nodes pointers and can then be used to create the new processing node to be wired up.

Definition at line 151 of file nodewiring.cpp.

References vault::gear::test::anonymous_namespace{work-force-test.cpp}::setup().

+ Here is the call graph for this function:
+ Collaboration diagram for WiringFactory:

The documentation for this class was generated from the following files: