#include <SystemContainer.hpp>

Public Member Functions

 System (SystemContainer *sc)
 
virtual ~System ()
 
virtual bool flushSystem ()
 
virtual void status (TextDebugView *view)
 
virtual std::string debug_name () const
 
SystemContainersystem_container () const
 
void retain ()
 
void release ()
 
- Public Member Functions inherited from iv::Context
 Context ()
 
virtual ~Context ()
 
template<class ... Items>
void log (SrcInfo const &info, LogId id, Items const &... items) const
 
bool log_enabled (LogId id) const
 
template<class ... Items>
void warning (SrcInfo const &info, Items const &... items) const
 

Protected Member Functions

virtual bool log_process_enabled (LogId id) const override final
 
virtual void log_process (SrcInfo const &info, LogId id, std::string const &message) const override final
 

Detailed Description

Definition at line 20 of file SystemContainer.hpp.

Constructor & Destructor Documentation

◆ System()

iv::System::System ( SystemContainer sc)

Definition at line 14 of file SystemContainer.cpp.

◆ ~System()

virtual iv::System::~System ( )
inlinevirtual

Definition at line 24 of file SystemContainer.hpp.

Member Function Documentation

◆ flushSystem()

virtual bool iv::System::flushSystem ( )
inlinevirtual

◆ status()

virtual void iv::System::status ( TextDebugView view)
inlinevirtual

◆ debug_name()

◆ system_container()

SystemContainer * iv::System::system_container ( ) const

Definition at line 20 of file SystemContainer.cpp.

◆ retain()

void iv::System::retain ( )

System is created with zero refcounters, so it should be retained after creation.

Definition at line 25 of file SystemContainer.cpp.

◆ release()

void iv::System::release ( )

When last reference is released, the System will delete itself (using delete operator).

Definition at line 30 of file SystemContainer.cpp.

◆ log_process_enabled()

bool iv::System::log_process_enabled ( LogId  id) const
finaloverrideprotectedvirtual

Method log_process will not be called if this returns false. This allows us to avoid performance consuming string building.

Implements iv::Context.

Definition at line 37 of file SystemContainer.cpp.

◆ log_process()

void iv::System::log_process ( SrcInfo const &  info,
LogId  id,
std::string const &  message 
) const
finaloverrideprotectedvirtual

Implements iv::Context.

Definition at line 46 of file SystemContainer.cpp.


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