Revision: 40848
          http://brlcad.svn.sourceforge.net/brlcad/?rev=40848&view=rev
Author:   davidloman
Date:     2010-09-29 18:02:07 +0000 (Wed, 29 Sep 2010)

Log Message:
-----------
Make several libgs headers public.  Need them public for interconnectivity 
between the libraries.

Modified Paths:
--------------
    rt^3/trunk/src/GS/CMakeLists.txt

Added Paths:
-----------
    rt^3/trunk/include/Account.h
    rt^3/trunk/include/AccountManager.h
    rt^3/trunk/include/DataManager.h
    rt^3/trunk/include/DbObject.h
    rt^3/trunk/include/Session.h
    rt^3/trunk/include/SessionManager.h
    rt^3/trunk/src/GS/DbObject.cxx

Removed Paths:
-------------
    rt^3/trunk/src/GS/Account.h
    rt^3/trunk/src/GS/AccountManager.h
    rt^3/trunk/src/GS/DataManager.h
    rt^3/trunk/src/GS/Session.h
    rt^3/trunk/src/GS/SessionManager.h

Copied: rt^3/trunk/include/Account.h (from rev 40834, 
rt^3/trunk/src/GS/Account.h)
===================================================================
--- rt^3/trunk/include/Account.h                                (rev 0)
+++ rt^3/trunk/include/Account.h        2010-09-29 18:02:07 UTC (rev 40848)
@@ -0,0 +1,61 @@
+/*                     A C C O U N T . C X X
+ * BRL-CAD
+ *
+ * Copyright (c) 2010 United States Government as represented by
+ * the U.S. Army Research Laboratory.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public License
+ * version 2.1 as published by the Free Software Foundation.
+ *
+ * This library 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 file; see the file named COPYING for more
+ * information.
+ */
+/** @file Account.cxx
+ *
+ * Class that represents a user's account information.
+ *
+ */
+
+#ifndef __ACCOUNT_H__
+#define __ACCOUNT_H__
+
+#include "Portal.h"
+#include <QtCore/QString>
+#include <ctime>
+
+class Account
+{
+
+public:
+  Account(QString uname, Portal* portal, quint32 id);
+  virtual ~Account();
+  QString getUname();
+  time_t getInactivityTime();
+  void stampLastAccess();
+  quint32 getID();
+  Portal* getPortal();
+  
+private:
+  quint32 id;
+  QString uname;
+  Portal* portal;
+
+  time_t lastAccess;
+};
+
+#endif /* __ACCOUNT_H__ */
+
+// Local Variables: ***
+// mode: C++ ***
+// tab-width: 8 ***
+// c-basic-offset: 2 ***
+// indent-tabs-mode: t ***
+// End: ***
+// ex: shiftwidth=2 tabstop=8

Copied: rt^3/trunk/include/AccountManager.h (from rev 40834, 
rt^3/trunk/src/GS/AccountManager.h)
===================================================================
--- rt^3/trunk/include/AccountManager.h                         (rev 0)
+++ rt^3/trunk/include/AccountManager.h 2010-09-29 18:02:07 UTC (rev 40848)
@@ -0,0 +1,65 @@
+/*               A C C O U N T M A N A G E R . C X X
+ * BRL-CAD
+ *
+ * Copyright (c) 2010 United States Government as represented by
+ * the U.S. Army Research Laboratory.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public License
+ * version 2.1 as published by the Free Software Foundation.
+ *
+ * This library 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 file; see the file named COPYING for more
+ * information.
+ */
+/** @file AccountManager.cxx
+ *
+ * Interface to the SVN user system.
+ *
+ */
+
+#ifndef __ACCOUNTMANAGER_H__
+#define __ACCOUNTMANAGER_H__
+
+#include "Logger.h"
+#include "Account.h"
+#include "Session.h"
+#include "Portal.h"
+
+#include <QtCore/QString>
+#include <QtCore/QList>
+
+class AccountManager
+{
+
+public:
+    virtual ~AccountManager();
+    static AccountManager* getInstance();
+    Account* login(QString uname, QString passwd, Portal* p);
+
+private:
+    static AccountManager* pInstance;
+    AccountManager();
+
+    Logger* log;
+    QMutex accountListLock;
+    QList<Account*>* accounts;
+
+    quint32 validateLoginCreds(QString uname, QString passwd);
+    Account* newAccount(QString uname, Portal* p, quint32 id);
+};
+
+#endif
+
+// Local Variables: ***
+// mode: C++ ***
+// tab-width: 8 ***
+// c-basic-offset: 2 ***
+// indent-tabs-mode: t ***
+// End: ***
+// ex: shiftwidth=2 tabstop=8

Copied: rt^3/trunk/include/DataManager.h (from rev 40834, 
rt^3/trunk/src/GS/DataManager.h)
===================================================================
--- rt^3/trunk/include/DataManager.h                            (rev 0)
+++ rt^3/trunk/include/DataManager.h    2010-09-29 18:02:07 UTC (rev 40848)
@@ -0,0 +1,56 @@
+/*             D A T A M A N A G E R . C X X
+ * BRL-CAD
+ *
+ * Copyright (c) 2010 United States Government as represented by
+ * the U.S. Army Research Laboratory.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public License
+ * version 2.1 as published by the Free Software Foundation.
+ *
+ * This library 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 file; see the file named COPYING for more
+ * information.
+ */
+/** @file DataManager.cxx
+ *
+ * Single point of access for all Database
+ * object IO from SVN, Cache and Disk
+ *
+ */
+
+#ifndef __DATAMANAGER_H__
+#define __DATAMANAGER_H__
+
+#include <QtCore/QString>
+#include <QtCore/QUuid>
+
+class DataManager {
+
+public:
+       static DataManager* getInstance();
+       virtual ~DataManager();
+
+       QString getDbObjectByURL(QString url);
+       QString getDbObjectByUUID(QUuid& uuid);
+
+private:
+       static DataManager* pInstance;
+       DataManager();
+
+};
+
+#endif /* __DATAMANAGER_H__ */
+
+// Local Variables: ***
+// mode: C++ ***
+// tab-width: 8 ***
+// c-basic-offset: 2 ***
+// indent-tabs-mode: t ***
+// End: ***
+// ex: shiftwidth=2 tabstop=8

Added: rt^3/trunk/include/DbObject.h
===================================================================
--- rt^3/trunk/include/DbObject.h                               (rev 0)
+++ rt^3/trunk/include/DbObject.h       2010-09-29 18:02:07 UTC (rev 40848)
@@ -0,0 +1,46 @@
+/*                      D B O B J E C T . H
+ * BRL-CAD
+ *
+ * Copyright (c) 2010 United States Government as represented by
+ * the U.S. Army Research Laboratory.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public License
+ * version 2.1 as published by the Free Software Foundation.
+ *
+ * This library 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 file; see the file named COPYING for more
+ * information.
+ */
+/** @file DbObject.h
+ * DbObject.h
+ *
+ *  Created on: Sep 29, 2010
+ *      Author: dloman
+ */
+
+#ifndef DBOBJECT_H_
+#define DBOBJECT_H_
+
+class DbObject {
+public:
+       DbObject();
+       virtual ~DbObject();
+};
+
+#endif /* DBOBJECT_H_ */
+
+/*
+ * Local Variables:
+ * tab-width: 8
+ * mode: C
+ * indent-tabs-mode: t
+ * c-file-style: "stroustrup"
+ * End:
+ * ex: shiftwidth=4 tabstop=8
+ */


Property changes on: rt^3/trunk/include/DbObject.h
___________________________________________________________________
Added: svn:mime-type
   + text/plain
Added: svn:keywords
   + Revision Date Author
