Changes between Version 5 and Version 6 of Documentation/Tutorial/PingPong


Ignore:
Timestamp:
Jan 20, 2009, 4:56:38 PM (15 years ago)
Author:
huebsch
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/Tutorial/PingPong

    v5 v6  
    434326 }
    4444}}}
    45 The ''main.cpp'' serves us as an entry point to the application. In the first lines we include class definitions we need here (e.g. strings because we want to handle some). Also, we include the StartupWrapper class that comes with ''Ariba''. It provides some handy helpers for initialization. Finally, we need to include the PingPong.h, because this is the actual thing we want to execute.
    46 Then, we declare the used namespaces (lines 05-07) to be able to use the functionalities.
     45The ''main.cpp'' serves us as an entry point to the application. In the first lines we include class definitions we need here (e.g. strings because we want to handle some). Also, we include the StartupWrapper class that comes with ''Ariba''. It provides some handy helpers for initialization. Finally, we need to include the ''PingPong.h'', because this is the actual thing we want to execute.
     46Then, we declare the used namespaces (lines 05-07) to be able to use the functionalities. Now we get to the main method, being our starting point. After determining the location of our config file, we initialize the system by passing the config location to the StartupWrapper and telling the same to start the architecture up (lines 11-15).
    4747
    4848