traceservices/tracefw/integ_test/ost/TEF/te_ostv2integsuite_common/src/te_ctor_disabled.cpp
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 31 Aug 2010 16:57:14 +0300
branchRCL_3
changeset 23 26645d81f48d
permissions -rw-r--r--
Revision: 201035 Kit: 201035

// Copyright (c) 2007-2010 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:
// Test class generating trace data from contructor with/without initialiser list.
// used in (logging) disabled mode.
//

#include "te_ctor.h"
#include "te_ctor_disabledTraces.h"

TTestCtor::TTestCtor( TUint32 aArg1, TUint32 aArg2 )
:
    iNum1( aArg1 ),
    iNum2( aArg2 ),
    iStr( KTestCtorString )
    {
    OstTraceFunctionEntryExt( CTESTCTOR_INITLIST_TRACE, KData1 );
    }

TTestCtor::TTestCtor( TUint32 aArg1 )
    {
    iNum1 =  aArg1;
    iNum2 = 0;
    iStr = KTestCtorString;

    OstTraceFunctionEntryExt( CTESTCTOR_NO_INITLIST_TRACE, KData1 );
    }