Changes between Version 3 and Version 4 of Old/Documentation/OTG/FuncSpec/OmlIntegration


Ignore:
Timestamp:
Oct 6, 2005, 5:59:15 PM (16 years ago)
Author:
zhibinwu
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Old/Documentation/OTG/FuncSpec/OmlIntegration

    v3 v4  
    77To isolate/encapsulate all OML-related functions, a class [source:otg/trunk/src/cpp/orbitapp.h#latest OrbitApp] is designed.
    88All other design components/objects shall not care about measurements reporting mechanism and the interaction with OML.
    9 This class derived three child classes for respective appliactions.
     9This class derived three child classes for respective applications.
    1010
    1111[[Image(classOrbitApp.png)]] [[BR]]
     
    1414== Implementation ==
    1515
    16 All functons to call OML are put as pure virtual functions in this base class. OTG/OTR/OTFApp can select to implement a subset of those functions. This design has some advantages:
     16All functions to call OML are put as pure virtual functions in this base class. OTG/OTR/OTFApp can select to implement a subset of those functions. This design has some advantages:
    1717 * to make OTF to reuse the Stream/Port/Gate structure of as a combination of OTG/OTR
    1818 * to share some common functions for all OTG/OTR/OTFApp, such as close()
    1919
    20 The class has a boolean varialbe to indicate if OML will be used or not. If it is false, all measurement reports will be redireted to a local log file. This is a special debugging mode. And it could also be served as a means to use OTG outside of ORBIT testbed.
     20The class has a Boolean variable to indicate if OML will be used or not. If it is false, all measurement reports will be redirected to a local log file. This is a special debugging mode. And it could also be served as a means to use OTG outside of ORBIT testbed.
    2121
    2222OML calls are actually implemented externally by OML-client libraries. So, special header files are fetched dynamically in compilation. Those header files have to be included here. For example: