certi-cvs
[Top][All Lists]
Advanced

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

[certi-cvs] applications/XPlaneHLAPlugin XPlane_PlugIn/XP_R...


From: certi-cvs
Subject: [certi-cvs] applications/XPlaneHLAPlugin XPlane_PlugIn/XP_R...
Date: Mon, 23 Jun 2008 14:35:42 +0000

CVSROOT:        /sources/certi
Module name:    applications
Changes by:     Mathé <jmm>    08/06/23 14:35:42

Modified files:
        XPlaneHLAPlugin/XPlane_PlugIn: XP_Run.cpp 
Removed files:
        XPlaneHLAPlugin: README.txt 

Log message:
        Prepare 0.1.2 release

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/applications/XPlaneHLAPlugin/XPlane_PlugIn/XP_Run.cpp?cvsroot=certi&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/applications/XPlaneHLAPlugin/README.txt?cvsroot=certi&r1=1.1&r2=0

Patches:
Index: XPlane_PlugIn/XP_Run.cpp
===================================================================
RCS file: /sources/certi/applications/XPlaneHLAPlugin/XPlane_PlugIn/XP_Run.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- XPlane_PlugIn/XP_Run.cpp    27 May 2008 14:05:49 -0000      1.1
+++ XPlane_PlugIn/XP_Run.cpp    23 Jun 2008 14:35:41 -0000      1.2
@@ -28,15 +28,24 @@
 
 fprintf(fLog,"Publish attributes of class %d ",IDClass); fflush(fLog);
 publishObjectClass(IDClass, *attributes);
+}
+catch ( RTI::Exception &e) 
+       {
+       fprintf(fLog,"!!Error :publishObjectClass : %s\n",e._reason) ;
+       exit(-1);
+       }
+
+try
+{
 
 fprintf(fLog,"Register object %s ",federationName); fflush(fLog);
-HObject= registerObjectInstance(IDClass,federationName);
+HObject= registerObjectInstance(IDClass);
 fprintf(fLog,"Made\n"); fflush(fLog);
 }
 
 catch ( RTI::Exception &e) 
        {
-       fprintf(fLog,"!!Error : Publish Value : %s\n",e._reason) ;
+       fprintf(fLog,"!!Error : registerObjectInstance : %s\n",e._reason) ;
        exit(-1);
 }      }
 

Index: README.txt
===================================================================
RCS file: README.txt
diff -N README.txt
--- README.txt  27 May 2008 14:05:49 -0000      1.1
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,55 +0,0 @@
-Federation HLA - XPlane
-
-HLA (High Level Architecture) is a standard (IEE1516/HLA 1.3)  for distributed 
simulation.
-
-This plug-in should be usable with all HLA RTI even if it has only been 
thoroughly
-tested with the CERTI Open Source RTI 
https://savannah.nongnu.org/projects/certi/).
-
-For CERTI, you have to define the "CERTI_HOME" env var pointing the path to 
CERTI install folder.
-
-The source tree has the following layout:
-
-X/Misc 
Folder-------------------------------------------------------------------
-initCERTI.txt 
-       {
-       XPlane
-       D:\DVP Cert\CertiSav\installed\share\federations\XPlane.fed             
//where is FOM?
-       192.000.000.001                                                         
//
-       }
-XPlane.fed     (file HLA Federation Object Model : FOM) 
-
-
-A/ XPlane_Plugin Folder: XPlane Federate 
---------------------------------------
-       {
-       XP_Certi.h
-       XPlane_InitDll.cpp      //Xplane interface
-       XPlane_RunDll.cpp 
-       XP_Init.cpp             //CERTI interface
-       XP_Run.cpp
-       CMakeLists.txt          //for building "Federate XPlane"
-       }
-
-B/ XPlane_Trace Folder: Trace Federate 
-----------------------------------------
-       {
-       XP_Trace.h
-       XP_Trace.cpp 
-       XP_RTData.cpp
-       CMakeLists.txt          //for building "Federate Trace "
-       }
-
-Run CMake.... (see www.cmake.org)
-Build XPlaneFederate.dll
-Build XplaneTrace.exe
-
-Move the file XPlaneFederate.dll into folder "XXXX/Resources/plugins"
-XPlaneFederate.dll must be renamed XPlaneFederate.xpl (normal XPlane extension)
-Copy file initCERTI.txt from /Misc to /XXXX 
-!!! /XXXX is the XPlane root folder !!!
-
-Copy file initCERTI.txt from /Misc to /YYYY
-!!! /YYYY is the Trace build folder !!!
-
-//-------------------------------------------------------------------------------
-Have a look at https://savannah.nongnu.org/projects/certi/
-//-------------------------------------------------------------------------------
-




reply via email to

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