os/graphics/egl/egltest/endpointtestsuite/automated/tinc/egltest_endpoint_engine_execthread.h
Update contrib.
1 // Copyright (c) 2010 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.
16 #ifndef __EGLTEST_ENDPOINT_ENGINE_EXECTHREAD_H__
17 #define __EGLTEST_ENDPOINT_ENGINE_EXECTHREAD_H__
20 #include <e32msgqueue.h>
21 #include "egltest_surface.h"
22 #include "egltest_endpoint_engine.h"
23 #include "egltest_endpoint_images.h"
24 #include "egltest_commscommon.h"
25 #include "egltest_endpoint_util.h"
27 _LIT(KExecResultQueueName, "EGLEndpointExecTestEnvResultQueue");
28 _LIT(KExecParamsQueueName, "EGLEndpointExecTestEnvParamsQueue");
30 // For description of the work done as part of this class, see the
31 // egltest_endpoint_engine_execthread.cpp
32 NONSHARABLE_CLASS(CEgltest_Local_Engine_Exec): public CBase
35 CEgltest_Local_Engine_Exec();
36 virtual ~CEgltest_Local_Engine_Exec();
37 static TInt ThreadEntry(TAny *aDummy);
38 static CEgltest_Local_Engine_Exec* NewL();
39 CTestExecuteLogger &Logger() { return iLogger; }
40 void SetTestStepResult(TVerdict aVerdict);
41 TVerdict TestStepResult() const;
46 // This is the actual thread execution loop.
47 static void ThreadEntryL();
50 void SendResult(const TExecResult &aResult);
53 RMsgQueue<TExecResult> iResultOutQueue;
54 RMsgQueue<TRemoteTestParamsPacket> iParamsInQueue;
55 CSurface* iSurfaces[KMaxEndpoints];
56 TRequestStatus iStatus[KMaxEndpoints];
57 TUint32 iTimeStamp[KMaxEndpoints];
59 // iLogging: Log commands as they are processed in this thread.
61 // iLogger: Standard TEF logging object.
62 CTestExecuteLogger iLogger;
64 TBool iSurfaceTypeDisplayed;