Added: svn:eol-style
   + native

Copied: rt^3/trunk/include/Session.h (from rev 40834, 
rt^3/trunk/src/GS/Session.h)
===================================================================
--- rt^3/trunk/include/Session.h                                (rev 0)
+++ rt^3/trunk/include/Session.h        2010-09-29 18:02:07 UTC (rev 40848)
@@ -0,0 +1,70 @@
+/*                       S E S S I O N . H
+ * BRL-CAD
+ *
+ * Copyright (c) 2010 United States Government as represented by
+ * the U.S. Army Research Laboratory.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public License
+ * version 2.1 as published by the Free Software Foundation.
+ *
+ * This library 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 file; see the file named COPYING for more
+ * information.
+ */
+/** @file Session.h
+ *
+ * Brief description
+ *
+ */
+
+#ifndef __SESSION_H__
+#define __SESSION_H__
+
+#include "Account.h"
+#include "SessionInfoMsg.h"
+
+#include <cstdlib>
+#include <iostream>
+#include <ios>
+#include <fstream>
+#include <ctime>
+
+#include <QtCore/QUuid>
+
+class Session
+{
+friend class SessionManager;
+public:
+    virtual ~Session();
+
+    QUuid getSessionID();
+    Account* getAccount();
+
+    time_t getInactivityTime();
+    void stampLastAccess();
+
+    SessionInfoMsg* generateSessionInfoMsg();
+
+private:
+    Session(Account* a);
+
+    QUuid sessionID;
+    Account* a;
+    time_t lastAccess;
+};
+
+#endif
+
+// Local Variables: ***
+// mode: C++ ***
+// tab-width: 8 ***
+// c-basic-offset: 2 ***
+// indent-tabs-mode: t ***
+// End: ***
+// ex: shiftwidth=2 tabstop=8

Copied: rt^3/trunk/include/SessionManager.h (from rev 40834, 
rt^3/trunk/src/GS/SessionManager.h)
===================================================================
--- rt^3/trunk/include/SessionManager.h                         (rev 0)
+++ rt^3/trunk/include/SessionManager.h 2010-09-29 18:02:07 UTC (rev 40848)
@@ -0,0 +1,74 @@
+/*                S E S S I O N M A N A G E R . H
+ * BRL-CAD
+ *
+ * Copyright (c) 2010 United States Government as represented by
+ * the U.S. Army Research Laboratory.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public License
+ * version 2.1 as published by the Free Software Foundation.
+ *
+ * This library 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 file; see the file named COPYING for more
+ * information.
+ */
+/** @file SessionManager.h
+ *
+ * Provides management functions for active Sessions.
+ *
+ */
+
+#ifndef __SESSIONMANAGER_H__
+#define __SESSIONMANAGER_H__
+
+#include "Logger.h"
+#include "Session.h"
+#include "INetMsgHandler.h"
+#include "NewSessionReqMsg.h"
+#include "TypeOnlyMsg.h"
+
+#include <QtCore/QMap>
+#include <QtCore/QMutex>
+
+class SessionManager: public INetMsgHandler
+{
+public:
+    static SessionManager* getInstance();
+    virtual ~SessionManager();
+    bool handleNetMsg(NetMsg* msg);
+
+    Session* getSession(Account* a);
+    Session* getSession(QUuid sessID);
+    Session* getSession(Portal* p);
+
+private:
+    static SessionManager* pInstance;
+    SessionManager();
+
+    Logger* log;
+
+    QMutex listLock;
+    QList<Session*> sessionList;
+
+    Session* newSession(Account* a);
+    void putCache(Session* s);
+    void remCache(Session* s);
+
+    void handleNewSessionReqMsg(NewSessionReqMsg* msg);
+    void handleDisconnectReqMsg(TypeOnlyMsg* msg);
+};
+
+#endif
+
+// Local Variables: ***
+// mode: C++ ***
+// tab-width: 8 ***
+// c-basic-offset: 2 ***
+// indent-tabs-mode: t ***
+// End: ***
+// ex: shiftwidth=2 tabstop=8

