Changeset 12063


Ignore:
Timestamp:
Jun 19, 2013, 1:09:25 PM (11 years ago)
Author:
hock@…
Message:

..

Location:
sample/pingpong
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • sample/pingpong/PingPong.cpp

    r12062 r12063  
    11#include "PingPong.h"
    2 #include "ariba/utility/configuration/Configuration.h"
    3 #include "ariba/utility/visual/DddVis.h"
    4 
    52#include <boost/property_tree/ptree.hpp>
    63#include <boost/property_tree/json_parser.hpp>
    74
    8 
    9 using ariba::utility::Configuration;
    105using namespace ariba;
    116
  • sample/pingpong/PingPong.h

    r12060 r12063  
    6060
    6161private:
    62         // the ariba module and a node
    63 //      AribaModule* ariba;
    6462        Node node;
    6563        string name;
     
    7674};
    7775
    78 // needed for simulation support
    79 ARIBA_SIMULATION_SERVICE(PingPong);
    80 
    8176}}} // namespace ariba, application, pingpong
    8277
  • sample/pingpong/PingPongMessage.cpp

    r5151 r12063  
    11#include "PingPongMessage.h"
     2#include <sstream>
    23
    34namespace ariba {
     
    1617}
    1718
    18 string PingPongMessage::info(){
    19         return "ping pong message id " + ariba::utility::Helper::ultos(id);
     19string PingPongMessage::info()
     20{
     21    ostringstream out;
     22    out << "ping pong message id " << (int) id;
     23        return out.str();
    2024}
    2125
Note: See TracChangeset for help on using the changeset viewer.