| 250 | |
| 251 | I dont understand the prototype definition and application definition? |
| 252 | ----------------------------------------------------------------------- |
| 253 | The main idea is that for every new application, you create a Ruby |
| 254 | class (called application definition) examples are otg.rb, otf.rb etc. |
| 255 | These classes define all the properties of this application such as 1) What are the inputs it expects? 2) What are the measurements that it reports |
| 256 | |
| 257 | The prototype is a particular subclass (if you will) that is bound to |
| 258 | the particular application E.g sender.rb is the prototype that uses the underlying application |
| 259 | defined in otg.rb.. |
| 260 | |
| 261 | Sender.rb may have different additional measurement options such as |
| 262 | time-based or sample based filtering..(whereas the generic application |
| 263 | definition otg.rb only specifies what it can report) |
| 264 | |
| 265 | The experiment script (tutorial.rb) uses the prototype (instance of |
| 266 | the prototype) |