Divide Framework 0.1
A free and open-source 3D Framework under heavy development
Loading...
Searching...
No Matches
Divide::SelectionSystem Class Referencefinal

#include <SelectionSystem.h>

+ Inheritance diagram for Divide::SelectionSystem:

Public Member Functions

 SelectionSystem (ECS::ECSEngine &parentEngine, PlatformContext &context)
 
virtual ~SelectionSystem () override
 
void Update (F32 dt) override
 
bool saveCache (const SceneGraphNode *sgn, ByteBuffer &outputBuffer) override
 
bool loadCache (SceneGraphNode *sgn, ByteBuffer &inputBuffer) override
 
- Public Member Functions inherited from Divide::PlatformContextComponent
 PlatformContextComponent (PlatformContext &context) noexcept
 
virtual ~PlatformContextComponent ()=default
 
PlatformContextcontext () noexcept
 
const PlatformContextcontext () const noexcept
 
- Public Member Functions inherited from Divide::NonCopyable
 NonCopyable (const NonCopyable &)=delete
 
NonCopyableoperator= (const NonCopyable &)=delete
 
 NonCopyable (NonCopyable &&)=default
 
NonCopyableoperator= (NonCopyable &&)=default
 
- Public Member Functions inherited from Divide::ECSSystem< SelectionSystem, SelectionComponent >
 ECSSystem (ECS::ECSEngine &engine)
 
virtual ~ECSSystem () override=default
 
virtual bool saveCache (const SceneGraphNode *sgn, ByteBuffer &outputBuffer)
 
virtual bool loadCache (SceneGraphNode *sgn, ByteBuffer &inputBuffer)
 
void PreUpdate (F32 dt) override
 
void Update (F32 dt) override
 
void PostUpdate (F32 dt) override
 
void OnFrameStart () override
 
void OnFrameEnd () override
 
ECS::ISystemSerializerGetSerializer () noexcept override
 
const ECS::ISystemSerializerGetSerializer () const noexcept override
 
- Public Member Functions inherited from ECS::System< T >
virtual ~System () override
 
virtual SystemTypeId GetStaticSystemTypeID () const override
 
virtual const char * GetSystemTypeName () const override
 
template<class... Dependencies>
void AddDependencies (Dependencies &&... dependencies)
 
virtual void PreUpdate (f32 dt) override
 
virtual void Update (f32 dt) override
 
virtual void PostUpdate (f32 dt) override
 
virtual void OnFrameStart () override
 
virtual void OnFrameEnd () override
 
- Public Member Functions inherited from ECS::ISystem
virtual ~ISystem ()
 
virtual SystemTypeId GetStaticSystemTypeID () const =0
 
virtual const char * GetSystemTypeName () const =0
 
virtual void PreUpdate (f32 dt)=0
 
virtual void Update (f32 dt)=0
 
virtual void PostUpdate (f32 dt)=0
 
virtual void OnFrameStart ()=0
 
virtual void OnFrameEnd ()=0
 
virtual ISystemSerializerGetSerializer ()=0
 
virtual const ISystemSerializerGetSerializer () const =0
 

Private Types

using Parent = ECSSystem< SelectionSystem, SelectionComponent >
 

Additional Inherited Members

- Static Public Attributes inherited from ECS::System< T >
static const SystemTypeId STATIC_SYSTEM_TYPE_ID = util::Internal::FamilyTypeID<ISystem>::Get<T>()
 
- Protected Member Functions inherited from Divide::NonCopyable
 NonCopyable ()=default
 
 ~NonCopyable ()=default
 
- Protected Member Functions inherited from ECS::System< T >
 System ()
 
- Protected Member Functions inherited from ECS::ISystem
 ISystem (SystemPriority priority=NORMAL_SYSTEM_PRIORITY, f32 updateInterval_ms=-1.0f)
 
- Protected Attributes inherited from Divide::PlatformContextComponent
PlatformContext_context
 
- Protected Attributes inherited from Divide::ECSSystem< SelectionSystem, SelectionComponent >
ECS::ECSEngine_engine
 
ECSSerializer< SelectionSystem, SelectionComponent_serializer
 
vector< SelectionComponent * > _componentCache
 

Detailed Description

Definition at line 43 of file SelectionSystem.h.

Member Typedef Documentation

◆ Parent

Constructor & Destructor Documentation

◆ SelectionSystem()

Divide::SelectionSystem::SelectionSystem ( ECS::ECSEngine parentEngine,
PlatformContext context 
)

Definition at line 8 of file SelectionSystem.cpp.

◆ ~SelectionSystem()

Divide::SelectionSystem::~SelectionSystem ( )
overridevirtual

Definition at line 14 of file SelectionSystem.cpp.

Member Function Documentation

◆ loadCache()

bool Divide::SelectionSystem::loadCache ( SceneGraphNode sgn,
ByteBuffer inputBuffer 
)
overridevirtual

Reimplemented from Divide::ECSSystem< SelectionSystem, SelectionComponent >.

Definition at line 72 of file SelectionSystem.cpp.

◆ saveCache()

bool Divide::SelectionSystem::saveCache ( const SceneGraphNode sgn,
ByteBuffer outputBuffer 
)
overridevirtual

Reimplemented from Divide::ECSSystem< SelectionSystem, SelectionComponent >.

Definition at line 56 of file SelectionSystem.cpp.

◆ Update()

void Divide::SelectionSystem::Update ( F32  dt)
override

Definition at line 18 of file SelectionSystem.cpp.


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