Changeset 6941


Ignore:
Timestamp:
Nov 17, 2009, 1:55:46 PM (14 years ago)
Author:
Christoph Mayer
Message:

-visualisierungsänderungen

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • README

    r6940 r6941  
    1 see http://www.tm.uka.de/ariba
     1see
     2  http://www.ariba-underlay.org
     3and
     4  www.spovnet.de
  • sample/pingpong/PingPong.cpp

    r5316 r6941  
    11#include "PingPong.h"
    22#include "ariba/utility/configuration/Configuration.h"
     3#include "ariba/utility/visual/DddVis.h"
    34
    45using ariba::utility::Configuration;
     
    5253                if (config.exists("pingpong.name"))
    5354                        name = config.read<string>("pingpong.name");
     55
     56                // get visualization
     57                if( config.exists("ariba.visual3d.ip") && config.exists("ariba.visual3d.port")){
     58                        string ip = config.read<string>("ariba.visual3d.ip");
     59                        unsigned int port = config.read<unsigned int>("ariba.visual3d.port");
     60                        ariba::utility::DddVis::instance().configure(ip, port);
     61                }
    5462
    5563        } // if( Configuration::haveConfig() )
  • source/ariba/communication/BaseCommunication.h

    r6919 r6941  
    277277        NetworkChangeDetection networkMonitor;
    278278#endif
     279
    279280        /// list of all remote addresses of links to end-points
    280281        class endpoint_reference {
     
    308309        void send( Message* message, const LinkDescriptor& descriptor );
    309310
    310 
    311 
    312311        /// state of the base communication
    313312        bool started;
  • source/ariba/utility/visual/DddVis.cpp

    r6919 r6941  
    9898                                        << getTimestamp()                       << del
    9999                                        << getNetworkName(network)      << del
     100                                        << "null"                                       << del
    100101                                        << 0                                            << del;
    101102
Note: See TracChangeset for help on using the changeset viewer.