Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
@@ -0,0 +1,74 @@
|
||||
// **************************************************************************
|
||||
//
|
||||
// (C) Copyright 2009 Swiss SIMTEC AG
|
||||
//
|
||||
// **************************************************************************
|
||||
//
|
||||
// $HeadURL$
|
||||
// $LastChangedBy$
|
||||
// $LastChangedDate$
|
||||
// $LastChangedRevision$
|
||||
//
|
||||
// Implementation of the Class PrtCnvThread
|
||||
// **************************************************************************
|
||||
#include "PrtCnvThread.hpp"
|
||||
#include <QThread>
|
||||
|
||||
namespace PrtCnv
|
||||
{
|
||||
|
||||
|
||||
bool PrtCnvThread::m_DoCleanDb = false;
|
||||
|
||||
// ---------------------------------------------------------------
|
||||
// Constructor with thread-starter as parameter
|
||||
// ---------------------------------------------------------------
|
||||
PrtCnvThread::PrtCnvThread(PrtCnv::PrtCnvThreadStarter* a_parent, const char *loggerName)
|
||||
: m_Parent(a_parent)
|
||||
, m_currentThreadId(nullptr)
|
||||
, m_logger(getLogger(loggerName))
|
||||
{}
|
||||
|
||||
int32_t PrtCnvThread::create(NGL::Settings *settings)
|
||||
{
|
||||
m_currentThreadId = QThread::currentThreadId();
|
||||
m_Config = settings;
|
||||
|
||||
INFO_LOG(m_logger) << "create " << m_Name
|
||||
<< " - current thread id is " << m_currentThreadId;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
int32_t PrtCnvThread::init()
|
||||
{
|
||||
INFO_LOG(m_logger) << "init " << m_Name;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
int32_t PrtCnvThread::start()
|
||||
{
|
||||
INFO_LOG(m_logger) << "start " << m_Name;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
int32_t PrtCnvThread::stop()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
int32_t PrtCnvThread::deinit()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
int32_t PrtCnvThread::destroy()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
} // namespace PrtCnv
|
||||
Reference in new issue
Block a user