12 #ifndef __MOT_CLONEMESSAGE_H__
13 #define __MOT_CLONEMESSAGE_H__
30 #define MOT_CLONE_MESSAGE_INVALID_ID -1
31 #define MOT_MAX_MESSAGE_LENGTH_HEADER "SetMaxMessageLength"
32 #define MOT_MAX_MESSAGE_LENGTH_DEFAULT (1024 * 1024 * 64)
62 template<
class SchemaClass>
77 return schema == SchemaClass::schemaName();
85 SchemaClass::schemaName());
180 bool process_updates);
268 std::optional<UT_Vector2i>
fullRes()
const;
288 #endif // __MOT_CLONEMESSAGE_H__
MOT_CloneMessageId uniqueId() const
MOT_FrameMessage(const MOT_CloneMessage &rmsg)
GLenum GLuint GLenum GLsizei const GLchar * buf
static const UT_StringHolder & schemaName()
const UT_Options & options() const
bool loadLogEntries(UT_UniversalLogEntryArray &log_entries) const
UT_StringHolder myExtraData
static void createMessage(MOT_CloneMessage &rmsg, bool process_updates)
static void createMessage(MOT_CloneMessage &rmsg, const UT_StringHolder &functionname, const UT_Options ¶meters)
static void createMessage(MOT_CloneMessage &rmsg, const UT_UniversalLogEntryArray &log_entries)
MOT_ScriptMessage(const MOT_CloneMessage &rmsg)
MOT_RemoteExecMessage(const MOT_CloneMessage &rmsg)
int skippedRasters() const
const MOT_CloneMessage & myMsg
MOT_SaveItemsMessage(const MOT_CloneMessage &rmsg)
static void createMessage(MOT_CloneMessage &rmsg)
static const UT_StringHolder & schemaName()
MOT_ProcessUpdatesMessage(const MOT_CloneMessage &rmsg)
MOT_LogEntriesMessage(const MOT_CloneMessage &rmsg)
static const UT_StringHolder & schemaName()
static const UT_StringHolder & uniqueIdKey()
std::unique_ptr< T, Deleter > UT_UniquePtr
A smart pointer for unique ownership of dynamically allocated objects.
static void createMessage(MOT_CloneMessage &rmsg, MOT_CloneMessageId ackedid)
GLint GLsizei GLsizei height
MOT_SocketErrorMessage(const MOT_CloneMessage &rmsg)
UT_Options & setOptionI(const UT_StringHolder &name, int64 value)
std::optional< UT_DimRect > dataWindow() const
UT_StringHolder & extraData()
UT_StringArray availableAovs() const
MOT_CloneMessageId ackedUniqueId() const
MOT_CloneMessageId myUniqueId
MOT_SchemaMessage(const MOT_CloneMessage &rmsg)
static const UT_StringHolder & schemaKey()
bool getProcessUpdates() const
MOT_ImageMessage(const MOT_CloneMessage &rmsg)
MOT_AckMessage(const MOT_CloneMessage &rmsg)
static const UT_StringHolder & schemaName()
static void createMessage(MOT_CloneMessage &rmsg, const OP_NetworkBoxItemList &items)
UT_StringHolder errorMessage() const
static void createMessage(MOT_CloneMessage &rmsg, const UT_StringRef &script, CH_ScriptLanguage lang)
A map of string to various well defined value types.
static const UT_StringHolder & schemaName()
static const UT_StringHolder & schemaName()
UT_Options & setOptionS(const UT_StringHolder &name, const UT_StringHolder &value)
virtual ~MOT_CloneMessage()
static const UT_StringHolder & schemaName()
const UT_StringHolder & extraData() const
static void createMessage(MOT_CloneMessage &rmsg)
std::optional< UT_Vector2i > fullRes() const
static const UT_StringHolder & schemaName()
static void createMessage(MOT_CloneMessage &rmsg, const UT_StringMap< UT_UniquePtr< PXL_Raster >> &rasters, const UT_StringArray &availableaovs, const UT_Options &stats, const UT_Vector2i &fullres, const UT_DimRect &datawindow)
UT_StringMap< UT_UniquePtr< PXL_Raster > > createImages() const
static const UT_StringHolder & schemaName()
virtual ~MOT_SchemaMessage()
void fillWorkBuffer(UT_WorkBuffer &buf) const
MOT_HipFileMessage(const MOT_CloneMessage &rmsg)
static void createMessage(MOT_CloneMessage &rmsg, fpreal frame)
static void createMessage(MOT_CloneMessage &rmsg, const UT_StringRef &err)
static const UT_StringHolder & schemaName()
const UT_StringHolder & getOptionS(const UT_StringRef &name) const