[brlcad-commits] SF.net SVN: brlcad:[41613]
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: <dav...@us...> - 2010-12-15 14:33:18
|
Revision: 41613 http://brlcad.svn.sourceforge.net/brlcad/?rev=41613&view=rev Author: davidloman Date: 2010-12-15 14:33:10 +0000 (Wed, 15 Dec 2010) Log Message: ----------- Expanded some two letter field names into something a bit more readable. Modified Paths: -------------- rt^3/trunk/include/GeometryService.h rt^3/trunk/src/GS/GeometryService.cxx Modified: rt^3/trunk/include/GeometryService.h =================================================================== --- rt^3/trunk/include/GeometryService.h 2010-12-15 14:18:35 UTC (rev 41612) +++ rt^3/trunk/include/GeometryService.h 2010-12-15 14:33:10 UTC (rev 41613) @@ -50,8 +50,8 @@ QString localNodeName; quint16 listenPort; - PortalManager* pm; - DataManager* dm; + PortalManager* portalMan; + DataManager* dataMan; void registerMsgRoutes(); Modified: rt^3/trunk/src/GS/GeometryService.cxx =================================================================== --- rt^3/trunk/src/GS/GeometryService.cxx 2010-12-15 14:18:35 UTC (rev 41612) +++ rt^3/trunk/src/GS/GeometryService.cxx 2010-12-15 14:33:10 UTC (rev 41613) @@ -33,21 +33,21 @@ this->log = Logger::getInstance(); this->log->logINFO("GeometryService", localNodeName + " is starting up..."); - this->pm = new PortalManager(listenPort); + this->portalMan = new PortalManager(listenPort); this->registerMsgRoutes(); - this->dm = DataManager::getInstance(); + this->dataMan = DataManager::getInstance(); } GeometryService::~GeometryService() { - delete pm; + delete portalMan; } DataManager* GeometryService::getDataManager() { - return this->dm; + return this->dataMan; } void @@ -59,12 +59,12 @@ router->registerType(SESSIONINFO, SessionManager::getInstance()); router->registerType(DISCONNECTREQ, SessionManager::getInstance()); - router->registerType(DISCONNECTREQ, this->pm); + router->registerType(DISCONNECTREQ, this->portalMan); router->registerType(CMD_SHUTDOWN, this); - router->registerType(GEOMETRYREQ, this->dm); - router->registerType(GEOMETRYCHUNK, this->dm); + router->registerType(GEOMETRYREQ, this->dataMan); + router->registerType(GEOMETRYCHUNK, this->dataMan); } bool @@ -78,13 +78,13 @@ void GeometryService::_run() { this->log->logINFO("GeometryService", "Starting PortalManager"); - this->pm->start(); + this->portalMan->start(); while (this->runCmd) { GSThread::msleep(100); } - this->pm->shutdown(); + this->portalMan->shutdown(); } bool This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |