neuray API Programmer's Manual

iremote.h File Reference

Description

Bridge.

Code Example

iremote.h

‎//****************************************************************************
// Copyright 1986, 2016 NVIDIA Corporation. All rights reserved.
//****************************************************************************
//****************************************************************************

#ifndef MI_NEURAYLIB_IREMOTE_H
#define MI_NEURAYLIB_IREMOTE_H

#include <mi/base/interface_declare.h>
#include <mi/neuraylib/version.h>

namespace mi {

namespace neuraylib {

class ITransaction;
class IProgress_callback;

class IRemote_ready_callback : public
    mi::base::Interface_declare<0x782b9d2e,0x7ffc,0x4f5c,0x8b,0xa0, 0x2d,0x81,0x5d,0xa3,0xd2,0xe2>
{
public:
    virtual void ready(Sint32 async_token, Sint32 error_code, const char* str) = 0;
};

class IRemote_properties : public
    base::Interface_declare<0xaec6c4d5,0x73bb,0x4d72,0x89,0x3e,0xca,0x90,0x21,0x99,0x9a,0xfc>
{
public:
    virtual void handle_cluster_properties() = 0;
};

class MI_NEURAYLIB_DEPRECATED_CLASS_6_0(IRemote_client) : public
    mi::base::Interface_declare<0x0fe7edf6,0x47eb,0x4a51,0xa7,0x59,0x19,0x1c,0x11,0x01,0x26,0xd9>
{
public:
    virtual Sint32 push_scene_changes(
        neuraylib::ITransaction* transaction,
        const char* scene_name,
        IRemote_ready_callback* ready_callback, 
        IProgress_callback* progress_callback) = 0;

    virtual Sint32 create_remote_snapshot(
        neuraylib::ITransaction* transaction,
        const char* scene_name,
        const char* filename,
        IRemote_ready_callback* ready_callback,
        IProgress_callback* progress_callback) = 0;

    virtual Sint32 create_incremental_remote_snapshot(
        neuraylib::ITransaction* transaction,
        const char* scene_name,
        const char* filename,
        IRemote_ready_callback* ready_callback,
        IProgress_callback* progress_callback) = 0;

    virtual bool cancel( Sint32 async_token) = 0;

    virtual Sint32 measure_bandwidth(
        bool upload, Uint32 amount, Uint32 count, IProgress_callback* progress_callback) = 0;

    virtual bool remove_scene( const char* scene_name) = 0;
};

class MI_NEURAYLIB_DEPRECATED_CLASS_6_0(IRemote_server) : public
    mi::base::Interface_declare<0xe710c870,0x8ace,0x4c93,0xa0,0x18,0x98,0xea,0x3d,0x74,0xd2,0x05>
{
public:
    virtual Sint32 start() = 0;
};

} // namespace neuraylib

} // namespace mi

#endif // MI_NEURAYLIB_IREMOTE_H

Namespaces

namespace 
Common namespace for APIs of NVIDIA Advanced Rendering Center GmbH. More...
namespace 
Namespace for the neuray API. More...