You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
64 lines
2.1 KiB
64 lines
2.1 KiB
6 months ago
|
#include "viewmodel/displayString/SimpleDisplayProviderCreator.h"
|
||
|
|
||
|
#include "viewmodel/displayString/SimpleThreadIdDisplay.h"
|
||
|
|
||
|
/*************************************************************************************************/
|
||
|
DisplayStringProvider_ptr SimpleDisplayProviderCreator::createDisplayProvider(ELogColumn column)
|
||
|
const
|
||
|
{
|
||
|
switch(column)
|
||
|
{
|
||
|
case threadId:
|
||
|
return createId();
|
||
|
|
||
|
default:
|
||
|
return nullptr;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/*************************************************************************************************/
|
||
|
DisplayStringProvider_ptr SimpleDisplayProviderCreator::createId() const
|
||
|
{
|
||
|
return std::make_shared<SimpleThreadIdDisplay>();
|
||
|
}
|
||
|
|
||
|
/*************************************************************************************************/
|
||
|
DisplayStringProvider_ptr SimpleDisplayProviderCreator::createLevel() const
|
||
|
{
|
||
|
}
|
||
|
|
||
|
/*************************************************************************************************/
|
||
|
DisplayStringProvider_ptr SimpleDisplayProviderCreator::createTimestamp() const
|
||
|
{
|
||
|
}
|
||
|
|
||
|
/*************************************************************************************************/
|
||
|
DisplayStringProvider_ptr SimpleDisplayProviderCreator::createFile() const
|
||
|
{
|
||
|
}
|
||
|
|
||
|
/*************************************************************************************************/
|
||
|
DisplayStringProvider_ptr SimpleDisplayProviderCreator::createFunc() const
|
||
|
{
|
||
|
}
|
||
|
|
||
|
/*************************************************************************************************/
|
||
|
DisplayStringProvider_ptr SimpleDisplayProviderCreator::createLineno() const
|
||
|
{
|
||
|
}
|
||
|
|
||
|
/*************************************************************************************************/
|
||
|
DisplayStringProvider_ptr SimpleDisplayProviderCreator::createMsg() const
|
||
|
{
|
||
|
}
|
||
|
|
||
|
/*************************************************************************************************/
|
||
|
DisplayStringProvider_ptr SimpleDisplayProviderCreator::createScope() const
|
||
|
{
|
||
|
}
|
||
|
|
||
|
/*************************************************************************************************/
|
||
|
DisplayStringProvider_ptr SimpleDisplayProviderCreator::createThreadId() const
|
||
|
{
|
||
|
}
|