Gorgon Game Engine
IScalableObjectProvider Class Referenceabstract

For ease of use in resource system. More...

Inheritance diagram for IScalableObjectProvider:
[legend]

Public Member Functions

virtual RectangularAnimationCreateBase () const =0
 
virtual SizeController GetController () const =0
 
virtual IScalableObjectProviderMoveOutProvider () override=0
 This function moves this animation provider into a new provider. More...
 
virtual void SetController (const SizeController &value)=0
 
- Public Member Functions inherited from RectangularAnimationProvider
virtual RectangularAnimationCreateAnimation (bool create=true) const override=0
 This function should create and animation and depending on the create parameter, it should create its own timer. More...
 
virtual RectangularAnimationCreateAnimation (Gorgon::Animation::ControllerBase &timer) const override=0
 This function should create a new animation with the given controller and if owner parameter is set to true, it should assume ownership of the controller. More...
 
int GetHeight () const
 
virtual Geometry::Size GetSize () const =0
 
int GetWidth () const
 
- Public Member Functions inherited from AnimationProvider
virtual ~AnimationProvider ()
 
- Public Member Functions inherited from Provider
virtual ~Provider ()
 Virtual destructor. More...
 

Additional Inherited Members

- Public Types inherited from RectangularAnimationProvider
using AnimationType = RectangularAnimation
 
- Public Types inherited from AnimationProvider
using AnimationType = Animation
 
- Public Types inherited from Provider
using AnimationType = Base
 

Detailed Description

For ease of use in resource system.

Member Function Documentation

◆ CreateBase()

virtual RectangularAnimation& CreateBase ( ) const
pure virtual

Implemented in ScalableObject.

◆ GetController()

virtual SizeController GetController ( ) const
pure virtual

Implemented in ScalableObject.

◆ MoveOutProvider()

virtual IScalableObjectProvider& MoveOutProvider ( )
overridepure virtual

This function moves this animation provider into a new provider.

Ownership of this new object belongs to the caller and this object could be destroyed safely.

Implements RectangularAnimationProvider.

Implemented in ScalableObject.

◆ SetController()

virtual void SetController ( const SizeController value)
pure virtual

Implemented in ScalableObject.


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