Just had this idea. Create a special Placeholder signal template class, this can be used in place of actual signals in the graph to denote values that haven't specified yet. This could be useful for a few functions, espiially if shorthands (maybe renamed blueprints) were defined using placeholders:
You could compare the structure of a signal graph to one with placeholders to see if there is a match and this could be used for patch recognition.
You can generate blueprints with placeholders and use these to quickly create more complex circuitsa.
You can replace placeholders with random values (using SignalReader metadata to choose what generator to use) and get random generators for free with shorthands.
It would be a great idea if this could combined with AssignableProperty<T> (or better nae) which would attach metadata to anything you might set. Most of these would be SignalReader, but sometimes it could be other things such as bool flags or buffer pointers. The whole point is to decouple metadata from the SignalReader class.
Just had this idea. Create a special
Placeholder
signal template class, this can be used in place of actual signals in the graph to denote values that haven't specified yet. This could be useful for a few functions, espiially if shorthands (maybe renamed blueprints) were defined using placeholders:You could compare the structure of a signal graph to one with placeholders to see if there is a match and this could be used for patch recognition.
You can generate blueprints with placeholders and use these to quickly create more complex circuitsa.
You can replace placeholders with random values (using SignalReader metadata to choose what generator to use) and get random generators for free with shorthands.
It would be a great idea if this could combined with
AssignableProperty<T>
(or better nae) which would attach metadata to anything you might set. Most of these would be SignalReader, but sometimes it could be other things such as bool flags or buffer pointers. The whole point is to decouple metadata from the SignalReader class.