CEnableableParamComp.h
Go to the documentation of this file.
1 #ifndef iprm_CEnableableParamComp_included
2 #define iprm_CEnableableParamComp_included
3 
4 
5 // ACF includes
6 #include <icomp/CComponentBase.h>
7 
9 
10 
11 namespace iprm
12 {
13 
14 
16  public icomp::CComponentBase,
18 {
19 public:
21 
22  I_BEGIN_COMPONENT(CEnableableParamComp);
23  I_REGISTER_INTERFACE(iprm::IEnableableParam);
24  I_REGISTER_INTERFACE(iser::ISerializable);
25  I_REGISTER_INTERFACE(istd::IChangeable);
26  I_ASSIGN(m_defaultIsEnabledAttrPtr, "DefaultEnabled", "Default value", true, false);
27  I_END_COMPONENT;
28 
29 protected:
30  // reimplemented (icomp::CComponentBase)
31  virtual void OnComponentCreated();
32 
33 private:
34  I_ATTR(bool, m_defaultIsEnabledAttrPtr);
35 };
36 
37 
38 } // namespace iprm
39 
40 
41 #endif // !iprm_CEnableableParamComp_included
42 
43 
Base class for component implementation.
Common class for all classes which objects can be archived or restored from archive.
Definition: ISerializable.h:23
Basic implementation of IEnableableParam interface.
Common interface for data model objects, which can be changed.
Definition: IChangeable.h:24
Interface for objects which can be enabled/disabled.
icomp::CComponentBase BaseClass
virtual void OnComponentCreated()

© 2007-2017 Witold Gantzke and Kirill Lepskiy