ADTF_DISPLAY_TOOLBOX  3.8.0 (ADTF 3.14.3)
viewer_intf.h
Go to the documentation of this file.
1 
7 #pragma once
8 
9 #include <adtf_ucom3.h>
10 
11 namespace osgViewer { class Viewer; }
12 
13 
14 namespace adtf
15 {
16 
17 namespace disptb
18 {
19 
20 namespace mixinlib
21 {
22 
23 namespace endor
24 {
25 
27 class IViewer : public adtf::ucom::ant::IObject
28 {
29 public:
31  ADTF_IID(IViewer, "viewer.endor.mixinlib.disptb.adtf.iid");
32 
37  virtual tVoid Lock() = 0;
38 
42  virtual tVoid Unlock() = 0;
43 
47  virtual tVoid MakeCurrent() = 0;
48 
54  virtual tUInt GetContextId() const = 0;
55 
59  virtual osgViewer::Viewer* GetOsgViewer() = 0;
60 };
62 }
63 
65 using endor::IViewer;
66 
67 } // mixinlib
68 
69 } // disptb
70 
71 } // adtf
Main namespace.