HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_clone_Connection.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  * COMMENTS:
7  */
8 
9 #ifndef __HOM_clone_Connection_h__
10 #define __HOM_clone_Connection_h__
11 
12 #include "HOM_API.h"
14 #include "HOM_Defines.h"
15 #include <utility>
16 
17 class HOM_OpNode;
18 
19 SWIGOUT(%rename(_clone_Connection) HOM_clone_Connection;)
20 
22 {
23 public:
25  { }
26 
27  virtual std::string __repr__() = 0;
28  virtual bool isValid() = 0;
29  virtual std::string sessionId() = 0;
30 
31  virtual std::string name() = 0;
32  virtual void setName(const char *name) = 0;
33 
34  SWIGOUT(%newobject lopNode;)
35  virtual HOM_Node *lopNode() = 0;
36  virtual void setLopNode(HOM_Node *lop) = 0;
37 
38  virtual std::string cameraPath() = 0;
39  virtual void setCameraPath(const char *camerapath) = 0;
40 
41  virtual std::string renderer() = 0;
42  virtual void setRenderer(const char *renderer) = 0;
43 
44  virtual std::string renderSettings() = 0;
45  virtual void setRenderSettings(const char *rendersettings) = 0;
46 
47  virtual std::vector<std::string> availableAovs() = 0;
48  virtual std::string displayAov() = 0;
49  virtual void setDisplayAov(const char *displayaov) = 0;
50 
51  virtual double resolutionScale() = 0;
52  virtual void setResolutionScale(double resolution_scale) = 0;
53  virtual std::pair<int, int> resolution() = 0;
54  virtual void setResolution(int width, int height) = 0;
55 
56  virtual std::string frameExpression() = 0;
57  virtual void setFrameExpression(const char *expression) = 0;
58 
59  virtual hboost::any contextOptionExpression(const char *opt) = 0;
60  virtual void setContextOptionExpression(const char *opt,
61  const char *expression) = 0;
62  virtual std::vector<std::string> contextOptionsWithExpressions() = 0;
63 
64  virtual bool processUpdates() = 0;
65  virtual void setProcessUpdates(bool process_updates) = 0;
66 
67  virtual std::map<std::string, hboost::any> launcherConfig() = 0;
68  virtual void setLauncherConfig(
69  const std::map<std::string, hboost::any> &config) = 0;
70 
71  virtual bool connect(const char *host, int port) = 0;
72  virtual void disconnect() = 0;
73 
74  virtual bool isConnected() = 0;
75  virtual bool isWaitingToConnect() = 0;
76  virtual void setWaitingToConnect(bool waiting_to_connect) = 0;
77  virtual std::string host() = 0;
78  virtual int port() = 0;
79 
80  virtual std::string imagePath() = 0;
81  virtual int imageVersion() = 0;
82  virtual std::vector<int> imageSize() = 0;
83  virtual double percentComplete() = 0;
84  SWIGOUT(%newobject renderGalleryDataSource;)
85  virtual HOM_AssetGalleryDataSource *renderGalleryDataSource() = 0;
86  virtual std::string renderGalleryItemId() = 0;
87  virtual std::string createSnapshot() = 0;
88 
89  SWIGOUT(%newobject duplicate;)
90  virtual HOM_clone_Connection *duplicate() = 0;
91 };
92 
93 #endif
GLsizei const GLchar *const * string
Definition: glcorearb.h:814
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
string __repr__(VtArray< T > const &self)
Definition: wrapArray.h:349
GLint GLsizei GLsizei height
Definition: glcorearb.h:103
virtual void setName(const char *name, bool unique_name=false)=0
bool any(const vbool4 &v)
Definition: simd.h:3468
#define HOM_API
Definition: HOM_API.h:13
HUSD_API const char * resolution()
GLuint const GLchar * name
Definition: glcorearb.h:786
virtual int64 sessionId()=0
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
GLint GLsizei width
Definition: glcorearb.h:103
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei imageSize
Definition: glcorearb.h:550