Commit 8d29c22d authored by Pascal Palenda's avatar Pascal Palenda
Browse files

Refine default constructor - WIP

parent 4a4a4462
......@@ -29,8 +29,10 @@ namespace ITA
{CZoneFilter::getType ( ), CZoneFilter::createFilter} };
IAudibilityFilter::AudibilityFilterConfig::AudibilityFilterConfig ( ) : sFilterType ( "Unknown" )
{ }
IAudibilityFilter::AudibilityFilterConfig::AudibilityFilterConfig ( ) : sFilterType ( m_sFilterType )
{
m_sFilterType = "Unknown";
}
IAudibilityFilter::AudibilityFilterConfig::AudibilityFilterConfig ( std::string sType ) : sFilterType ( m_sFilterType )
{
......
......@@ -12,10 +12,12 @@ namespace ITA
{
// todo This can fail if the name changes .. Fix this/make it bullet proof
std::map<std::string, CWorkerFactory::CreateCallback> CWorkerFactory::m_mWorkers =
{ {"RavenWorkerThread", room_acoustics::raven::CWorkerThread::createWorker} };
{ {room_acoustics::raven::CWorkerThread::getType(), room_acoustics::raven::CWorkerThread::createWorker} };
IWorkerInterface::WorkerConfig::WorkerConfig ( ) : sWorkerType ( "Unknown" )
{ }
IWorkerInterface::WorkerConfig::WorkerConfig ( ) : sWorkerType ( m_sWorkerType )
{
m_sWorkerType = "Unknown";
}
IWorkerInterface::WorkerConfig::WorkerConfig ( std::string sType ) : sWorkerType ( m_sWorkerType )
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment