Template Class Dependency¶
Defined in File component.h
Inheritance Relationships¶
Base Type¶
public Dependable(Class Dependable)
Class Documentation¶
-
template<class
ComponentType, boolisSoft>
classDependency: public Dependable¶ Depend on a component either softly (recoverable from dependency breakage) or harshly (cannot recover from breakage).
Public Functions
-
~Dependency()¶
-
ComponentType *
getComponent()¶
-
const ComponentType *
getComponent() const¶
-
ComponentID
getID() const¶ Get the ID of the component which is depended upon. This should not use the component object because it is nullptr when this is called.
-
bool
isValid() const¶ Return if the dependency has been evaluated properly.
-