![]() |
Olympe Engine 2.0
2D Game Engine with ECS Architecture
|
#include <AnimationErrorHandler.h>
Public Member Functions | |
| void | LogMissingAnimation (const std::string &entityName, const std::string &graphPath, const std::string &stateName, const std::string &animName) |
| void | LogMissingSpritesheet (const std::string &entityName, const std::string &spritesheetId, const std::string &animName) |
| void | LogError (const std::string &message) |
| void | ClearCache () |
Static Public Member Functions | |
| static AnimationErrorHandler & | GetInstance () |
| static AnimationErrorHandler & | Get () |
Private Member Functions | |
| AnimationErrorHandler ()=default | |
| ~AnimationErrorHandler ()=default | |
| AnimationErrorHandler (const AnimationErrorHandler &)=delete | |
| AnimationErrorHandler & | operator= (const AnimationErrorHandler &)=delete |
| std::string | GenerateErrorKey (const std::string &error) |
Private Attributes | |
| std::unordered_set< std::string > | m_loggedErrors |
Definition at line 21 of file AnimationErrorHandler.h.
|
privatedefault |
|
privatedefault |
|
privatedelete |
| void OlympeAnimation::AnimationErrorHandler::ClearCache | ( | ) |
Definition at line 64 of file AnimationErrorHandler.cpp.
References m_loggedErrors.
|
private |
Definition at line 69 of file AnimationErrorHandler.cpp.
References GetComponentTypeID_Static().
Referenced by LogError().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 29 of file AnimationErrorHandler.h.
References GetInstance().
Here is the call graph for this function:
|
inlinestatic |
Definition at line 24 of file AnimationErrorHandler.h.
References GetComponentTypeID_Static().
Referenced by Get().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 53 of file AnimationErrorHandler.cpp.
References GenerateErrorKey(), GetComponentTypeID_Static(), m_loggedErrors, and SYSTEM_LOG.
Here is the call graph for this function:| void OlympeAnimation::AnimationErrorHandler::LogMissingAnimation | ( | const std::string & | entityName, |
| const std::string & | graphPath, | ||
| const std::string & | stateName, | ||
| const std::string & | animName | ||
| ) |
Definition at line 15 of file AnimationErrorHandler.cpp.
References GetComponentTypeID_Static(), m_loggedErrors, and SYSTEM_LOG.
Here is the call graph for this function:| void OlympeAnimation::AnimationErrorHandler::LogMissingSpritesheet | ( | const std::string & | entityName, |
| const std::string & | spritesheetId, | ||
| const std::string & | animName | ||
| ) |
Definition at line 35 of file AnimationErrorHandler.cpp.
References GetComponentTypeID_Static(), m_loggedErrors, and SYSTEM_LOG.
Here is the call graph for this function:
|
privatedelete |
|
private |
Definition at line 60 of file AnimationErrorHandler.h.
Referenced by ClearCache(), LogError(), LogMissingAnimation(), and LogMissingSpritesheet().