ConnectionPoint.h

Go to the documentation of this file.
00001 //***************************************************************************************
00002 // File supervisor: Crosswalk team
00012 //***************************************************************************************
00013 
00014 #ifndef _CONNECTIONPOINT_H
00015 #define _CONNECTIONPOINT_H
00016 
00017 #include "Template.h"
00018 #include "Scene.h"
00019 #include <dotXSIParam.h>    // CdotXSIParam
00020 
00021 // Forward declaration
00022 class CSLXSIShader;
00023 
00026 class XSIEXPORT CSLConnectionPoint
00027 {
00028     friend class CSLScene;
00029 public:
00035     CSLConnectionPoint
00036     (
00037         CdotXSITemplate *in_pTemplate,
00038         SI_Int in_nValueIndex
00039     );
00040 
00043     virtual ~CSLConnectionPoint();
00044 
00049     SI_Void SetName( SI_Char *in_szName );
00050 
00054     SI_Char* GetName();
00055 
00059     SI_TinyVariant* GetValue();
00060 
00065     SI_Void SetShader( CSLXSIShader *in_pShader );
00066 
00070     CSLXSIShader* GetShader();
00071 
00076     virtual SI_Error Synchronize();
00077 
00081     CdotXSIParam* GetParam()
00082     {
00083         return m_pParam;
00084     }
00085 
00086 protected:
00087     CdotXSIParam *m_pParam;
00088 
00089     CSLXSIShader *m_pShader;
00090 };
00091 
00092 #endif