整理代码

This commit is contained in:
蒲爽 2026-09-28 21:33:04 +08:00
commit c7b4e178ec
364 changed files with 59691 additions and 0 deletions

37
video/core/System.cpp Normal file
View file

@ -0,0 +1,37 @@
/*
*******************************************************************************
* INCLUDE
*******************************************************************************
*/
#include "System.h"
#include <Poco/Exception.h>
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();
}
}
}