GA::kit v0.3
G&A's in-house C++ application framework
Loading...
Searching...
No Matches
ga::Component Class Reference

#include <component.h>

Inheritance diagram for ga::Component:
ga::Bounds ga::Image ga::Paragraph ga::Timeline ga::Tint ga::TouchZone

Public Member Functions

 Component ()=default
 
virtual ~Component ()=default
 
 Component (const Component &other)
 
Componentoperator= (const Component &other)
 
std::shared_ptr< NodegetNode () const
 

Protected Member Functions

virtual void update ()
 
virtual void draw ()
 
virtual void setNode (std::shared_ptr< Node > node)
 
virtual void setScene (std::shared_ptr< Scene > scene)
 

Protected Attributes

std::weak_ptr< Nodem_node
 

Friends

class Node
 

Constructor & Destructor Documentation

◆ Component() [1/2]

ga::Component::Component ( )
default

◆ ~Component()

virtual ga::Component::~Component ( )
virtualdefault

◆ Component() [2/2]

ga::Component::Component ( const Component other)
inline

Member Function Documentation

◆ draw()

virtual void ga::Component::draw ( )
inlineprotectedvirtual

Reimplemented in ga::Image, and ga::Paragraph.

◆ getNode()

std::shared_ptr< Node > ga::Component::getNode ( ) const
inline

◆ operator=()

Component & ga::Component::operator= ( const Component other)
inline

◆ setNode()

virtual void ga::Component::setNode ( std::shared_ptr< Node node)
inlineprotectedvirtual

Reimplemented in ga::Tint.

◆ setScene()

virtual void ga::Component::setScene ( std::shared_ptr< Scene scene)
inlineprotectedvirtual

Reimplemented in ga::TouchZone.

◆ update()

virtual void ga::Component::update ( )
inlineprotectedvirtual

Reimplemented in ga::Timeline.

Friends And Related Function Documentation

◆ Node

friend class Node
friend

Member Data Documentation

◆ m_node

std::weak_ptr<Node> ga::Component::m_node
protected

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