IComponentStatus.h
1
26
27#ifndef COSMO_COMPONENT_STATUS_INTERFACE_H
28#define COSMO_COMPONENT_STATUS_INTERFACE_H
29
30#include <Pt/Cosmo/Api.h>
31#include <Pt/Cosmo/IEnumerable.h>
32
33namespace Pt {
34
35namespace Cosmo {
36
37class IDependencyInfo;
38
47{
48 public:
52 { }
53
57 {
58 return onGetDependencies();
59 }
60
61 protected:
62 virtual const IEnumerable<IDependencyInfo>& onGetDependencies() const = 0;
63};
64
65} // namespace Cosmo
66
67} // namespace Pt
68
69#endif
Component status interface.
Definition IComponentStatus.h:47
const IEnumerable< IDependencyInfo > & dependencies() const
Returns the dependency information for this component.
Definition IComponentStatus.h:56
virtual ~IComponentStatus()
Destructor.
Definition IComponentStatus.h:51
Dependency information.
Definition IDependencyInfo.h:47
Enumerable interface.
Definition IEnumerable.h:58
Cosmo Component Model.
Definition Api.h:53
Core module.
Definition Allocator.h:33