1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
21 #ifndef __SS_FACTORYCONTAINERMAP_H__
22 #define __SS_FACTORYCONTAINERMAP_H__
24 #include <comms-infras/ss_common.h>
29 NONSHARABLE_CLASS(RPlaneFCMap)
33 TInt AddPlaneFC(const Den::TPlayerRole& aPlane, const Messages::TNodeId& aFC);
34 Messages::TNodeId GetPlaneFC(const Den::TPlayerRole& aPlane);
35 void DropFCOfPeer(const Den::TPlayerRole& aPlane, CommsFW::TWorkerId aPeerWorker);
41 static TInt Cmp(const TPlaneFCEntry& aLHS, const TPlaneFCEntry& aRHS);
43 Den::TPlayerRole iPlane; //< OR'ing together not valid; each FC concerns a single plane
44 Messages::TNodeId iFC; //< Factory Container cookie
47 typedef RArray<TPlaneFCEntry> TPlaneFCMap;
53 #endif // __SS_FACTORYCONTAINERMAP_H__