![]() |
Ember
|
Abstract interface for different scene types in the MainPanel. More...
#include <IScene.h>
Public Member Functions | |
| virtual | ~IScene ()=default |
| virtual wxPanel * | GetPanel ()=0 |
| Get the main panel widget for this scene. | |
| virtual wxString | GetTitle () const =0 |
| Get the display title for this scene. | |
| virtual wxString | GetSceneType () const =0 |
| Get a unique identifier for this scene type. | |
| virtual void | OnActivated () |
| Called when this scene becomes the active tab. | |
| virtual void | OnDeactivated () |
| Called when this scene is no longer the active tab. | |
| virtual void | Refresh () |
| Called when the scene should refresh its display. | |
| virtual bool | HasUnsavedChanges () const |
| Check if this scene has unsaved changes. | |
| virtual bool | Save () |
| Save the scene (if applicable) | |
Abstract interface for different scene types in the MainPanel.
This interface allows MainPanel to manage different types of visualizations (behavior trees, state machines, 2D worlds, etc.) without being tightly coupled to any specific implementation.
|
virtualdefault |
|
pure virtual |
Get the main panel widget for this scene.
Implemented in BehaviorTreeScene.
|
pure virtual |
Get a unique identifier for this scene type.
Implemented in BehaviorTreeScene.
|
pure virtual |
Get the display title for this scene.
Implemented in BehaviorTreeScene.
|
inlinevirtual |
Check if this scene has unsaved changes.
Reimplemented in BehaviorTreeScene.
|
inlinevirtual |
Called when this scene becomes the active tab.
Reimplemented in BehaviorTreeScene.
|
inlinevirtual |
Called when this scene is no longer the active tab.
Reimplemented in BehaviorTreeScene.
|
inlinevirtual |
Called when the scene should refresh its display.
Reimplemented in BehaviorTreeScene.
|
inlinevirtual |
Save the scene (if applicable)
Reimplemented in BehaviorTreeScene.