certi-cvs
[Top][All Lists]
Advanced

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

[certi-cvs] certi RTIA/DeclarationManagement.hh RTIA/Declar...


From: certi-cvs
Subject: [certi-cvs] certi RTIA/DeclarationManagement.hh RTIA/Declar...
Date: Wed, 09 Jul 2008 13:48:29 +0000

CVSROOT:        /sources/certi
Module name:    certi
Changes by:     Eric NOULARD <erk>      08/07/09 13:48:29

Modified files:
        RTIA           : DeclarationManagement.hh 
                         DeclarationManagement.cc ObjectManagement.hh 
                         ObjectManagement.cc RTIA_federate.cc 
        libRTI         : RTIambassador.cc 
        libCERTI       : Message_W.cc Message_R.cc 

Log message:
        Applied switch.patch1 from Christian Stenzel
        https://savannah.nongnu.org/task/?6893
        A first step to implement switches.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/certi/RTIA/DeclarationManagement.hh?cvsroot=certi&r1=3.8&r2=3.9
http://cvs.savannah.gnu.org/viewcvs/certi/RTIA/DeclarationManagement.cc?cvsroot=certi&r1=3.20&r2=3.21
http://cvs.savannah.gnu.org/viewcvs/certi/RTIA/ObjectManagement.hh?cvsroot=certi&r1=3.23&r2=3.24
http://cvs.savannah.gnu.org/viewcvs/certi/RTIA/ObjectManagement.cc?cvsroot=certi&r1=3.50&r2=3.51
http://cvs.savannah.gnu.org/viewcvs/certi/RTIA/RTIA_federate.cc?cvsroot=certi&r1=3.85&r2=3.86
http://cvs.savannah.gnu.org/viewcvs/certi/libRTI/RTIambassador.cc?cvsroot=certi&r1=3.89&r2=3.90
http://cvs.savannah.gnu.org/viewcvs/certi/libCERTI/Message_W.cc?cvsroot=certi&r1=3.34&r2=3.35
http://cvs.savannah.gnu.org/viewcvs/certi/libCERTI/Message_R.cc?cvsroot=certi&r1=3.29&r2=3.30

Patches:
Index: RTIA/DeclarationManagement.hh
===================================================================
RCS file: /sources/certi/certi/RTIA/DeclarationManagement.hh,v
retrieving revision 3.8
retrieving revision 3.9
diff -u -b -r3.8 -r3.9
--- RTIA/DeclarationManagement.hh       10 Jun 2008 13:41:44 -0000      3.8
+++ RTIA/DeclarationManagement.hh       9 Jul 2008 13:48:28 -0000       3.9
@@ -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: DeclarationManagement.hh,v 3.8 2008/06/10 13:41:44 rousse Exp $
+// $Id: DeclarationManagement.hh,v 3.9 2008/07/09 13:48:28 erk Exp $
 // ----------------------------------------------------------------------------
 
 #ifndef _CERTI_RTIA_DM
@@ -74,15 +74,25 @@
     void unsubscribeInteractionClass(InteractionClassHandle theClassHandle,
                                      TypeException &e);
 
+    void setClassRelevanceAdvisorySwitch(bool state,
+                                         TypeException &e);
+
+    // 5.10
     void startRegistrationForObjectClass(ObjectClassHandle theClass,
                                          TypeException &e);
 
+    // 5.11
     void stopRegistrationForObjectClass(ObjectClassHandle theClass,
                                         TypeException &e);
 
+    void setInteractionRelevanceAdvisorySwitch(bool state,
+                                               TypeException &e);
+
+    // 5.12
     void turnInteractionsOn(InteractionClassHandle theHandle,
                             TypeException &e);
 
+    // 5.13
     void turnInteractionsOff(InteractionClassHandle theHandle,
                              TypeException &e);
 
@@ -97,4 +107,4 @@
 
 #endif // _CERTI_RTIA_DM
 
