CTimeStampCacheComp.h
Go to the documentation of this file.
1 #ifndef iwin_CTimeStampCacheComp_included
2 #define iwin_CTimeStampCacheComp_included
3 
4 
5 // ACF includes
6 #include "icomp/CComponentBase.h"
7 
8 // ACF-Solutions includes
10 
11 // IACF includes
13 
14 
15 namespace iwin
16 {
17 
18 
25  public icomp::CComponentBase,
26  virtual public iinsp::ITimeStampProvider
27 {
28 public:
30 
31  I_BEGIN_COMPONENT(CTimeStampCacheComp);
32  I_REGISTER_INTERFACE(iinsp::ITimeStampProvider);
33  I_END_COMPONENT;
34 
35  // reimplemented (iinsp::ITimeStampProvider)
36  virtual const istd::ITimeStamp* GetCurrentTimeStamp() const;
37 
38  // reimplemented (istd::IChangeable)
39  virtual bool CopyFrom(const IChangeable& object, CompatibilityMode mode = CM_WITHOUT_REFS);
40 
41 private:
42  bool m_isTimerValid;
44 };
45 
46 
47 } // namespace iwin
48 
49 
50 #endif // !iwin_CTimeStampCacheComp_included
51 
52 
virtual const istd::ITimeStamp * GetCurrentTimeStamp() const
virtual bool CopyFrom(const IChangeable &object, CompatibilityMode mode=CM_WITHOUT_REFS)
High perfomance time stamp implementation.
Time stamp provider returning always stored time stamp.
icomp::CComponentBase BaseClass

© 2007-2011 Witold Gantzke and Kirill Lepskiy