certi-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[certi-cvs] applications/HLA_TestsSuite test_HugeAVPV.cc [br_DEV_NotifSe


From: certi-cvs
Subject: [certi-cvs] applications/HLA_TestsSuite test_HugeAVPV.cc [br_DEV_NotifServices]
Date: Thu, 17 Jul 2008 09:16:32 +0000

CVSROOT:        /sources/certi
Module name:    applications
Branch:         br_DEV_NotifServices
Changes by:     Christian Stenzel <approx>      08/07/17 09:16:32

Modified files:
        HLA_TestsSuite : test_HugeAVPV.cc 

Log message:
        new preprocessor constant NUM

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/applications/HLA_TestsSuite/test_HugeAVPV.cc?cvsroot=certi&only_with_tag=br_DEV_NotifServices&r1=1.4&r2=1.4.2.1

Patches:
Index: test_HugeAVPV.cc
===================================================================
RCS file: /sources/certi/applications/HLA_TestsSuite/test_HugeAVPV.cc,v
retrieving revision 1.4
retrieving revision 1.4.2.1
diff -u -b -r1.4 -r1.4.2.1
--- test_HugeAVPV.cc    14 Jul 2008 14:12:42 -0000      1.4
+++ test_HugeAVPV.cc    17 Jul 2008 09:16:31 -0000      1.4.2.1
@@ -23,6 +23,7 @@
 
 #define MAX_FEDERATES 10
 #define LH 5
+#define NUM 10
 
 class HugeAVPVFed : public NullFederateAmbassador {
 
@@ -167,7 +168,7 @@
             this->waitForSyncPoint();
            cout << "Second sync point reached." << endl;
 
-            while (rav_ri_counter!=6) this->tickRTI();
+            while (rav_ri_counter!=NUM) this->tickRTI();
             rav_ri_counter = 0;
 
            // after next sync point sender is time regulating, receivers
@@ -180,7 +181,7 @@
             this->waitForSyncPoint();
             cout << "Fourth sync point reached." << endl;
 
-            while (rav_ri_counter!=6) this->tickRTI();
+            while (rav_ri_counter!=NUM) this->tickRTI();
             rav_ri_counter = 0;
 
             // fourth sync point -> afterwards have to get rav and ri wo/w ts
@@ -202,7 +203,7 @@
            cout << "Time advanced. Press ENTER ..." << endl;
            getchar();
 
-            while (rav_ri_counter!=6) this->tickRTI();
+            while (rav_ri_counter!=NUM) this->tickRTI();
             rav_ri_counter = 0;
 
             // final sync point




reply via email to

[Prev in Thread] Current Thread [Next in Thread]