Deleted: rt^3/trunk/src/GS/Account.h
===================================================================
--- rt^3/trunk/src/GS/Account.h 2010-09-29 18:00:28 UTC (rev 40847)
+++ rt^3/trunk/src/GS/Account.h 2010-09-29 18:02:07 UTC (rev 40848)
@@ -1,61 +0,0 @@
-/*                     A C C O U N T . C X X
- * BRL-CAD
- *
- * Copyright (c) 2010 United States Government as represented by
- * the U.S. Army Research Laboratory.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public License
- * version 2.1 as published by the Free Software Foundation.
- *
- * This library 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 file; see the file named COPYING for more
- * information.
- */
-/** @file Account.cxx
- *
- * Class that represents a user's account information.
- *
- */
-
-#ifndef __ACCOUNT_H__
-#define __ACCOUNT_H__
-
-#include "Portal.h"
-#include <QtCore/QString>
-#include <ctime>
-
-class Account
-{
-
-public:
-  Account(QString uname, Portal* portal, quint32 id);
-  virtual ~Account();
-  QString getUname();
-  time_t getInactivityTime();
-  void stampLastAccess();
-  quint32 getID();
-  Portal* getPortal();
-  
-private:
-  quint32 id;
-  QString uname;
-  Portal* portal;
-
-  time_t lastAccess;
-};
-
-#endif /* __ACCOUNT_H__ */
-
-// Local Variables: ***
-// mode: C++ ***
-// tab-width: 8 ***
-// c-basic-offset: 2 ***
-// indent-tabs-mode: t ***
-// End: ***
-// ex: shiftwidth=2 tabstop=8

Deleted: rt^3/trunk/src/GS/AccountManager.h
===================================================================
--- rt^3/trunk/src/GS/AccountManager.h  2010-09-29 18:00:28 UTC (rev 40847)
+++ rt^3/trunk/src/GS/AccountManager.h  2010-09-29 18:02:07 UTC (rev 40848)
@@ -1,65 +0,0 @@
-/*               A C C O U N T M A N A G E R . C X X
- * BRL-CAD
- *
- * Copyright (c) 2010 United States Government as represented by
- * the U.S. Army Research Laboratory.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public License
- * version 2.1 as published by the Free Software Foundation.
- *
- * This library 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 file; see the file named COPYING for more
- * information.
- */
-/** @file AccountManager.cxx
- *
- * Interface to the SVN user system.
- *
- */
-
-#ifndef __ACCOUNTMANAGER_H__
-#define __ACCOUNTMANAGER_H__
-
-#include "Logger.h"
-#include "Account.h"
-#include "Session.h"
-#include "Portal.h"
-
-#include <QtCore/QString>
-#include <QtCore/QList>
-
-class AccountManager
-{
-
-public:
-    virtual ~AccountManager();
-    static AccountManager* getInstance();
-    Account* login(QString uname, QString passwd, Portal* p);
-
-private:
-    static AccountManager* pInstance;
-    AccountManager();
-
-    Logger* log;
-    QMutex accountListLock;
-    QList<Account*>* accounts;
-
-    quint32 validateLoginCreds(QString uname, QString passwd);
-    Account* newAccount(QString uname, Portal* p, quint32 id);
-};
-
-#endif
-
-// Local Variables: ***
-// mode: C++ ***
-// tab-width: 8 ***
-// c-basic-offset: 2 ***
-// indent-tabs-mode: t ***
-// End: ***
-// ex: shiftwidth=2 tabstop=8

