00001
00011
00012
00013 #if (_MSC_VER > 1000) || defined(SGI_COMPILER)
00014 #pragma once
00015 #endif
00016
00017 #ifndef __XSIUPDATECONTEXT_H__
00018 #define __XSIUPDATECONTEXT_H__
00019
00020 #include <xsi_siobject.h>
00021 #include <xsi_value.h>
00022 #include <xsi_status.h>
00023
00024 namespace XSI {
00025
00026 class Operator;
00027
00028
00037
00038
00039 class SICPPSDKDECL UpdateContext : public SIObject
00040 {
00041 public:
00043 UpdateContext();
00044
00046 ~UpdateContext();
00047
00051 UpdateContext(const CRef& in_ref);
00052
00056 UpdateContext(const UpdateContext& in_obj);
00057
00062 bool IsA( siClassID in_ClassID) const;
00063
00067 siClassID GetClassID() const;
00068
00074 UpdateContext& operator=(const UpdateContext& in_obj);
00075
00081 UpdateContext& operator=(const CRef& in_ref);
00082
00083 private:
00084 UpdateContext * operator&() const;
00085 UpdateContext * operator&();
00086
00087 public:
00088
00092 Operator GetOperator();
00093
00097 double GetCurrentFrame();
00098
00102 CValue GetUserData();
00103
00109 CStatus PutUserData(const CValue& in_val);
00110
00111
00112 };
00113
00114 };
00115
00116 #endif // __XSIUPDATECONTEXT_H__