 |
NAVTOR SDK
v.3.0
Software Development Kit for fast and efficient development of ECDIS, ECS and generic marine applications
|
|
1 #ifndef SDK_GL2D_THREAD_INTERFACE_H_
11 #define SDK_GL2D_THREAD_INTERFACE_H_
16 #include <base/inc/sdk_component_base.h>
18 #include <visualizationlayer/inc/vis_const.h>
20 SDK_GL2D_BEGIN_NAMESPACE
27 enum GL2DTaskPropertyIDs
33 enum GL2DThreadPropertyIDs
45 virtual void SDK_CALLTYPE
PerformTask()
throw() = 0;
102 virtual bool SDK_CALLTYPE
AddTask(
const IGL2DTaskSP& task)
throw() = 0;
119 SDK_GL2D_END_NAMESPACE
121 #endif // SDK_GL2D_THREAD_INTERFACE_H_
Generic GL2D thread to perform OpenGL calls (GL2D tasks) DO NOT call ANY of GL2D object methods from ...
Definition: gl2d_thread_interface.h:93
virtual bool SDK_CALLTYPE SupportsSpawnByTask() const =0
Task can be spawned by other task In general running GL2D tasks can't spawn any of other GL2D tasks,...
Object generic properties interface.
virtual bool SDK_CALLTYPE AddTask(const IGL2DTaskSP &task)=0
Adds new task to perform in given thread Thread should call for IGL2DTask::PerformTask of given task ...
virtual void SDK_CALLTYPE OnDrawingCycleFinished()=0
Notifies given thread that current drawing cycle is finished. Called by IGL2DCanvas::FinishDraw metho...
Generic GL2D task.
Definition: gl2d_thread_interface.h:39
virtual void SDK_CALLTYPE PerformTask()=0
Performs given task by appropriate GL2D/External OpenGL thread THIS CALL SHOULD BE PERFORMED ONLY BY ...
virtual void SDK_CALLTYPE WaitAllTasksFinished()=0
Waits till all of tasks, added to given thread so far will not be finished THIS CALL CAN BE PERFORMED...
FWD_DECL_INTERFACE(ILWEParserWrapper)
Provides a wrapper around the message parser to get, add or remove the.