NVIDIA Iray API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
iremote.h
Go to the documentation of this file.
1 //****************************************************************************
2 // Copyright 1986, 2014 NVIDIA Corporation. All rights reserved.
3 //****************************************************************************
6 //****************************************************************************
7 
8 #ifndef MI_NEURAYLIB_IREMOTE_H
9 #define MI_NEURAYLIB_IREMOTE_H
10 
12 
13 namespace mi {
14 
15 namespace neuraylib {
16 
17 class ITransaction;
18 class IProgress_callback;
19 class IReady_callback;
20 
59 class IRemote_ready_callback : public
65  mi::base::Interface_declare<0x782b9d2e,0x7ffc,0x4f5c,0x8b,0xa0, 0x2d,0x81,0x5d,0xa3,0xd2,0xe2>
66 {
67 public:
76  virtual void ready(Sint32 async_token, Sint32 error_code, const char* str) = 0;
77 };
78 
80 class IRemote_properties : public
81  base::Interface_declare<0xaec6c4d5,0x73bb,0x4d72,0x89,0x3e,0xca,0x90,0x21,0x99,0x9a,0xfc>
82 {
83 public:
85  virtual void handle_cluster_properties() = 0;
86 };
87 
89 class IRemote_client : public
90  mi::base::Interface_declare<0x0fe7edf6,0x47eb,0x4a51,0xa7,0x59,0x19,0x1c,0x11,0x01,0x26,0xd9>
91 {
92 public:
128  virtual Sint32 push_scene_changes(
129  neuraylib::ITransaction* transaction,
130  const char* scene_name,
131  IRemote_ready_callback* ready_callback,
132  IProgress_callback* progress_callback) = 0;
133 
192  neuraylib::ITransaction* transaction,
193  const char* scene_name,
194  const char* filename,
195  IRemote_ready_callback* ready_callback,
196  IProgress_callback* progress_callback) = 0;
197 
259  neuraylib::ITransaction* transaction,
260  const char* scene_name,
261  const char* filename,
262  IRemote_ready_callback* ready_callback,
263  IProgress_callback* progress_callback) = 0;
264 
273  virtual bool cancel(Sint32 async_token) = 0;
274 
292  virtual Sint32 measure_bandwidth(
293  bool upload, Uint32 amount, Uint32 count, IProgress_callback* progress_callback) = 0;
294 
300  virtual bool remove_scene(const char* scene_name) = 0;
301 };
302 
304 class IRemote_server : public
305  mi::base::Interface_declare<0xe710c870,0x8ace,0x4c93,0xa0,0x18,0x98,0xea,0x3d,0x74,0xd2,0x05>
306 {
307 public:
313  virtual Sint32 start() = 0;
314 };
315  // end group mi_neuray_bridge
317 
318 } // namespace neuraylib
319 
320 } // namespace mi
321 
322 #endif // MI_NEURAYLIB_IREMOTE_H