Modified: rt^3/trunk/src/GS/CMakeLists.txt
===================================================================
--- rt^3/trunk/src/GS/CMakeLists.txt    2010-09-29 18:00:28 UTC (rev 40847)
+++ rt^3/trunk/src/GS/CMakeLists.txt    2010-09-29 18:02:07 UTC (rev 40848)
@@ -56,18 +56,19 @@
 
 #Set INST Headers
 RT3_PROJECT_ADD_INST_HEADERS(
+       Session.h
+       SessionManager.h
+       Account.h
+       AccountManager.h
+       DataManager.h
        GeometryService.h
+    IDataSource.h
 )
 
 #Set NOINST headers
 RT3_PROJECT_ADD_NOINST_HEADERS(
-       DataManager.h
        DbObjectManifest.h
        GeometryProcessor.h
-       Session.h
-       SessionManager.h
-       Account.h
-       AccountManager.h
 )
 
 #Set QT INST headers

Deleted: rt^3/trunk/src/GS/DataManager.h
===================================================================
--- rt^3/trunk/src/GS/DataManager.h     2010-09-29 18:00:28 UTC (rev 40847)
+++ rt^3/trunk/src/GS/DataManager.h     2010-09-29 18:02:07 UTC (rev 40848)
@@ -1,56 +0,0 @@
-/*             D A T A M A N A G E R . C X X
- * BRL-CAD
- *
- * Copyright (c) 2010 United States Government as represented by
- * the U.S. Army Research Laboratory.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public License
- * version 2.1 as published by the Free Software Foundation.
- *
- * This library 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 file; see the file named COPYING for more
- * information.
- */
-/** @file DataManager.cxx
- *
- * Single point of access for all Database
- * object IO from SVN, Cache and Disk
- *
- */
-
-#ifndef __DATAMANAGER_H__
-#define __DATAMANAGER_H__
-
-#include <QtCore/QString>
-#include <QtCore/QUuid>
-
-class DataManager {
-
-public:
-       static DataManager* getInstance();
-       virtual ~DataManager();
-
-       QString getDbObjectByURL(QString url);
-       QString getDbObjectByUUID(QUuid& uuid);
-
-private:
-       static DataManager* pInstance;
-       DataManager();
-
-};
-
-#endif /* __DATAMANAGER_H__ */
-
-// Local Variables: ***
-// mode: C++ ***
-// tab-width: 8 ***
-// c-basic-offset: 2 ***
-// indent-tabs-mode: t ***
-// End: ***
-// ex: shiftwidth=2 tabstop=8

Added: rt^3/trunk/src/GS/DbObject.cxx
===================================================================
--- rt^3/trunk/src/GS/DbObject.cxx                              (rev 0)
+++ rt^3/trunk/src/GS/DbObject.cxx      2010-09-29 18:02:07 UTC (rev 40848)
@@ -0,0 +1,45 @@
+/*                    D B O B J E C T . C X X
+ * BRL-CAD
+ *
+ * Copyright (c) 2010 United States Government as represented by
+ * the U.S. Army Research Laboratory.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public License
+ * version 2.1 as published by the Free Software Foundation.
+ *
+ * This library 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 file; see the file named COPYING for more
+ * information.
+ */
+/** @file DbObject.cxx
+ * DbObject.cxx
+ *
+ *  Created on: Sep 29, 2010
+ *      Author: dloman
+ */
+
+#include "DbObject.h"
+
+DbObject::DbObject() {
+       // TODO Auto-generated constructor stub
+
+}
+
+DbObject::~DbObject() {
+       // TODO Auto-generated destructor stub
+}
+
+// Local Variables:
+// tab-width: 8
+// mode: C++
+// c-basic-offset: 4
+// indent-tabs-mode: t
+// c-file-style: "stroustrup"
+// End:
+// ex: shiftwidth=4 tabstop=8


Property changes on: rt^3/trunk/src/GS/DbObject.cxx
___________________________________________________________________
Added: svn:mime-type
   + text/plain
Added: svn:keywords
   + Revision Date Author
Added: svn:eol-style
   + native

