Revision: 40622
http://brlcad.svn.sourceforge.net/brlcad/?rev=40622&view=rev
Author: davidloman
Date: 2010-09-20 19:32:00 +0000 (Mon, 20 Sep 2010)
Log Message:
-----------
Made ControlledThread extend QThread rather than contain one as an aggregate.
Modified Paths:
--------------
rt^3/trunk/include/ControlledThread.h
rt^3/trunk/src/utility/ControlledThread.cxx
Modified: rt^3/trunk/include/ControlledThread.h
===================================================================
--- rt^3/trunk/include/ControlledThread.h 2010-09-20 19:20:33 UTC (rev
40621)
+++ rt^3/trunk/include/ControlledThread.h 2010-09-20 19:32:00 UTC (rev
40622)
@@ -27,7 +27,7 @@
#include <Qt>
#include "GSThread.h"
-class ControlledThread
+class ControlledThread : public QThread
{
public:
ControlledThread(QString threadname = "");
@@ -53,9 +53,6 @@
QString threadName;
bool runCmd;
bool runStatus;
-
-private:
- GSThread* internalThread;
};
#endif /* __CONTROLLEDTHREAD_H__ */
Modified: rt^3/trunk/src/utility/ControlledThread.cxx
===================================================================
--- rt^3/trunk/src/utility/ControlledThread.cxx 2010-09-20 19:20:33 UTC (rev
40621)
+++ rt^3/trunk/src/utility/ControlledThread.cxx 2010-09-20 19:32:00 UTC (rev
40622)
@@ -35,12 +35,10 @@
}
this->runCmd = false;
this->runStatus = false;
- this->internalThread = new GSThread();
}
ControlledThread::~ControlledThread()
{
- delete this->internalThread;
}
bool
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