00001
00017
00018
00019 #if (_MSC_VER > 1000) || defined(SGI_COMPILER)
00020 #pragma once
00021 #endif
00022
00023 #ifndef __XSI_VIEWNOTIF_H__
00024 #define __XSI_VIEWNOTIF_H__
00025
00026 #include "sicppsdk.h"
00027 #include "xsi_status.h"
00028 #include "xsi_ref.h"
00029 #include "xsi_string.h"
00030 #include "xsi_longarray.h"
00031 #include "xsi_value.h"
00032
00033 namespace XSI {
00034
00035
00044
00045 class SICPPSDKDECL CSelectionChangeNotification
00046 {
00047 public:
00048
00050 CSelectionChangeNotification();
00051
00053 ~CSelectionChangeNotification();
00054
00058 const CRefArray& GetSelectionList() const;
00059
00060 private:
00061
00062 CSelectionChangeNotification (const CSelectionChangeNotification &);
00063 CSelectionChangeNotification * operator&() const;
00064 CSelectionChangeNotification * operator&();
00065
00066 void* m_pImpl;
00067
00068 };
00069
00070
00078
00079 class SICPPSDKDECL CValueChangeNotification
00080 {
00081 public:
00082
00084 CValueChangeNotification();
00085
00087 ~CValueChangeNotification();
00088
00092 const CRef& GetOwner() const;
00093
00097 const CString& GetComponentName() const;
00098
00099 private:
00100
00101 CValueChangeNotification (const CValueChangeNotification &);
00102 CValueChangeNotification * operator&() const;
00103 CValueChangeNotification * operator&();
00104
00105 void* m_pImpl;
00106 };
00107
00108
00113
00114 class SICPPSDKDECL CTimeChangeNotification
00115 {
00116 public:
00117
00119 CTimeChangeNotification();
00120
00122 ~CTimeChangeNotification();
00123
00127 const double GetTime() const;
00128
00133 const LONG GetState() const;
00134
00135 private:
00136
00137 CTimeChangeNotification (const CTimeChangeNotification &);
00138 CTimeChangeNotification * operator&() const;
00139 CTimeChangeNotification * operator&();
00140
00141 void* m_pImpl;
00142
00143 };
00144
00145
00150
00151 class SICPPSDKDECL CWindowNotification
00152 {
00153 public:
00154
00156 CWindowNotification();
00157
00159 ~CWindowNotification();
00160
00163 void GetPosition(INT &x, INT &y, INT &width, INT &height) const;
00164
00168 XSI::siWindowChangeState GetWindowState ( ) const;
00169
00170
00171 private:
00172
00173 CWindowNotification (const CWindowNotification &);
00174 CWindowNotification * operator&() const;
00175 CWindowNotification * operator&();
00176
00177 void* m_pImpl;
00178
00179 };
00180
00181
00189
00190 class SICPPSDKDECL CObjectAddedNotification
00191 {
00192 public:
00193
00195 CObjectAddedNotification();
00196
00198 ~CObjectAddedNotification();
00199
00203 const CRef& GetObjectAdded() const;
00204
00205 private:
00206
00207 CObjectAddedNotification (const CObjectAddedNotification &);
00208 CObjectAddedNotification * operator&() const;
00209 CObjectAddedNotification * operator&();
00210
00211 void* m_pImpl;
00212 };
00213
00214
00222
00223 class SICPPSDKDECL CObjectRemovedNotification
00224 {
00225 public:
00226
00228 CObjectRemovedNotification();
00229
00231 ~CObjectRemovedNotification();
00232
00236 const CString& GetObjectName() const;
00237
00241 const siBranchFlag GetBranchFlag() const;
00242
00243
00244
00245 private:
00246
00247 CObjectRemovedNotification (const CObjectRemovedNotification &);
00248 CObjectRemovedNotification * operator&() const;
00249 CObjectRemovedNotification * operator&();
00250
00251 void* m_pImpl;
00252 };
00253
00254 }
00255
00256
00257 #endif //__XSI_VIEWNOTIF_H__