CigiSession.cpp

Go to the documentation of this file.
00001 
00045 #define _EXPORT_CCL_
00046 
00047 #include "CigiSession.h"
00048 
00049 // ====================================================================
00050 // Construction/Destruction
00051 // ====================================================================
00052 
00053 // ================================================
00054 // CigiSession
00055 // vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
00056 CigiSession::CigiSession(const int NumInBuf, const int InBufLen,
00057                          const int NumOutBuf, const int OutBufLen,
00058                          SessionTypeEnum SessionTypeIn) : 
00059    SessionType( SessionTypeIn ),
00060    Synchronous( true ),
00061    MostMatureKnownCigi(3,3)
00062 {
00063 
00064    CigiVersionID InitVersion = MostMatureKnownCigi;
00065    OutMsg.SetSession(this);
00066    OutMsg.ChangeOutgoingCigiVersion(InitVersion);
00067    InMsg.SetSession(this);
00068    InMsg.SetReaderVersion(InitVersion);  // Default version initialization
00069 
00070    OutMsg.CreateBuffer(NumOutBuf, OutBufLen);
00071    InMsg.CreateBuffer(NumInBuf, InBufLen);
00072 
00073    OutMsg.SetAnimationTable(&ATbl);
00074    InMsg.SetAnimationTable(&ATbl);
00075 
00076 }
00077 
00078 
00079 
00080 // ================================================
00081 // ~CigiSession
00082 // vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
00083 CigiSession::~CigiSession()
00084 {
00085 
00086 }
00087 

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