missing commit in generator.h
[galan.git] / NOTES
blobe48c2a2dd3153950e0fee36239b17802aad9ac20
1 [[ These are just private implementation notes. They're probably
2    meaningless and/or out-of-date. Tony 16/9/99 ]]
4 M - V - C
6 Models:
7         - Generator (GeneratorClass)
9 Views:
10         - Component (ComponentClass)
11         - Control (ControlDescriptor)
13 Controllers:
14         - implicit...?
15         - it'd probably be cleaner with a formal separation.
16         - will probably need some kind of Controller-style mechanism
17           to implement feedback from Generator's data to visible controls...
19 [torbenh]
21 graphen implementierung:
22  welche objekte stellt die core lib zur verfuegung ?
23   generator objekt.
24   ein plugin gibt in der Regel eine von Generator abgelittene Klasse zurueck.
25   einen Objektyp (das ist ja ne klasse :)
27   es gibt auch plugins die einen componenten typen abgeben.
28   das muss aber eigentlich nicht sein, da die inputs und outputs 
29   ueber generator methoden gemacht werden.
31   deswegen sind die emu components auch generatoren.
32   das sollte ich unbedingt aendern.
34   das wuerde ueber signal typen auszuschliessen sein,
35   dass es falsche verbindungen gibt.
36   
37   TODO:
38     - move the connection code for emu components to the generator implementation.
39   
40   what objects does core-lib provide ?
41    - Generator (is a base class)
42    - The GeneratorClass (the plugins implement this interface)
43    - it would be good to have a type system here.
44    - plugins could register a type ?
45      (hmmm types should be seperate plugins or implemented in the core.
46      first implement types in the core. types could come from the raptor rdf stuff
47    - the event stuff, the clock stuff.
48      
49    - there must be a method to connect with adding.
50      the connection algorithms