Ember
Loading...
Searching...
No Matches
IScene Class Referenceabstract

Interface for scene-based UI components (e.g., views or screens). More...

#include <IScene.h>

Inheritance diagram for IScene:
BehaviorTreeScene BlackboardScene

Public Member Functions

virtual ~IScene ()=default
virtual wxPanel * GetPanel ()=0
 Returns the wxPanel used as the scene content.
virtual wxString GetTitle () const =0
 Returns the display title of the scene.
virtual wxString GetSceneType () const =0
 Returns the scene type identifier.
virtual void OnActivated ()
 Called when the scene becomes active.
virtual void OnDeactivated ()
 Called when the scene becomes inactive.
virtual void Refresh ()
 Refreshes the scene content.
virtual bool HasUnsavedChanges () const
 Returns true if the scene has unsaved changes.
virtual bool Save ()
 Saves the scene content; returns true on success.
virtual bool IsClosable () const
 Returns true if the scene can be closed.

Detailed Description

Interface for scene-based UI components (e.g., views or screens).

Definition at line 7 of file IScene.h.

Constructor & Destructor Documentation

◆ ~IScene()

virtual IScene::~IScene ( )
virtualdefault

Member Function Documentation

◆ GetPanel()

virtual wxPanel * IScene::GetPanel ( )
pure virtual

Returns the wxPanel used as the scene content.

Implemented in BehaviorTreeScene, and BlackboardScene.

◆ GetSceneType()

virtual wxString IScene::GetSceneType ( ) const
pure virtual

Returns the scene type identifier.

Implemented in BehaviorTreeScene, and BlackboardScene.

◆ GetTitle()

virtual wxString IScene::GetTitle ( ) const
pure virtual

Returns the display title of the scene.

Implemented in BehaviorTreeScene, and BlackboardScene.

◆ HasUnsavedChanges()

virtual bool IScene::HasUnsavedChanges ( ) const
inlinevirtual

Returns true if the scene has unsaved changes.

Reimplemented in BehaviorTreeScene.

Definition at line 26 of file IScene.h.

◆ IsClosable()

virtual bool IScene::IsClosable ( ) const
inlinevirtual

Returns true if the scene can be closed.

Reimplemented in BlackboardScene.

Definition at line 30 of file IScene.h.

◆ OnActivated()

virtual void IScene::OnActivated ( )
inlinevirtual

Called when the scene becomes active.

Reimplemented in BehaviorTreeScene.

Definition at line 19 of file IScene.h.

◆ OnDeactivated()

virtual void IScene::OnDeactivated ( )
inlinevirtual

Called when the scene becomes inactive.

Reimplemented in BehaviorTreeScene.

Definition at line 21 of file IScene.h.

◆ Refresh()

virtual void IScene::Refresh ( )
inlinevirtual

Refreshes the scene content.

Reimplemented in BehaviorTreeScene.

Definition at line 23 of file IScene.h.

◆ Save()

virtual bool IScene::Save ( )
inlinevirtual

Saves the scene content; returns true on success.

Reimplemented in BehaviorTreeScene.

Definition at line 28 of file IScene.h.


The documentation for this class was generated from the following file: