Changes between Version 67 and Version 68 of Documentation/FAQ


Ignore:
Timestamp:
Oct 9, 2006, 4:23:59 PM (18 years ago)
Author:
anonymous
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/FAQ

    v67 v68  
    248248your home dir on gateway (thus your home on console). If you're on a linux box: type
    249249'scp your_new_script.rb username@gateway.orbit-lab.org:folder/you/want/it/to/go/into'
     250
     251I dont understand the prototype definition and application definition?
     252-----------------------------------------------------------------------
     253The main idea is that for every new application, you create a Ruby
     254class (called application definition) examples are otg.rb, otf.rb etc.
     255These 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
     257The prototype is a particular subclass (if you will)  that is bound to
     258the particular application E.g sender.rb is the prototype that uses the underlying application
     259defined in otg.rb..
     260
     261Sender.rb may have different additional measurement options such as
     262time-based or sample based filtering..(whereas the generic application
     263definition otg.rb only specifies what it can report)
     264
     265The experiment script (tutorial.rb) uses the prototype (instance of
     266the prototype)
    250267
    251268Do I  need to compile the code (or prepare it in any way) before uploading it on the console?