RixRiCtl.h Source File

RixRiCtl.h
1 #ifndef RixRiCtl_h
2 #define RixRiCtl_h
3 /* $Revision: #1 $ $Date: 2015/04/23 $
4 # ------------------------------------------------------------------------------
5 #
6 # Copyright (c) 2013 Pixar Animation Studios. All rights reserved.
7 #
8 # The information in this file (the "Software") is provided for the
9 # exclusive use of the software licensees of Pixar. Licensees have
10 # the right to incorporate the Software into other products for use
11 # by other authorized software licensees of Pixar, without fee.
12 # Except as expressly permitted herein, the Software may not be
13 # disclosed to third parties, copied or duplicated in any form, in
14 # whole or in part, without the prior written permission of
15 # Pixar Animation Studios.
16 #
17 # The copyright notices in the Software and this entire statement,
18 # including the above license grant, this restriction and the
19 # following disclaimer, must be included in all copies of the
20 # Software, in whole or in part, and all permitted derivative works of
21 # the Software, unless such copies or derivative works are solely
22 # in the form of machine-executable object code generated by a
23 # source language processor.
24 #
25 # PIXAR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
26 # ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT
27 # SHALL PIXAR BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES
28 # OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
29 # WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
30 # ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
31 # SOFTWARE.
32 #
33 # Pixar
34 # 1200 Park Ave
35 # Emeryville CA 94608
36 #
37 # ------------------------------------------------------------------------------
38 */
39 
40 #include "RixInterfaces.h"
41 #include "ri.hpp"
42 
64 class RixRiCtl : public RixInterface
65 {
66 public:
72  virtual int PRManBegin(int argc, char *argv[]) = 0;
73  virtual int PRManGo() = 0;
74  virtual int PRManEnd() = 0;
75 
82  virtual Ri *GetRiCtx() = 0;
83 
87 
89  virtual void Flush(RtString marker, RtBoolean synchronous,
90  RtToken flushmode) = 0;
91 
94  virtual RtInt GetProgress() = 0;
95 
97  virtual void ProcessCallbacks() = 0;
98 
100  virtual void Option(RtString name, RtPointer value) = 0;
101 
102 
103 protected:
104  RixRiCtl() : RixInterface(1) {}
105  virtual ~RixRiCtl() {}
106 
107 };
108 
109 #endif