[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
certi/RTIA RTIA_network.cc
From: |
certi-cvs |
Subject: |
certi/RTIA RTIA_network.cc |
Date: |
Wed, 28 Nov 2007 14:54:36 +0000 |
CVSROOT: /sources/certi
Module name: certi
Changes by: Pierre Siron <siron> 07/11/28 14:54:36
Modified files:
RTIA : RTIA_network.cc
Log message:
Improvement of the sendInteraction without timestamp
(the timestamp attribute in the fed file does not matter)
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/certi/RTIA/RTIA_network.cc?cvsroot=certi&r1=3.13&r2=3.14
Patches:
Index: RTIA_network.cc
===================================================================
RCS file: /sources/certi/certi/RTIA/RTIA_network.cc,v
retrieving revision 3.13
retrieving revision 3.14
diff -u -b -r3.13 -r3.14
--- RTIA_network.cc 31 Oct 2007 10:30:23 -0000 3.13
+++ RTIA_network.cc 28 Nov 2007 14:54:35 -0000 3.14
@@ -18,7 +18,7 @@
// along with this program ; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
-// $Id: RTIA_network.cc,v 3.13 2007/10/31 10:30:23 erk Exp $
+// $Id: RTIA_network.cc,v 3.14 2007/11/28 14:54:35 siron Exp $
// ----------------------------------------------------------------------------
#include <config.h>
@@ -105,11 +105,6 @@
"Receving Message from RTIG, "
"type NetworkMessage::REFLECT_ATTRIBUTE_VALUES.");
-
-
- // Here we assume all RO messages as asynchronous RO messages, which
- // is contrary of HLA 1.3 default value.
- //
// It is important to note that several attributes may be updated at
// the same time. Each attribute has its own order type, region, etc.
// So attributes which are meeting similar criteria should be sent
@@ -163,12 +158,18 @@
D.Out(pdTrace,
"Receving Message from RTIG, type
NetworkMessage::RECEIVE_INTERACTION.");
- // Here we assume all RO messages as asynchronous RO messages, which
- // is contrary of HLA 1.3 default value
-
+ // Here we have to consider RAV without time
+ if ( !msg->getBoolean() )
+ {
+ // without time
+ interactionOrder = RECEIVE ;
+ }
+ else
+ {
// Retrieve order type
interactionOrder = rootObject->Interactions->
getByHandle(msg->interactionClass)->order;
+ }
// Decide which queue will be used
if (interactionOrder == TIMESTAMP && tm->requestContraintState())
@@ -320,4 +321,4 @@
}} // namespace certi/rtia
-// $Id: RTIA_network.cc,v 3.13 2007/10/31 10:30:23 erk Exp $
+// $Id: RTIA_network.cc,v 3.14 2007/11/28 14:54:35 siron Exp $
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- certi/RTIA RTIA_network.cc,
certi-cvs <=