00001 //*************************************************************************************** 00002 // 00003 // File supervisor: Softimage 3D Games & 3D Bridge team 00004 // 00005 // (c) Copyright 2001-2002 Avid Technology, Inc. . All rights reserved. 00006 // 00007 //*************************************************************************************** 00008 00009 /**************************************************************************************** 00010 THIS CODE IS PUBLISHED AS A SAMPLE ONLY AND IS PROVIDED "AS IS". 00011 IN NO EVENT SHALL SOFTIMAGE, AVID TECHNOLOGY, INC. AND/OR THEIR RESPECTIVE 00012 SUPPLIERS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY 00013 DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 00014 ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN 00015 CONNECTION WITH THE USE OR PERFORMANCE OF THIS CODE . 00016 00017 COPYRIGHT NOTICE. Copyright © 1999-2002 Avid Technology Inc. . All rights reserved. 00018 00019 SOFTIMAGE is a registered trademark of Avid Technology Inc. or its subsidiaries 00020 or divisions. Windows NT is a registered trademark of Microsoft Corp. All other 00021 trademarks contained herein are the property of their respective owners. 00022 ****************************************************************************************/ 00023 00024 #ifndef _TRACK_H 00025 #define _TRACK_H 00026 00027 #include "Template.h" 00028 class CSLActionClip; 00029 class CSLActionClipContainer; 00030 00041 class XSIEXPORT CSLTrack 00042 : public CSLTemplate 00043 { 00044 public: 00050 CSLTrack(CSLScene* in_pScene, CSLModel *in_pModel, CdotXSITemplate* in_pTemplate); 00051 virtual ~CSLTrack(); 00052 00053 SI_Error Synchronize(); 00054 00058 CSLTemplate::ETemplateType Type(){ return XSI_TRACK; } 00059 00065 SI_Bool GetMute(); 00066 00071 SI_Void SetMute( SI_Bool in_bNew ); 00072 00080 SI_Bool GetRipple(); 00081 00090 SI_Void SetRipple( SI_Bool in_bNew ); 00091 00096 SI_Bool GetSolo(); 00097 00102 SI_Void SetSolo( SI_Bool in_bNew ); 00103 00104 00105 // action clip functionality ////////////////////////////////////////////// 00106 00112 SI_Error RemoveActionClip( SI_Int in_nIndex ); 00113 00119 SI_Error RemoveActionClip( CSLActionClip *io_pToRemove ); 00120 00124 CSLActionClip** GetActionClipList(); 00125 00129 SI_Int GetActionClipCount(); 00130 00134 CSLActionClip* AddActionClip(); 00135 00139 CSLActionClipContainer* AddActionClipContainer(); 00140 00144 SI_Error ClearActionClips(); 00145 00150 CSLActionClip* ConnectActionClip(CSLActionClip* in_pNewActionClip); 00151 00152 private: 00153 CSLBoolProxy m_Ripple; 00154 CSLBoolProxy m_Mute; 00155 CSLBoolProxy m_Solo; 00156 CSIBCArray<CSLActionClip *> m_ActionClips; 00157 00158 SI_Void *m_pReserved; 00159 00160 }; 00161 00162 #endif