xsi_ppgeventcontext.h
Go to the documentation of this file.
00001 //*****************************************************************************
00011 //*****************************************************************************
00012 
00013 #if (_MSC_VER > 1000) || defined(SGI_COMPILER)
00014 #pragma once
00015 #endif
00016 
00017 #ifndef __XSIPPGEVENTCONTEXT_H__
00018 #define __XSIPPGEVENTCONTEXT_H__
00019 
00020 #include <xsi_base.h>
00021 #include <xsi_value.h>
00022 #include <xsi_context.h>
00023 
00024 namespace XSI {
00025 
00026 class ProjectItem ;
00027 class Parameter ;
00028 
00029 
00030 //*****************************************************************************
00081 //*****************************************************************************
00082 
00083 class SICPPSDKDECL PPGEventContext : public Context
00084 {
00085 public:
00086 
00089     enum PPGEvent
00090     {
00091         siUndefined                         = 0,    
00092         siOnInit                            = 1,    
00093         siOnClosed                          = 2,    
00094         siParameterChange                   = 3,    
00095         siButtonClicked                     = 4,    
00096         siTabChange                         = 5,    
00097         siGridDataOnBeginValueChange        = 6,    
00098         siGridDataOnEndValueChange          = 7,    
00099         siGridDataOnBeginSelectionChange    = 8,    
00100         siGridDataOnEndSelectionChange      = 9,    
00101         siGridDataOnButtonClicked           = 10,   
00102         siGridDataOnHeaderDoubleClick       = 11,   
00103         siGridDataOnContextMenuInit         = 12,   
00104         siGridDataOnContextMenuSelected     = 13    
00105     };
00106 
00108     PPGEventContext();
00109 
00111     ~PPGEventContext();
00112 
00116     PPGEventContext(const CRef& in_ref);
00117 
00121     PPGEventContext(const PPGEventContext& in_obj);
00122 
00127     bool IsA( siClassID in_ClassID) const;
00128 
00132     siClassID GetClassID() const;
00133 
00138     PPGEventContext& operator=(const PPGEventContext& in_obj);
00139 
00145     PPGEventContext& operator=(const CRef& in_ref);
00146 
00151     PPGEvent GetEventID() const ;
00152 
00159     CRefArray GetInspectedObjects( ) const;
00160 
00161     private:
00162     PPGEventContext * operator&() const;
00163     PPGEventContext * operator&();
00164 };
00165 
00166 };
00167 #endif // __XSIPPGEVENTCONTEXT_H__