-// $Id: DeclarationManagement.hh,v 3.8 2008/06/10 13:41:44 rousse Exp $
+// $Id: DeclarationManagement.hh,v 3.9 2008/07/09 13:48:28 erk Exp $

Index: RTIA/DeclarationManagement.cc
===================================================================
RCS file: /sources/certi/certi/RTIA/DeclarationManagement.cc,v
retrieving revision 3.20
retrieving revision 3.21
diff -u -b -r3.20 -r3.21
--- RTIA/DeclarationManagement.cc       10 Jun 2008 13:41:44 -0000      3.20
+++ RTIA/DeclarationManagement.cc       9 Jul 2008 13:48:28 -0000       3.21
@@ -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: DeclarationManagement.cc,v 3.20 2008/06/10 13:41:44 rousse Exp $
+// $Id: DeclarationManagement.cc,v 3.21 2008/07/09 13:48:28 erk Exp $
 // ----------------------------------------------------------------------------
 
 #include <config.h>
@@ -357,6 +357,15 @@
 } /* end of unsubscribeInteractionClass */
 
 // ----------------------------------------------------------------------------
+// setClassRelevanceAdvisorySwitch
+void
+DeclarationManagement::
+setClassRelevanceAdvisorySwitch(bool state, TypeException &e) {
+    G.Out(pdGendoc,"enter 
DeclarationManagement::setClassRelevanceAdvisorySwitch");
+    G.Out(pdGendoc,"exit 
DeclarationManagement::setClassRelevanceAdvisorySwitch");
+}
+
+// ----------------------------------------------------------------------------
 // startRegistrationForObjectClass
 void
 DeclarationManagement::
@@ -415,9 +424,22 @@
 }
 
 // ----------------------------------------------------------------------------
+// setInteractionRelevanceAdvisorySwitch
+void
+DeclarationManagement::
+setInteractionRelevanceAdvisorySwitch(bool state, TypeException &e) {
+    G.Out(pdGendoc,"enter 
DeclarationManagement::setInteractionRelevanceAdvisorySwitch");
+
+    G.Out(pdGendoc,"exit 
DeclarationManagement::setInteractionRelevanceAdvisorySwitch");
+}
+
+/* further refinement required, see OM.cc e.g. attributesInScope */
+
+// ----------------------------------------------------------------------------
 // turnInteractionsOn
 void
-DeclarationManagement::turnInteractionsOn(InteractionClassHandle interaction,
+DeclarationManagement::
+turnInteractionsOn(InteractionClassHandle interaction,
                                           TypeException &e)
 {
     Message req, rep ;
@@ -438,7 +460,8 @@
 // ----------------------------------------------------------------------------
 // turnInteractionsOff
 void
-DeclarationManagement::turnInteractionsOff(InteractionClassHandle interaction,
+DeclarationManagement::
+turnInteractionsOff(InteractionClassHandle interaction,
                                            TypeException &e)
 {
     Message req ;
@@ -459,4 +482,4 @@
 
 }} // namespace certi/rtia
 
-// $Id: DeclarationManagement.cc,v 3.20 2008/06/10 13:41:44 rousse Exp $
+// $Id: DeclarationManagement.cc,v 3.21 2008/07/09 13:48:28 erk Exp $

Index: RTIA/ObjectManagement.hh
===================================================================
RCS file: /sources/certi/certi/RTIA/ObjectManagement.hh,v
retrieving revision 3.23
retrieving revision 3.24
diff -u -b -r3.23 -r3.24
--- RTIA/ObjectManagement.hh    11 Jun 2008 15:19:19 -0000      3.23
+++ RTIA/ObjectManagement.hh    9 Jul 2008 13:48:28 -0000       3.24
@@ -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: ObjectManagement.hh,v 3.23 2008/06/11 15:19:19 rousse Exp $
+// $Id: ObjectManagement.hh,v 3.24 2008/07/09 13:48:28 erk Exp $
 // ----------------------------------------------------------------------------
 
 #ifndef _CERTI_RTIA_OM
@@ -190,6 +190,40 @@
     void reflectRetraction(EventRetractionHandle theHandle,
                            TypeException &e);
 
+    void setAttributeScopeAdvisorySwitch(bool state,
+                                         TypeException &e);
+
+    // 6.13
+    void 
+    attributesInScope(ObjectHandle theObject,
+                      const std::vector <AttributeHandle> &attribArray,
+                      const UShort attribArraySize,
+                      TypeException &e);
+
+    // 6.14
+    void 
+    attributesOutOfScope(ObjectHandle theObject,
+                      const std::vector <AttributeHandle> &attribArray,
+                      const UShort attribArraySize,
+                      TypeException &e);
+
+    void setAttributeRelevanceAdvisorySwitch(bool state,
+                                             TypeException &e);
+
+    // 6.17
+    void 
+    turnUpdatesOnForObjectInstance(ObjectHandle theObject,
+                      const std::vector <AttributeHandle> &attribArray,
+                     const UShort attribArraySize,
+                      TypeException &e);
+
+    // 6.18
+    void 
+    turnUpdatesOffForObjectInstance(ObjectHandle theObject,
+                      const std::vector <AttributeHandle> &attribArray,
+                      const UShort attribArraySize,
+                      TypeException &e);
+
     // RTI Support Services
     ObjectClassHandle getObjectClassHandle(const char *theName);
     std::string getObjectClassName(ObjectClassHandle);
@@ -229,4 +263,4 @@
 
 #endif // _CERTI_RTIA_OM
 
-// $Id: ObjectManagement.hh,v 3.23 2008/06/11 15:19:19 rousse Exp $
+// $Id: ObjectManagement.hh,v 3.24 2008/07/09 13:48:28 erk Exp $

Index: RTIA/ObjectManagement.cc
===================================================================
RCS file: /sources/certi/certi/RTIA/ObjectManagement.cc,v
retrieving revision 3.50
retrieving revision 3.51
diff -u -b -r3.50 -r3.51
--- RTIA/ObjectManagement.cc    24 Jun 2008 08:56:48 -0000      3.50
+++ RTIA/ObjectManagement.cc    9 Jul 2008 13:48:28 -0000       3.51
@@ -698,7 +698,6 @@
     G.Out(pdGendoc,"exit  ObjectManagement::provideAttributeValueUpdate");   
 }
 
-
 // ------------------
 // -- 4.16 retract --
 // ------------------
@@ -840,5 +839,134 @@
     return rootObject->objects->getObjectClass(object);
 }
 
+// --------------------------------------
+// setAttributeScopeAdvisorySwitch
+// --------------------------------------
+void
+ObjectManagement::
+setAttributeScopeAdvisorySwitch(bool state, TypeException &e) {
+    G.Out(pdGendoc,"enter ObjectManagement::setAttributeScopeAdvisorySwitch");
+
+    G.Out(pdGendoc,"exit ObjectManagement::setAttributeScopeAdvisorySwitch");
+}
+
+// --------------------------------------
+// -- 6.13 attributesInScope
+// --------------------------------------
+void
+ObjectManagement::
+attributesInScope(ObjectHandle theObject,
+                  const std::vector <AttributeHandle> &attribArray,
+                  const UShort attribArraySize,
+                  TypeException &e) {
+    Message req;
+
+    G.Out(pdGendoc,"enter ObjectManagement::attributesInScope");
+
+    req.type = Message::ATTRIBUTES_IN_SCOPE;
+    req.setObject(theObject);
+    req.handleArraySize = attribArraySize;
+    req.handleArray.resize(attribArraySize);
+
+    for (int i = 0 ; i < attribArraySize ; i++)
+        req.handleArray[i] = attribArray[i];
+
+    comm->requestFederateService(&req);
+
+    G.Out(pdGendoc,"exit  ObjectManagement::attributesInScope");   
+}
+
+// --------------------------------------
+// -- 6.14 attributesOutOfScope
+// --------------------------------------
+
+void
+ObjectManagement::
+attributesOutOfScope(ObjectHandle theObject,
+                     const std::vector <AttributeHandle> &attribArray,
+                     const UShort attribArraySize,
+                     TypeException &e) {
+    Message req;
+
+    G.Out(pdGendoc,"enter ObjectManagement::attributesOutScope");
+
+    req.type = Message::ATTRIBUTES_OUT_OF_SCOPE;
+    req.setObject(theObject);
+    req.handleArraySize = attribArraySize;
+    req.handleArray.resize(attribArraySize);
+
+    for (int i = 0 ; i < attribArraySize ; i++)
+        req.handleArray[i] = attribArray[i];
+
+    comm->requestFederateService(&req);
+
+    G.Out(pdGendoc,"exit  ObjectManagement::attributesOutScope");   
+}
+
+// --------------------------------------
+// setAttributeRelevanceAdvisorySwitch
+// --------------------------------------
+void
+ObjectManagement::
+setAttributeRelevanceAdvisorySwitch(bool state, TypeException &e) {
+    G.Out(pdGendoc,"enter 
ObjectManagement::setAttributeRelevanceAdvisorySwitch");
+
+    G.Out(pdGendoc,"exit 
ObjectManagement::setAttributeRelevanceAdvisorySwitch");
+}
+
+// --------------------------------------
+// -- 6.17 turnUpdatesOnForObjectInstance
+// --------------------------------------
+
+void 
+ObjectManagement::
+turnUpdatesOnForObjectInstance(ObjectHandle theObject,
+                           const std::vector <AttributeHandle> &attribArray,
+                           const UShort attribArraySize,
+                           TypeException &e) {
+    Message req;
+
+    G.Out(pdGendoc,"enter ObjectManagement::turnUpdatesOnForObjectInstance");
+
+    req.type = Message::TURN_UPDATES_ON_FOR_OBJECT_INSTANCE;
+    req.setObject(theObject);
+    req.handleArraySize = attribArraySize;
+    req.handleArray.resize(attribArraySize);
+
+    for (int i = 0 ; i < attribArraySize ; i++)
+        req.handleArray[i] = attribArray[i];
+
+    comm->requestFederateService(&req);
+
+    G.Out(pdGendoc,"exit  ObjectManagement::turnUpdatesOnForObjectInstance");  
 
+}
+
+// --------------------------------------
+// -- 6.18 turnUpdatesOffForObjectInstance
+// --------------------------------------
+
+void
+ObjectManagement::
+turnUpdatesOffForObjectInstance(ObjectHandle theObject,
+                         const std::vector <AttributeHandle> &attribArray,
+                         const UShort attribArraySize,
+                         TypeException &e) {
+    Message req;
+
+    G.Out(pdGendoc,"enter ObjectManagement::turnUpdatesOffForObjectInstance");
+
+    req.type = Message::TURN_UPDATES_OFF_FOR_OBJECT_INSTANCE;
+    req.setObject(theObject);
+    req.handleArraySize = attribArraySize;
+    req.handleArray.resize(attribArraySize);
+
+    for (int i = 0 ; i < attribArraySize ; i++)
+        req.handleArray[i] = attribArray[i];
+
+    comm->requestFederateService(&req);
+
+    G.Out(pdGendoc,"exit  ObjectManagement::turnUpdatesOffForObjectInstance");
+}
+
 }} // namespace certi/rtia
 

Index: RTIA/RTIA_federate.cc
===================================================================
RCS file: /sources/certi/certi/RTIA/RTIA_federate.cc,v
retrieving revision 3.85
retrieving revision 3.86
diff -u -b -r3.85 -r3.86
--- RTIA/RTIA_federate.cc       24 Jun 2008 08:56:48 -0000      3.85
+++ RTIA/RTIA_federate.cc       9 Jul 2008 13:48:28 -0000       3.86
@@ -1000,6 +1000,54 @@
         processOngoingTick();
         break ;
 
+      case Message::ENABLE_CLASS_RELEVANCE_ADVISORY_SWITCH:
+        D.Out(pdTrace,
+              "Receiving Message from Federate, type 
EnableClassRelevanceAdvisorySwitch.");
+       dm->setClassRelevanceAdvisorySwitch(req->getBoolean(), e);
+       break;
+      
+      case Message::DISABLE_CLASS_RELEVANCE_ADVISORY_SWITCH:
+        D.Out(pdTrace,
+              "Receiving Message from Federate, type 
DisableClassRelevanceAdvisorySwitch.");
+       dm->setClassRelevanceAdvisorySwitch(req->getBoolean(), e);
+       break;
+
+      case Message::ENABLE_INTERACTION_RELEVANCE_ADVISORY_SWITCH:
+        D.Out(pdTrace,
+              "Receiving Message from Federate, type 
SetInteractionRelevanceAdvisorySwitch.");
+       dm->setInteractionRelevanceAdvisorySwitch(req->getBoolean(), e);
+       break;
+      
+      case Message::DISABLE_INTERACTION_RELEVANCE_ADVISORY_SWITCH:
+        D.Out(pdTrace,
+              "Receiving Message from Federate, type 
SetInteractionRelevanceAdvisorySwitch.");
+       dm->setInteractionRelevanceAdvisorySwitch(req->getBoolean(), e);
+       break;
+
+      case Message::ENABLE_ATTRIBUTE_RELEVANCE_ADVISORY_SWITCH:
+        D.Out(pdTrace,
+              "Receiving Message from Federate, type 
SetAttributeRelevanceAdvisorySwitch.");
+       om->setAttributeRelevanceAdvisorySwitch(req->getBoolean(), e);
+       break;
+      
+      case Message::DISABLE_ATTRIBUTE_RELEVANCE_ADVISORY_SWITCH:
+        D.Out(pdTrace,
+              "Receiving Message from Federate, type 
SetAttributeRelevanceAdvisorySwitch.");
+       om->setAttributeRelevanceAdvisorySwitch(req->getBoolean(), e);
+       break;
+
+      case Message::ENABLE_ATTRIBUTE_SCOPE_ADVISORY_SWITCH:
+        D.Out(pdTrace,
+              "Receiving Message from Federate, type 
SetAttributeScopeAdvisorySwitch.");
+       om->setAttributeScopeAdvisorySwitch(req->getBoolean(), e);
+       break;
+      
+      case Message::DISABLE_ATTRIBUTE_SCOPE_ADVISORY_SWITCH:
+        D.Out(pdTrace,
+              "Receiving Message from Federate, type 
SetAttributeScopeAdvisorySwitch.");
+       om->setAttributeScopeAdvisorySwitch(req->getBoolean(), e);
+       break;
+
       default:
         D.Out(pdExcept,
               "Receiving Message from Federate, Unknown Type %d.", req->type);

Index: libRTI/RTIambassador.cc
===================================================================
RCS file: /sources/certi/certi/libRTI/RTIambassador.cc,v
retrieving revision 3.89
retrieving revision 3.90
diff -u -b -r3.89 -r3.90
--- libRTI/RTIambassador.cc     24 Jun 2008 08:56:49 -0000      3.89
+++ libRTI/RTIambassador.cc     9 Jul 2008 13:48:28 -0000       3.90
@@ -19,7 +19,7 @@
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
 // USA
 //
-// $Id: RTIambassador.cc,v 3.89 2008/06/24 08:56:49 rousse Exp $
+// $Id: RTIambassador.cc,v 3.90 2008/07/09 13:48:28 erk Exp $
 // ----------------------------------------------------------------------------
 
 
@@ -2919,8 +2919,8 @@
     throw (RTI::RTIinternalError, RTI::RestoreInProgress, RTI::SaveInProgress, 
           RTI::ConcurrentAccessAttempted, RTI::FederateNotExecutionMember)
 {
-    throw UnimplementedService("");
     Message req, rep ;
+
     req.type = Message::ENABLE_CLASS_RELEVANCE_ADVISORY_SWITCH ;
     privateRefs->executeService(&req, &rep);
 }
@@ -2932,8 +2932,8 @@
     throw (RTI::RTIinternalError, RTI::RestoreInProgress, RTI::SaveInProgress, 
           RTI::ConcurrentAccessAttempted, RTI::FederateNotExecutionMember)
 {
-    throw UnimplementedService("");
     Message req, rep ;
+
     req.type = Message::DISABLE_CLASS_RELEVANCE_ADVISORY_SWITCH ;
     privateRefs->executeService(&req, &rep);
 }
@@ -2945,8 +2945,8 @@
     throw (RTI::RTIinternalError, RTI::RestoreInProgress, RTI::SaveInProgress, 
           RTI::ConcurrentAccessAttempted, RTI::FederateNotExecutionMember)
 {
-    throw UnimplementedService("");
     Message req, rep ;
+
     req.type = Message::ENABLE_ATTRIBUTE_RELEVANCE_ADVISORY_SWITCH ;
     privateRefs->executeService(&req, &rep);
 }
@@ -2958,8 +2958,8 @@
     throw (RTI::RTIinternalError, RTI::RestoreInProgress, RTI::SaveInProgress, 
           RTI::ConcurrentAccessAttempted, RTI::FederateNotExecutionMember)
 {
-    throw UnimplementedService("");
     Message req, rep ;
+
     req.type = Message::DISABLE_ATTRIBUTE_RELEVANCE_ADVISORY_SWITCH ;
     privateRefs->executeService(&req, &rep);
 }
@@ -2970,8 +2970,8 @@
     throw (RTI::RTIinternalError, RTI::RestoreInProgress, RTI::SaveInProgress, 
           RTI::ConcurrentAccessAttempted, RTI::FederateNotExecutionMember)
 {
-    throw UnimplementedService("");
     Message req, rep ;
+
     req.type = Message::ENABLE_ATTRIBUTE_SCOPE_ADVISORY_SWITCH ;
     privateRefs->executeService(&req, &rep);
 }
@@ -2983,8 +2983,8 @@
     throw (RTI::RTIinternalError, RTI::RestoreInProgress, RTI::SaveInProgress, 
           RTI::ConcurrentAccessAttempted, RTI::FederateNotExecutionMember)
 {
-    throw UnimplementedService("");
     Message req, rep ;
+
     req.type = Message::DISABLE_ATTRIBUTE_SCOPE_ADVISORY_SWITCH ;
     privateRefs->executeService(&req, &rep);
 }
@@ -2996,8 +2996,8 @@
     throw (RTI::RTIinternalError, RTI::RestoreInProgress, RTI::SaveInProgress, 
           RTI::ConcurrentAccessAttempted, RTI::FederateNotExecutionMember)
 {
-    throw UnimplementedService("");
     Message req, rep ;
+
     req.type = Message::ENABLE_INTERACTION_RELEVANCE_ADVISORY_SWITCH ;
     privateRefs->executeService(&req, &rep);
 }
@@ -3009,10 +3009,10 @@
     throw (RTI::RTIinternalError, RTI::RestoreInProgress, RTI::SaveInProgress, 
           RTI::ConcurrentAccessAttempted, RTI::FederateNotExecutionMember)
 {
-    throw UnimplementedService("");
     Message req, rep ;
+
     req.type = Message::DISABLE_INTERACTION_RELEVANCE_ADVISORY_SWITCH ;
     privateRefs->executeService(&req, &rep);
 }
 
-// $Id: RTIambassador.cc,v 3.89 2008/06/24 08:56:49 rousse Exp $
+// $Id: RTIambassador.cc,v 3.90 2008/07/09 13:48:28 erk Exp $

Index: libCERTI/Message_W.cc
===================================================================
RCS file: /sources/certi/certi/libCERTI/Message_W.cc,v
retrieving revision 3.34
retrieving revision 3.35
diff -u -b -r3.34 -r3.35
--- libCERTI/Message_W.cc       24 Jun 2008 08:56:49 -0000      3.34
+++ libCERTI/Message_W.cc       9 Jul 2008 13:48:29 -0000       3.35
@@ -17,7 +17,7 @@
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
 // USA
 //
-// $Id: Message_W.cc,v 3.34 2008/06/24 08:56:49 rousse Exp $
+// $Id: Message_W.cc,v 3.35 2008/07/09 13:48:29 erk Exp $
 // ----------------------------------------------------------------------------
 
 
@@ -479,6 +479,18 @@
             msgBuffer.write_double(lookahead);
             break ;
 
+         // Body contains boolean
+         case ENABLE_CLASS_RELEVANCE_ADVISORY_SWITCH:
+         case DISABLE_CLASS_RELEVANCE_ADVISORY_SWITCH:
+         case ENABLE_INTERACTION_RELEVANCE_ADVISORY_SWITCH:
+         case DISABLE_INTERACTION_RELEVANCE_ADVISORY_SWITCH:
+         case ENABLE_ATTRIBUTE_RELEVANCE_ADVISORY_SWITCH:
+         case DISABLE_ATTRIBUTE_RELEVANCE_ADVISORY_SWITCH:
+         case ENABLE_ATTRIBUTE_SCOPE_ADVISORY_SWITCH:
+         case DISABLE_ATTRIBUTE_SCOPE_ADVISORY_SWITCH:
+            msgBuffer.write_bool(boolean);
+           break;
+
           // Body contains boolean, TickTime, TickTime
           case TICK_REQUEST:
             msgBuffer.write_bool(boolean);
@@ -584,4 +596,4 @@
 
 } // namespace certi
 
-// $Id: Message_W.cc,v 3.34 2008/06/24 08:56:49 rousse Exp $
+// $Id: Message_W.cc,v 3.35 2008/07/09 13:48:29 erk Exp $

Index: libCERTI/Message_R.cc
===================================================================
RCS file: /sources/certi/certi/libCERTI/Message_R.cc,v
retrieving revision 3.29
retrieving revision 3.30
diff -u -b -r3.29 -r3.30
--- libCERTI/Message_R.cc       24 Jun 2008 08:56:49 -0000      3.29
+++ libCERTI/Message_R.cc       9 Jul 2008 13:48:29 -0000       3.30
@@ -17,7 +17,7 @@
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
 // USA
 //
-// $Id: Message_R.cc,v 3.29 2008/06/24 08:56:49 rousse Exp $
+// $Id: Message_R.cc,v 3.30 2008/07/09 13:48:29 erk Exp $
 // ----------------------------------------------------------------------------
 
 
@@ -463,6 +463,18 @@
             lookahead = msgBuffer.read_double();
             break ;
 
+         // Body contains boolean
+         case ENABLE_CLASS_RELEVANCE_ADVISORY_SWITCH:
+         case DISABLE_CLASS_RELEVANCE_ADVISORY_SWITCH:
+         case ENABLE_INTERACTION_RELEVANCE_ADVISORY_SWITCH:
+         case DISABLE_INTERACTION_RELEVANCE_ADVISORY_SWITCH:
+         case ENABLE_ATTRIBUTE_RELEVANCE_ADVISORY_SWITCH:
+         case DISABLE_ATTRIBUTE_RELEVANCE_ADVISORY_SWITCH:
+         case ENABLE_ATTRIBUTE_SCOPE_ADVISORY_SWITCH:
+         case DISABLE_ATTRIBUTE_SCOPE_ADVISORY_SWITCH:
+            boolean = msgBuffer.read_bool();
+           break;
+
           // Body contains boolean, TickTime, TickTime
           case TICK_REQUEST:
             boolean = msgBuffer.read_bool();
@@ -627,4 +639,4 @@
 
 } // namespace certi
 
-// $Id: Message_R.cc,v 3.29 2008/06/24 08:56:49 rousse Exp $
+// $Id: Message_R.cc,v 3.30 2008/07/09 13:48:29 erk Exp $




reply via email to

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