RType
Public Member Functions | Protected Attributes | List of all members
IComponentRType Class Referenceabstract

#include <IComponent.hpp>

Inheritance diagram for IComponentRType:
Inheritance graph
[legend]

Public Member Functions

virtual ~IComponentRType ()=default
 Construct a new IComponentRType object. More...
 
virtual char * getAttribute () const =0
 getAttribute, get the attribute More...
 
virtual void setAttribute (std::string attribute)=0
 setAttribute, set the attribute More...
 

Protected Attributes

char * _attribute
 

Detailed Description

Definition at line 11 of file IComponent.hpp.

Constructor & Destructor Documentation

◆ ~IComponentRType()

virtual IComponentRType::~IComponentRType ( )
virtualdefault

Construct a new IComponentRType object.

Member Function Documentation

◆ getAttribute()

virtual char* IComponentRType::getAttribute ( ) const
pure virtual

getAttribute, get the attribute

Returns
attribute (char *)

Implemented in Timer, Spawnable, Animatable, and Drawable.

◆ setAttribute()

virtual void IComponentRType::setAttribute ( std::string  attribute)
pure virtual

setAttribute, set the attribute

Parameters
attribute

Implemented in Timer, Spawnable, Animatable, and Drawable.

Member Data Documentation

◆ _attribute

char* IComponentRType::_attribute
protected

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