neuray API Programmer's Manual

mi::bridge::IIncremental_snapshot_context Class Reference

[Bridge server]

Description

Context for incremental snapshots.

See also:

mi::bridge::IServer_transaction::create_incremental_snapshot_context()

Public Member Functions

virtual Sint32 create_snapshot( IServer_transaction* transaction, IString* snapshot_id) =0
Creates an incremental snapshot. More...

Member Functions

virtual Sint32 mi::​bridge::​IIncremental_snapshot_context::create_snapshot( IServer_transaction* transaction, IString* snapshot_id) [pure virtual]

Creates an incremental snapshot. The incremental snapshot contains only the changes since the last call to this method on this context (or to the creation of this context for the first call).

Parameters

transaction
The transaction to be used.
snapshot_id
The ID of the snapshot will be stored here if the operation is successful.

Returns

  • 0: Success.
  • <= -1: Unspecified error.