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 //*****************************************************************************
00061 //*****************************************************************************
00062 
00063 class SICPPSDKDECL PPGEventContext : public Context
00064 {
00065 public:
00066 
00069     enum PPGEvent
00070     {
00071         siUndefined         = 0,    
00072         siOnInit            = 1,    
00073         siOnClosed          = 2,    
00074         siParameterChange   = 3,    
00075         siButtonClicked     = 4,    
00076         siTabChange         = 5     
00077     };
00078 
00080     PPGEventContext();
00081 
00083     ~PPGEventContext();
00084 
00088     PPGEventContext(const CRef& in_ref);
00089 
00093     PPGEventContext(const PPGEventContext& in_obj);
00094 
00099     bool IsA( siClassID in_ClassID) const;
00100 
00104     siClassID GetClassID() const;
00105 
00110     PPGEventContext& operator=(const PPGEventContext& in_obj);
00111 
00117     PPGEventContext& operator=(const CRef& in_ref);
00118 
00123     PPGEvent GetEventID() const ;
00124 
00131     CRefArray GetInspectedObjects( ) const;
00132 
00133     private:
00134     PPGEventContext * operator&() const;
00135     PPGEventContext * operator&();
00136 };
00137 
00138 };
00139 #endif // __XSIPPGEVENTCONTEXT_H__