#include <Component.h>
Public Member Functions | |
void | add (Component *childComponent) |
Component (void) | |
Component * | getComponent (string name) |
string | getName () |
Component * | getParentComponent () |
virtual void | initialize ()=0 |
virtual | ~Component (void) |
Public Attributes | |
return | parent |
Private Attributes | |
string | name |
Component * | parent |
vector< Component * > | subComponents |
Definition at line 8 of file Component.h.
Component::Component | ( | void | ) | [inline] |
Definition at line 16 of file Component.h.
virtual Component::~Component | ( | void | ) | [inline, virtual] |
Definition at line 20 of file Component.h.
void Component::add | ( | Component * | childComponent | ) | [inline] |
Definition at line 28 of file Component.h.
Component* Component::getComponent | ( | string | name | ) | [inline] |
Definition at line 38 of file Component.h.
string Component::getName | ( | ) | [inline] |
Definition at line 33 of file Component.h.
virtual void Component::initialize | ( | ) | [pure virtual] |
string Component::name [private] |
Definition at line 13 of file Component.h.
Component* Component::parent [private] |
Definition at line 12 of file Component.h.
return Component::parent |
Definition at line 26 of file Component.h.
vector<Component *> Component::subComponents [private] |
Definition at line 11 of file Component.h.