/* ******************************************************************************* * INCLUDE ******************************************************************************* */ #include "System.h" #include namespace Video { namespace Core { /* ******************************************************************************* * CLASS DEFINE ******************************************************************************* */ System* System::_pInstance = nullptr; System::System() { } System::~System() { delete _pInstance; _pInstance = nullptr; } uint64_t System::timestamp() { if (!_pInstance) throw Poco::IllegalStateException("Unregister implement class."); return _pInstance->getTimestamp(); } } }