xsi_operatorcontext.h Source File
 
 
 
xsi_operatorcontext.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 __OPERATORCONTEXT_H__
00018 #define __OPERATORCONTEXT_H__
00019 
00020 #include <xsi_base.h>
00021 #include <xsi_value.h>
00022 #include <xsi_time.h>
00023 #include <xsi_context.h>
00024 
00025 namespace XSI {
00026 
00027 //*****************************************************************************
00047 //*****************************************************************************
00048 
00049 class SICPPSDKDECL OperatorContext : public Context
00050 {
00051 public:
00052 
00054         OperatorContext();
00055 
00057         ~OperatorContext();
00058 
00062         OperatorContext(const CRef& in_ref);
00063 
00067         OperatorContext(const OperatorContext& in_obj);
00068 
00073         bool IsA( siClassID in_ClassID) const;
00074 
00078         siClassID GetClassID() const;
00079 
00084         OperatorContext& operator=(const OperatorContext& in_obj);
00085 
00091         OperatorContext& operator=(const CRef& in_ref);
00092 
00110         CRef GetOutputTarget() const;
00111 
00121         CRef GetOutputPort() const;
00122 
00127         CTime GetTime() const;
00128 
00150         CValue GetInputValue(   LONG in_port,
00151                                                         LONG in_group = 0,
00152                                                         LONG in_instance = 0 ) const;
00153 
00164         CValue GetInputValue(   const CString&  in_port,
00165                                                         const CString&  in_group = CString(),
00166                                                         LONG                    in_instance = 0 ) const;
00167 
00183         CValue GetParameterValue( const CString& in_name )const;
00184 
00185         private:
00186         OperatorContext * operator&() const;
00187         OperatorContext * operator&();
00188 };
00189 
00190 };
00191 #endif // __OPERATORCONTEXT_H__