analyzetool/dynamicmemoryhook/inc/analyzetoolmainallocator.inl
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Wed, 13 Oct 2010 16:17:58 +0300
branchRCL_3
changeset 59 8ad140f3dd41
parent 49 7fdc9a71d314
permissions -rw-r--r--
Revision: 201039 Kit: 201041

/*
* Copyright (c) 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:  Definition for the inline functions of RAnalyzeToolMainAllocator.
*
*/


#include "analyzetoolmemoryallocator.h"

// -----------------------------------------------------------------------------
// RAnalyzeToolMainAllocator::StorageServer()
// Acquires reference to open RATStorageServer
// -----------------------------------------------------------------------------
//
inline RATStorageServer& RAnalyzeToolMainAllocator::StorageServer()
    {
    return iStorageServer;
    }
  
// -----------------------------------------------------------------------------
// RAnalyzeToolMainAllocator::Codeblocks()
// Acquires reference to process used codeblocks
// -----------------------------------------------------------------------------
//  
inline RArray<TCodeblock>& RAnalyzeToolMainAllocator::Codeblocks()
    {
    return iCodeblocks;
    }

// -----------------------------------------------------------------------------
// RAnalyzeToolMainAllocator::Mutex()
// Acquires reference to mutex which is used to share resources
// -----------------------------------------------------------------------------
//  
inline RMutex& RAnalyzeToolMainAllocator::Mutex()
    {
    return iMutex;
    }

// -----------------------------------------------------------------------------
// RAnalyzeToolMainAllocator::ProcessId()
// Acquires the process id
// -----------------------------------------------------------------------------
//
inline TInt RAnalyzeToolMainAllocator::ProcessId()
    {
    return iProcessId;
    }

// -----------------------------------------------------------------------------
// RAnalyzeToolMainAllocator::AnalyzeTool()
// Acquires the logical channel handle
// -----------------------------------------------------------------------------
//
inline RAnalyzeTool& RAnalyzeToolMainAllocator::AnalyzeTool()
    {
    return iAnalyzeTool;
    }

// -----------------------------------------------------------------------------
// RAnalyzeToolMainAllocator::StorageServerOpen()
// Acquires the iStorageServerOpen variable
// -----------------------------------------------------------------------------
//
inline TBool RAnalyzeToolMainAllocator::StorageServerOpen()
    {
    return iStorageServerOpen;
    }

// -----------------------------------------------------------------------------
// RAnalyzeToolMainAllocator::LogOption()
// Acquires the iLogOption variable
// -----------------------------------------------------------------------------
//
inline TUint32 RAnalyzeToolMainAllocator::LogOption()
    {
    return iLogOption;
    }

// -----------------------------------------------------------------------------
// RAnalyzeToolMainAllocator::AllocMaxCallStack()
// Acquires the iAllocMaxCallStack variable
// -----------------------------------------------------------------------------
//
inline TUint32 RAnalyzeToolMainAllocator::AllocMaxCallStack()
    {
    return iAllocMaxCallStack;
    }
// -----------------------------------------------------------------------------
// RAnalyzeToolMainAllocator::FreeMaxCallStack()
// Acquires the iFreeMaxCallStack variable
// -----------------------------------------------------------------------------
//
inline TUint32 RAnalyzeToolMainAllocator::FreeMaxCallStack()
    {
    return iFreeMaxCallStack;
    }
// End of File