commsfwtools/commstools/utracedecoder/inc/logevents/simplelogevent.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 19 Aug 2010 11:05:47 +0300
branchRCL_3
changeset 24 00c6709d25aa
parent 0 dfb7c4ff071f
permissions -rw-r--r--
Revision: 201033 Kit: 201033

// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
//
// Contributors:
//
// Description:
//

#ifndef SIMPLELOGEVENT_H
#define SIMPLELOGEVENT_H

#include <string>
#include "traceeventbase.h"

class CSimpleLogEvent : public CTraceEventBase
    {
    friend class CTraceEventFactory;

    protected:
        explicit CSimpleLogEvent(const CUTraceFrame& aFrame, MEventOutputHandler& aOutputHandler);
        explicit CSimpleLogEvent(const CMultiPartFrameCollection& aFrameCollection, MEventOutputHandler& aOutputHandler);
        explicit CSimpleLogEvent(const std::string& aPrefix, const CUTraceFrame& aFrame, MEventOutputHandler& aOutputHandler);
        explicit CSimpleLogEvent(const std::string& aPrefix, const CMultiPartFrameCollection& aFrameCollection, MEventOutputHandler& aOutputHandler);

    public:
        virtual void Describe(std::ostream& aOutput) const;
        void DescribeText(std::ostream& aOutput) const;
        void DescribeBinary(std::ostream& aOutput) const;
    };


#endif
// SIMPLELOGEVENT_H