Deleted: rt^3/trunk/src/GS/Session.h
===================================================================
--- rt^3/trunk/src/GS/Session.h 2010-09-29 18:00:28 UTC (rev 40847)
+++ rt^3/trunk/src/GS/Session.h 2010-09-29 18:02:07 UTC (rev 40848)
@@ -1,70 +0,0 @@
-/*                       S E S S I O N . H
- * BRL-CAD
- *
- * Copyright (c) 2010 United States Government as represented by
- * the U.S. Army Research Laboratory.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public License
- * version 2.1 as published by the Free Software Foundation.
- *
- * This library 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 file; see the file named COPYING for more
- * information.
- */
-/** @file Session.h
- *
- * Brief description
- *
- */
-
-#ifndef __SESSION_H__
-#define __SESSION_H__
-
-#include "Account.h"
-#include "SessionInfoMsg.h"
-
-#include <cstdlib>
-#include <iostream>
-#include <ios>
-#include <fstream>
-#include <ctime>
-
-#include <QtCore/QUuid>
-
-class Session
-{
-friend class SessionManager;
-public:
-    virtual ~Session();
-
-    QUuid getSessionID();
-    Account* getAccount();
-
-    time_t getInactivityTime();
-    void stampLastAccess();
-
-    SessionInfoMsg* generateSessionInfoMsg();
-
-private:
-    Session(Account* a);
-
-    QUuid sessionID;
-    Account* a;
-    time_t lastAccess;
-};
-
-#endif
-
-// Local Variables: ***
-// mode: C++ ***
-// tab-width: 8 ***
-// c-basic-offset: 2 ***
-// indent-tabs-mode: t ***
-// End: ***
-// ex: shiftwidth=2 tabstop=8

Deleted: rt^3/trunk/src/GS/SessionManager.h
===================================================================
--- rt^3/trunk/src/GS/SessionManager.h  2010-09-29 18:00:28 UTC (rev 40847)
+++ rt^3/trunk/src/GS/SessionManager.h  2010-09-29 18:02:07 UTC (rev 40848)
@@ -1,74 +0,0 @@
-/*                S E S S I O N M A N A G E R . H
- * BRL-CAD
- *
- * Copyright (c) 2010 United States Government as represented by
- * the U.S. Army Research Laboratory.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public License
- * version 2.1 as published by the Free Software Foundation.
- *
- * This library 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 file; see the file named COPYING for more
- * information.
- */
-/** @file SessionManager.h
- *
- * Provides management functions for active Sessions.
- *
- */
-
-#ifndef __SESSIONMANAGER_H__
-#define __SESSIONMANAGER_H__
-
-#include "Logger.h"
-#include "Session.h"
-#include "INetMsgHandler.h"
-#include "NewSessionReqMsg.h"
-#include "TypeOnlyMsg.h"
-
-#include <QtCore/QMap>
-#include <QtCore/QMutex>
-
-class SessionManager: public INetMsgHandler
-{
-public:
-    static SessionManager* getInstance();
-    virtual ~SessionManager();
-    bool handleNetMsg(NetMsg* msg);
-
-    Session* getSession(Account* a);
-    Session* getSession(QUuid sessID);
-    Session* getSession(Portal* p);
-
-private:
-    static SessionManager* pInstance;
-    SessionManager();
-
-    Logger* log;
-
-    QMutex listLock;
-    QList<Session*> sessionList;
-
-    Session* newSession(Account* a);
-    void putCache(Session* s);
-    void remCache(Session* s);
-
-    void handleNewSessionReqMsg(NewSessionReqMsg* msg);
-    void handleDisconnectReqMsg(TypeOnlyMsg* msg);
-};
-
-#endif
-
-// Local Variables: ***
-// mode: C++ ***
-// tab-width: 8 ***
-// c-basic-offset: 2 ***
-// indent-tabs-mode: t ***
-// End: ***
-// ex: shiftwidth=2 tabstop=8


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to