00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef INC_SML_VECTOROBJECT_H
00019 #define INC_SML_VECTOROBJECT_H
00020
00021 #ifndef INC_SML_OBJECT_H
00022 #include <sml/object.h>
00023 #endif
00024
00025 #ifdef RVCSYSDLL
00026 #define RVCSYSLIBEXPORT MI_DLLEXPORT
00027 #define RVCSYSLIBCLASSEXPORT MI_DLLCLASSEXPORT
00028 #else
00029 #define RVCSYSLIBEXPORT MI_DLLIMPORT
00030 #define RVCSYSLIBCLASSEXPORT MI_DLLCLASSIMPORT
00031 #endif
00032
00033
00034 #ifndef GENERATING_DOXYGEN_OUTPUT
00035 namespace RVC {
00036 class VECTOR;
00037 class VECTORHANDLE;
00038 class VECTORTOOLKIT;
00039 }
00040 #endif
00041
00042 namespace SML {
00043
00044
00045
00046
00047
00048 class RVCSYSLIBCLASSEXPORT VECTOROBJECT : public OBJECT {
00049 public:
00056 RVC::VECTOR* GetInterface (
00057 ) const;
00058
00059 UINT32 GetToolkitFlags (
00060 ) const;
00061
00062 RVC::VECTORTOOLKIT* GetToolkitHandle (
00063 );
00064
00071 void SetInterface (
00072 RVC::VECTOR* obj
00073 );
00074
00075 void SetToolkitHandle (
00076 RVC::VECTORTOOLKIT* vtk
00077 );
00078
00079 void SetToolkitFlags (
00080 UINT32 flags
00081 );
00082
00085 ERRVALUE GetHandle (
00086 RVC::VECTORHANDLE*& handle
00087 );
00088
00089 private:
00090 #ifndef GENERATING_DOXYGEN_OUTPUT
00092 VECTOROBJECT (
00093 CONTEXT* context
00094 );
00095
00097 virtual ~VECTOROBJECT (
00098 );
00099
00100 virtual int v_OpenLow (
00101 int mode
00102 );
00103
00104 virtual void v_CloseLow (
00105 );
00106
00107 virtual RVC::OBJTYPE v_GetObjType (
00108 ) const;
00109
00110 RVC::VECTORTOOLKIT* m_vtk;
00111 RVC::VECTORHANDLE* m_handle;
00112 UINT32 m_CurrentFlags;
00113
00114 friend class CONTEXT;
00115 friend class OBJECT;
00116 #endif // GENERATING_DOXYGEN_OUTPUT
00117 };
00118
00119 }
00120
00121 typedef SML::VECTOROBJECT SMLVECTOROBJECT;
00122
00123 #undef RVCSYSLIBEXPORT
00124 #undef RVCSYSLIBCLASSEXPORT
00125
00126 #endif // INC_SML_VECTOROBJECT_H
00127
00128