Go to the
documentation of this file.
00001
00010
00011
00012 #if (_MSC_VER > 1000) || defined(SGI_COMPILER)
00013 #pragma once
00014 #endif
00015
00016 #ifndef __XSIACTIONSOURCE_H__
00017 #define __XSIACTIONSOURCE_H__
00018
00019 #include <xsi_projectitem.h>
00020
00021 namespace XSI {
00022
00023 class CStatus;
00024 class Property;
00025 class AnimationSourceItem;
00026
00027
00173
00174 class SICPPSDKDECL ActionSource : public ProjectItem
00175 {
00176 public:
00178 ActionSource();
00179
00181 ~ActionSource();
00182
00186 ActionSource(const CRef& in_ref);
00187
00191 ActionSource(const ActionSource& in_obj);
00192
00197 bool IsA( siClassID in_ClassID) const;
00198
00202 siClassID GetClassID() const;
00203
00209 ActionSource& operator=(const ActionSource& in_obj);
00210
00216 ActionSource& operator=(const CRef& in_ref);
00217
00224 CRefArray GetItems()const;
00225
00348 CStatus Reload();
00349
00468 CStatus Offload();
00469
00693 CStatus PartialOffload
00694 (
00695 LONG in_dStartFrame,
00696 LONG in_dEndFrame,
00697 bool in_bRemember
00698 );
00699
00709 Property AddProperty
00710 (
00711 const CString& in_preset,
00712 bool in_bBranch = false ,
00713 const CString& in_name = CString()
00714 );
00715
00721 CRefArray GetProperties() const ;
00722
00723
00739 AnimationSourceItem AddSourceItem
00740 (
00741 const CString& in_target,
00742 const CRef& in_source,
00743 bool in_bActive = false
00744 );
00745
00762 AnimationSourceItem AddSourceItem
00763 (
00764 const CString& in_target,
00765 double in_staticvalue = 0.0,
00766 bool in_bActive = false
00767 );
00768
00769 private:
00770 ActionSource * operator&() const;
00771 ActionSource * operator&();
00772 };
00773
00774 };
00775
00776 #endif // __XSIACTIONSOURCE_H__