![]() |
Olympe Engine 2.0
2D Game Engine with ECS Architecture
|
ValidationPanel - ImGui panel for validation error display Shows errors, warnings, and info messages from blueprint validation. More...
#include <ValidationPanel.h>
Collaboration diagram for Olympe::ValidationPanel:Public Member Functions | |
| ValidationPanel () | |
| ~ValidationPanel () | |
| void | Initialize () |
| void | Shutdown () |
| void | Render () |
| void | ValidateActiveGraph () |
| const std::vector< ValidationError > & | GetErrors () const |
| bool | HasErrors () const |
| bool | HasCriticalErrors () const |
Private Member Functions | |
| void | RenderErrorList () |
| void | RenderErrorSummary () |
| void | OnErrorClicked (const ValidationError &error) |
Private Attributes | |
| BlueprintValidator | m_Validator |
| std::vector< ValidationError > | m_Errors |
| bool | m_AutoValidate = true |
| float | m_LastValidationTime = 0.0f |
| int | m_SelectedErrorIndex = -1 |
ValidationPanel - ImGui panel for validation error display Shows errors, warnings, and info messages from blueprint validation.
Definition at line 19 of file ValidationPanel.h.
| Olympe::ValidationPanel::ValidationPanel | ( | ) |
Definition at line 14 of file ValidationPanel.cpp.
| Olympe::ValidationPanel::~ValidationPanel | ( | ) |
Definition at line 18 of file ValidationPanel.cpp.
|
inline |
Definition at line 33 of file ValidationPanel.h.
References m_Errors.
| bool Olympe::ValidationPanel::HasCriticalErrors | ( | ) | const |
Definition at line 99 of file ValidationPanel.cpp.
References Olympe::Critical, GetComponentTypeID_Static(), and m_Errors.
Here is the call graph for this function:| bool Olympe::ValidationPanel::HasErrors | ( | ) | const |
Definition at line 89 of file ValidationPanel.cpp.
References Olympe::Critical, Olympe::Error, GetComponentTypeID_Static(), and m_Errors.
Here is the call graph for this function:| void Olympe::ValidationPanel::Initialize | ( | ) |
Definition at line 22 of file ValidationPanel.cpp.
|
private |
Definition at line 209 of file ValidationPanel.cpp.
References GetComponentTypeID_Static().
Referenced by RenderErrorList().
Here is the call graph for this function:
Here is the caller graph for this function:| void Olympe::ValidationPanel::Render | ( | ) |
Definition at line 32 of file ValidationPanel.cpp.
References GetComponentTypeID_Static(), m_AutoValidate, m_LastValidationTime, RenderErrorList(), RenderErrorSummary(), and ValidateActiveGraph().
Here is the call graph for this function:
|
private |
Definition at line 149 of file ValidationPanel.cpp.
References GetComponentTypeID_Static(), m_Errors, m_SelectedErrorIndex, OnErrorClicked(), Olympe::BlueprintValidator::SeverityToColor(), and Olympe::BlueprintValidator::SeverityToString().
Referenced by Render().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 109 of file ValidationPanel.cpp.
References Olympe::Critical, Olympe::Error, GetComponentTypeID_Static(), Olympe::BlueprintValidator::GetErrorCount(), Olympe::Info, m_Errors, m_Validator, Olympe::BlueprintValidator::SeverityToColor(), and Olympe::Warning.
Referenced by Render().
Here is the call graph for this function:
Here is the caller graph for this function:| void Olympe::ValidationPanel::Shutdown | ( | ) |
Definition at line 27 of file ValidationPanel.cpp.
| void Olympe::ValidationPanel::ValidateActiveGraph | ( | ) |
Definition at line 71 of file ValidationPanel.cpp.
References Olympe::NodeGraphManager::Get(), Olympe::NodeGraphManager::GetActiveGraph(), GetComponentTypeID_Static(), m_Errors, m_Validator, and Olympe::BlueprintValidator::ValidateGraph().
Referenced by Render().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 49 of file ValidationPanel.h.
Referenced by Render().
|
private |
Definition at line 48 of file ValidationPanel.h.
Referenced by GetErrors(), HasCriticalErrors(), HasErrors(), RenderErrorList(), RenderErrorSummary(), and ValidateActiveGraph().
|
private |
Definition at line 50 of file ValidationPanel.h.
Referenced by Render().
|
private |
Definition at line 51 of file ValidationPanel.h.
Referenced by RenderErrorList().
|
private |
Definition at line 47 of file ValidationPanel.h.
Referenced by RenderErrorSummary(), and ValidateActiveGraph().