memana/analyzetoolclient/dynamicmemoryhook/inc/analyzetoolmainallocator.inl
author Matti Laitinen <matti.t.laitinen@nokia.com>
Thu, 11 Feb 2010 15:51:35 +0200
changeset 0 f0f2b8682603
permissions -rw-r--r--
Add initial version of AnalyzeTool client under EPL

/*
* 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