IEnableableSupplier.h
Go to the documentation of this file.
1 #ifndef iinsp_IEnableableSupplier_included
2 #define iinsp_IEnableableSupplier_included
3 
4 
5 // ACF includes
6 #include <iinsp/ISupplier.h>
7 
8 
9 namespace iinsp
10 {
11 
12 
16 class IEnableableSupplier: virtual public ISupplier
17 {
18 public:
23  {
28  };
29 
35  virtual bool SetSupplierEnabled(bool isEnabled = true) = 0;
36 
40  virtual bool IsSupplierEnabled() const = 0;
41 
45  virtual bool IsStateFixed() const = 0;
46 };
47 
48 
49 } // namespace iinsp
50 
51 
52 #endif // !iinsp_IEnableableSupplier_included
53 
54 
virtual bool SetSupplierEnabled(bool isEnabled=true)=0
Set supplier's activation state.
ChangeFlags
Data model change notification flags.
virtual bool IsStateFixed() const =0
Get true if the state of the supplier is fixed and cannot be changed.
Supplier's activation state was changed.
virtual bool IsSupplierEnabled() const =0
Get activation state of the supplier.
Extension of ISupplier interface with possiblity to activate/deactivate supplier's producing logic...
Base interface for suppliers providing calculating of objects on demand ("pull data" model)...
Definition: ISupplier.h:22

© 2007-2017 Witold Gantzke and Kirill Lepskiy