ILoggable.h
Go to the documentation of this file.
1 #ifndef ilog_ILoggable_included
2 #define ilog_ILoggable_included
3 
4 
6 
7 
8 namespace ilog
9 {
10 
11 
15 class ILoggable: virtual public istd::IPolymorphic
16 {
17 public:
21  virtual void SetLogPtr(IMessageConsumer* logPtr) = 0;
22 
26  virtual IMessageConsumer* GetLogPtr() const = 0;
27 
31  virtual void SetTracingEnabled(bool trace) = 0;
32 
36  virtual bool IsTracingEnabled() const = 0;
37 };
38 
39 
40 } // namespace ilog
41 
42 
43 #endif // !ilog_ILoggable_included
44 
45 
virtual void SetLogPtr(IMessageConsumer *logPtr)=0
Install log.
virtual bool IsTracingEnabled() const =0
Returns true if tracing enabled.
Base interface for all used interfaces and implementations.
Definition: IPolymorphic.h:17
Inteface for object, which support the.
Definition: ILoggable.h:15
virtual IMessageConsumer * GetLogPtr() const =0
Get log.
Common interface for a message container consuming information objects (messages).
virtual void SetTracingEnabled(bool trace)=0
Enable/disable tracing.

© 2007-2017 Witold Gantzke and Kirill Lepskiy