CigiBaseTrajectoryDef.cpp

Go to the documentation of this file.
00001 
00045 #define _EXPORT_CCL_
00046 
00047 #include "CigiBaseTrajectoryDef.h"
00048 #include "CigiSwapping.h"
00049 #include "CigiExceptions.h"
00050 
00051 
00052 // ====================================================================
00053 // Construction/Destruction
00054 // ====================================================================
00055 
00056 
00057 // ================================================
00058 // CigiBaseTrajectoryDef
00059 // vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
00060 CigiBaseTrajectoryDef::CigiBaseTrajectoryDef()
00061 {
00062 
00063 }
00064 
00065 
00066 
00067 // ================================================
00068 // ~CigiBaseTrajectoryDef
00069 // vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
00070 CigiBaseTrajectoryDef::~CigiBaseTrajectoryDef()
00071 {
00072 
00073 }
00074 
00075 
00076 // ====================================================================
00077 // Conversion Control
00078 // ====================================================================
00079 
00080 
00081 // ================================================
00082 // GetCnvt
00083 // vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
00084 int CigiBaseTrajectoryDef::GetCnvt(CigiVersionID &CnvtVersion,
00085                                    CigiCnvtInfoType::Type &CnvtInfo)
00086 {
00087    CnvtInfo.ProcID = CigiProcessType::ProcStd;
00088 
00089    // V1 & V2 have the same packet id number
00090    if(CnvtVersion.CigiMajorVersion < 3)
00091       CnvtInfo.CnvtPacketID = CIGI_TRAJECTORY_DEF_PACKET_ID_V2;
00092    else
00093       CnvtInfo.CnvtPacketID = CIGI_TRAJECTORY_DEF_PACKET_ID_V3;
00094 
00095    return(CIGI_SUCCESS);
00096 }
00097 
00098 
00099 // ====================================================================
00100 // Accessors
00101 // ====================================================================
00102 
00103 

Generated on Wed Apr 29 08:59:57 2009 for CCL by  doxygen 1.4.7