1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/mm/devsound/a3ftrace/inc/a3f_trace_heap.h Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,56 @@
1.4 +/*
1.5 +* Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
1.6 +* All rights reserved.
1.7 +* This component and the accompanying materials are made available
1.8 +* under the terms of "Eclipse Public License v1.0"
1.9 +* which accompanies this distribution, and is available
1.10 +* at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.11 +*
1.12 +* Initial Contributors:
1.13 +* Nokia Corporation - initial contribution.
1.14 +*
1.15 +* Contributors:
1.16 +*
1.17 +* Description:
1.18 +*
1.19 +*/
1.20 +
1.21 +
1.22 +
1.23 +
1.24 +/**
1.25 + @file
1.26 + @internalTechnology
1.27 +*/
1.28 +
1.29 +#ifndef _A3F_TRACE_HEAP_H_
1.30 +#define _A3F_TRACE_HEAP_H_
1.31 +
1.32 +
1.33 +/**
1.34 +* TraceHeap is a container holding the bitmask that defines active trace groups
1.35 +* This class is used to hold the debug mask of the inspected process
1.36 +*/
1.37 +class TraceHeap
1.38 + {
1.39 + public:
1.40 + IMPORT_C static void CreateL(const TUint aDefaultMask=0);
1.41 + IMPORT_C static TUint32 TraceMask();
1.42 + IMPORT_C static void SetTraceMask( const TUint32 aTraceMask );
1.43 + IMPORT_C static TBool IsMaskOn( const TUint32 aMask );
1.44 + IMPORT_C static void SetLevel( const TUint32 aDbgLevel );
1.45 + IMPORT_C static TBool IsBelowLevel( const TUint32 aLevel );
1.46 + IMPORT_C static TUint32 TraceLevel();
1.47 + IMPORT_C static TBool IsApiOnly();
1.48 + IMPORT_C static void SetApiOnly( const TBool aApiOnly);
1.49 +
1.50 + private:
1.51 + static TUint32* iTraceMask;
1.52 + static TUint32* iTraceLevel;
1.53 + static TBool* iApiOnly;
1.54 + static RHeap* iTraceHeap;
1.55 + };
1.56 +
1.57 +#endif // _A3F_TRACE_HEAP_H_
1.58 +
1.59 +// End of File