IComponentStatus.h
1 
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 
33 namespace Pt {
34 
35 namespace Cosmo {
36 
37 class 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
Core module.
Definition: Allocator.h:33
Enumerable interface.
Definition: IEnumerable.h:58
const IEnumerable< IDependencyInfo > & dependencies() const
Returns the dependency information for this component.
Definition: IComponentStatus.h:56
Component status interface.
Definition: IComponentStatus.h:47
virtual ~IComponentStatus()
Destructor.
Definition: IComponentStatus.h:51