equal
deleted
inserted
replaced
|
1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 #ifndef SIMPLELOGEVENT_H |
|
17 #define SIMPLELOGEVENT_H |
|
18 |
|
19 #include <string> |
|
20 #include "traceeventbase.h" |
|
21 |
|
22 class CSimpleLogEvent : public CTraceEventBase |
|
23 { |
|
24 friend class CTraceEventFactory; |
|
25 |
|
26 protected: |
|
27 explicit CSimpleLogEvent(const CUTraceFrame& aFrame, MEventOutputHandler& aOutputHandler); |
|
28 explicit CSimpleLogEvent(const CMultiPartFrameCollection& aFrameCollection, MEventOutputHandler& aOutputHandler); |
|
29 explicit CSimpleLogEvent(const std::string& aPrefix, const CUTraceFrame& aFrame, MEventOutputHandler& aOutputHandler); |
|
30 explicit CSimpleLogEvent(const std::string& aPrefix, const CMultiPartFrameCollection& aFrameCollection, MEventOutputHandler& aOutputHandler); |
|
31 |
|
32 public: |
|
33 virtual void Describe(std::ostream& aOutput) const; |
|
34 void DescribeText(std::ostream& aOutput) const; |
|
35 void DescribeBinary(std::ostream& aOutput) const; |
|
36 }; |
|
37 |
|
38 |
|
39 #endif |
|
40 // SIMPLELOGEVENT_H |
|
41 |