Reinserts original comments
This commit is contained in:
112 files changed
+7113
-5131
No files matched your search
@@ -1,16 +1,16 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// **************************************************************************
|
||||
//
|
||||
// (C) Copyright 2009 Swiss SIMTEC AG
|
||||
//
|
||||
// **************************************************************************
|
||||
//
|
||||
// $HeadURL$
|
||||
// $LastChangedBy$
|
||||
// $LastChangedDate$
|
||||
// $LastChangedRevision$
|
||||
//
|
||||
// Implementation of the Class PrtCnvThreadStarter
|
||||
// **************************************************************************
|
||||
#include "PrtCnvThreadStarter.hpp"
|
||||
#include "PrtCnvCentralThread.hpp"
|
||||
#include "PrtCnvRadioThread.hpp"
|
||||
@@ -23,9 +23,9 @@
|
||||
namespace PrtCnv
|
||||
{
|
||||
|
||||
|
||||
|
||||
|
||||
// ---------------------------------------------------------------
|
||||
// Constructor with id and ptr to main-app as parameters.
|
||||
// ---------------------------------------------------------------
|
||||
PrtCnvThreadStarter::PrtCnvThreadStarter(const PrtCnv::PrtCnvApplication::E_ThreadId a_id,
|
||||
const QString &configFileName,
|
||||
PrtCnv::PrtCnvApplication* a_mainApp)
|
||||
@@ -45,14 +45,14 @@ PrtCnvThreadStarter::~PrtCnvThreadStarter()
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// ---------------------------------------------------------------
|
||||
// The run()-function, which will be called by Qt-Framework,
|
||||
// when starting the thread.
|
||||
// ---------------------------------------------------------------
|
||||
void PrtCnvThreadStarter::run()
|
||||
{
|
||||
INFO_LOG(m_logger) << "Entering event loop for thread " << this << ", id: " << m_Id;
|
||||
|
||||
// allocate the thread
|
||||
switch (m_Id)
|
||||
{
|
||||
case PrtCnvApplication::e_Central:
|
||||
@@ -114,12 +114,12 @@ void PrtCnvThreadStarter::run()
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// ---------------------------------------------------------------
|
||||
// Returns the desired thread.
|
||||
// ---------------------------------------------------------------
|
||||
PrtCnvThread *PrtCnvThreadStarter::getOtherThread(PrtCnvApplication::E_ThreadId a_threadId) const
|
||||
{
|
||||
return m_Application->getThreadStarter(a_threadId)->m_Thread;
|
||||
}
|
||||
|
||||
}
|
||||
} // namespace PrtCnv
|
||||
Reference in new issue
Block a user