- Timestamp:
- Nov 17, 2009, 1:55:46 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sample/pingpong/PingPong.cpp
r5316 r6941 1 1 #include "PingPong.h" 2 2 #include "ariba/utility/configuration/Configuration.h" 3 #include "ariba/utility/visual/DddVis.h" 3 4 4 5 using ariba::utility::Configuration; … … 52 53 if (config.exists("pingpong.name")) 53 54 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 } 54 62 55 63 } // if( Configuration::haveConfig() )
Note:
See TracChangeset
for help on using the changeset viewer.