StarEngine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
star::BaseComponent Class Referenceabstract

#include <BaseComponent.h>

Inheritance diagram for star::BaseComponent:
Inheritance graph
Collaboration diagram for star::BaseComponent:
Collaboration graph

Public Member Functions

 BaseComponent (void)
 
 BaseComponent (Object *parent)
 
virtual ~BaseComponent (void)
 
void Initialize ()
 
virtual void Update (const Context &context)=0
 
virtual void Draw ()=0
 
bool IsInitialized () const
 
ObjectGetParent () const
 
void SetParent (Object *parent)
 
BaseSceneGetGameScene () const
 
TransformComponentGetTransform () const
 

Protected Member Functions

virtual void InitializeComponent ()=0
 

Protected Attributes

Objectm_pParentObject
 
bool m_bInitialized
 

Constructor & Destructor Documentation

star::BaseComponent::BaseComponent ( void  )
star::BaseComponent::BaseComponent ( Object parent)
star::BaseComponent::~BaseComponent ( void  )
virtual

Member Function Documentation

virtual void star::BaseComponent::Draw ( )
pure virtual
BaseScene * star::BaseComponent::GetGameScene ( ) const
Object * star::BaseComponent::GetParent ( ) const
TransformComponent * star::BaseComponent::GetTransform ( ) const
void star::BaseComponent::Initialize ( )
virtual void star::BaseComponent::InitializeComponent ( )
protectedpure virtual
bool star::BaseComponent::IsInitialized ( ) const
void star::BaseComponent::SetParent ( Object parent)
virtual void star::BaseComponent::Update ( const Context context)
pure virtual

Member Data Documentation

bool star::BaseComponent::m_bInitialized
protected
Object* star::BaseComponent::m_pParentObject
protected

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