certi-cvs
[Top][All Lists]
Advanced

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

[certi-cvs] certi/scripts CERTI_Message.msg


From: certi-cvs
Subject: [certi-cvs] certi/scripts CERTI_Message.msg
Date: Mon, 19 Oct 2009 15:03:39 +0000

CVSROOT:        /sources/certi
Module name:    certi
Changes by:     Eric NOULARD <erk>      09/10/19 15:03:39

Added files:
        scripts        : CERTI_Message.msg 

Log message:
        First version of RTIA <--> Federate Messages

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/certi/scripts/CERTI_Message.msg?cvsroot=certi&rev=1.1

Patches:
Index: CERTI_Message.msg
===================================================================
RCS file: CERTI_Message.msg
diff -N CERTI_Message.msg
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ CERTI_Message.msg   19 Oct 2009 15:03:39 -0000      1.1
@@ -0,0 +1,59 @@
+
+// ----------------------------------------------------------------------------
+// CERTI - HLA RunTime Infrastructure
+// Copyright (C) 2002-2008  ONERA
+//
+// This program is free software ; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public License
+// as published by the Free Software Foundation ; either version 2 of
+// the License, or (at your option) Any later version.
+//
+// This program is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY ; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this program ; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+// USA
+//
+// ----------------------------------------------------------------------------
+// CERTI Messages description
+// ----------------------------------------------------------------------------
+// The messages related classes will be placed in the certi package
+package certi
+
+// Message is the base class
+// for message exchanged between RTIA and Federate (libRTI)
+// AKA CERTI Message
+native Message {
+    language CXX [#include "Message.hh"]
+    language Python [import certi.Message]
+    language Java   [import certi.Message]
+}
+
+message M_Enable_Time_Regulation {
+    required double fedTime
+    required double lookahead
+}
+
+message M_Disable_Time_Regulation { }
+
+message M_Enable_Time_Constrained { }
+
+message M_Disable_Time_Constrained { }
+
+native StreamType {
+    language CXX [typedef Socket* StreamType;]
+}
+
+native M_Type {
+    language CXX [typedef Message::Type M_Type;]
+}
+
+factory M_Factory {
+
+       factoryCreator  NetworkMessage create(M_Type)
+       factoryReceiver NetworkMessage receive(StreamType)
+}
\ No newline at end of file




reply via email to

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