HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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  TIL_Sequence *cookSequenceInfo(OP_ERROR &err) override;
23  bool isTimeModifier() const override { return true; }
24  bool isSlowOperation() const override { return false; }
25 
26  bool isTimeDepOperation() override { return true; }
27 protected:
28  COP2_TimingBase(OP_Network *parent, const char *name,
29  OP_Operator *entry);
30  ~COP2_TimingBase() override;
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) override;
42 
43 };
44 
45 
46 #endif
GT_API const UT_StringHolder time
UT_ErrorSeverity
Definition: UT_Error.h:25
bool isTimeDepOperation() override
GLuint const GLchar * name
Definition: glcorearb.h:786
bool isSlowOperation() const override
#define COP2_API
Definition: COP2_API.h:10
virtual void getInputDependenciesForOutputArea(COP2_CookAreaInfo &output_area, const COP2_CookAreaList &input_areas, COP2_CookAreaList &needed_areas)
bool isTimeModifier() const override
virtual TIL_Sequence * cookSequenceInfo(OP_ERROR &error)=0