HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
COP2_TimingBase.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * NAME: COP2_TimingBase.h
7  *
8  * COMMENTS:
9  * Base class for COPs that only modify timing information.
10  */
11 #ifndef _COP2_TIMING_BASE_H_
12 #define _COP2_TIMING_BASE_H_
13 
14 #include "COP2_API.h"
15 #include "COP2_Node.h"
16 
17 
19 {
20 public:
21  // This is the method which timing COPs need to override.
22  virtual TIL_Sequence *cookSequenceInfo(OP_ERROR &err);
23  virtual bool isTimeModifier() const { return true; }
24  virtual bool isSlowOperation() const { return false; }
25 
26  virtual bool isTimeDepOperation() { return true; }
27 protected:
28  COP2_TimingBase(OP_Network *parent, const char *name,
29  OP_Operator *entry);
30  virtual ~COP2_TimingBase();
31 
32  void makeOutputAreaDependOnDifferentTime(
33  COP2_CookAreaInfo &output_area,
34  const COP2_CookAreaList &input_areas,
35  COP2_CookAreaList &needed_areas,
36  float time);
37 
39  COP2_CookAreaInfo &output_area,
40  const COP2_CookAreaList &input_areas,
41  COP2_CookAreaList &needed_areas);
42 
43 };
44 
45 
46 #endif
UT_ErrorSeverity
Definition: UT_Error.h:25
virtual bool isSlowOperation() const
GLuint const GLchar * name
Definition: glcorearb.h:785
virtual bool isTimeDepOperation()
#define COP2_API
Definition: COP2_API.h:10
virtual void getInputDependenciesForOutputArea(COP2_CookAreaInfo &output_area, const COP2_CookAreaList &input_areas, COP2_CookAreaList &needed_areas)
virtual bool isTimeModifier() const
virtual TIL_Sequence * cookSequenceInfo(OP_ERROR &error)=0