DDraceNetwork Docs
CEngine Class Reference
Inheritance diagram for CEngine:
[legend]
Collaboration diagram for CEngine:
[legend]

Public Member Functions

 CEngine (bool Test, const char *pAppname, std::shared_ptr< CFutureLogger > pFutureLogger, int Jobs)
 
 ~CEngine () override
 
void Init () override
 
void AddJob (std::shared_ptr< IJob > pJob) override
 
void ShutdownJobs () override
 
void SetAdditionalLogger (std::shared_ptr< ILogger > &&pLogger) override
 
- Public Member Functions inherited from IEngine
virtual ~IEngine ()=default
 
virtual void Init ()=0
 
virtual void AddJob (std::shared_ptr< IJob > pJob)=0
 
virtual void ShutdownJobs ()=0
 
virtual void SetAdditionalLogger (std::shared_ptr< ILogger > &&pLogger)=0
 
- Public Member Functions inherited from IInterface
 IInterface ()
 
virtual void Shutdown ()
 
virtual ~IInterface ()
 

Static Private Member Functions

static void Con_DbgLognetwork (IConsole::IResult *pResult, void *pUserData)
 

Private Attributes

IConsolem_pConsole
 
IStoragem_pStorage
 
bool m_Logging
 
std::shared_ptr< CFutureLoggerm_pFutureLogger
 
char m_aAppName [256]
 
CJobPool m_JobPool
 

Additional Inherited Members

- Static Public Member Functions inherited from IEngine
static const char * InterfaceName ()
 
- Protected Member Functions inherited from IInterface
IKernelKernel ()
 

Constructor & Destructor Documentation

◆ CEngine()

CEngine::CEngine ( bool  Test,
const char *  pAppname,
std::shared_ptr< CFutureLogger pFutureLogger,
int  Jobs 
)
inline

◆ ~CEngine()

CEngine::~CEngine ( )
inlineoverride

Member Function Documentation

◆ AddJob()

void CEngine::AddJob ( std::shared_ptr< IJob pJob)
inlineoverridevirtual

Implements IEngine.

◆ Con_DbgLognetwork()

static void CEngine::Con_DbgLognetwork ( IConsole::IResult pResult,
void *  pUserData 
)
inlinestaticprivate

◆ Init()

void CEngine::Init ( )
inlineoverridevirtual

Implements IEngine.

◆ SetAdditionalLogger()

void CEngine::SetAdditionalLogger ( std::shared_ptr< ILogger > &&  pLogger)
inlineoverridevirtual

Implements IEngine.

◆ ShutdownJobs()

void CEngine::ShutdownJobs ( )
inlineoverridevirtual

Implements IEngine.

Member Data Documentation

◆ m_aAppName

char CEngine::m_aAppName[256]
private

◆ m_JobPool

CJobPool CEngine::m_JobPool
private

◆ m_Logging

bool CEngine::m_Logging
private

◆ m_pConsole

IConsole* CEngine::m_pConsole
private

◆ m_pFutureLogger

std::shared_ptr<CFutureLogger> CEngine::m_pFutureLogger
private

◆ m_pStorage

IStorage* CEngine::m_pStorage
private

The documentation for this class was generated from the following file: