#include <lib_net.h>
公共成员函数 |
|
MachineGroup * | GetMachineHead () const |
机器 * | GetFirstMachine () const |
机器 * | FindMachine (const C4DUuid &uid, MACHINELIST list, VERIFICATIONBIT bits= VERIFICATIONBIT::NONE ) const |
maxon::RWSpinlock & | GetMachineLock () |
void | GetAllMachineUuids ( maxon::BaseArray < C4DUuid > &machineUuids, MACHINELIST list= MACHINELIST::ALL , VERIFICATIONBIT bits= VERIFICATIONBIT::NONE , Bool includeLocalMachine=true, Bool includeZeroConfMachines=true) |
RenderJob * | FindRenderJob (const C4DUuid &jobUuid, Bool lookInServerList) const |
const C4DUuid | GetUuid () const |
void | GetMacAddress ( maxon::BaseArray < UChar > &macAddress) const |
void | CopyClientTasksFrom ( maxon::BaseArray < C4DUuid > &jobUuids, maxon::BaseArray < Task > &tasks) |
Repository & | GetRepository () |
UserPool & | GetUserPool () |
maxon::RWSpinlock & | GetClientRenderJobLock () |
String | GetName () const |
Bool | IsRunning () const |
Int32 | GetCpuCount () const |
void | NetConsoleOutput ( maxon::OUTPUT flags, const maxon::String &value, maxon::OUTPUTLOCATION output, const maxon::SourceLocation &loc) |
Bool | AddLogToJob (const C4DUuid &jobUuid, const String &log, Bool doLock, Bool append) |
Bool | AddLogToMachine (const C4DUuid &machineUuid, const String &log, Bool doLock) |
Bool | AddMachine (const String &address= String (), const String &securityToken= String (), Bool allowGui=true, const C4DUuid *uuidOfMachineToOverwrite=nullptr) |
String | GetCurrentJobCommandAsString () const |
RenderJob * | GetActive () const |
CREATEJOBRESULT | CreateRenderJob (const String &docName, C4DUuid &jobUuid, RENDERJOBCREATOR creator, const String &username, BaseThread *bt=nullptr, const Filename *watchFolderName=nullptr) |
RENDERRESULT | InitRendering ( BaseDocument *doc, const BaseContainer &rdata, const C4DUuid &jobUuid, NETRENDERFLAGS flags, PictureViewer *pv, const BaseContainer &machines, MultipassBitmap *bmp=nullptr, ProgressHook *prog=nullptr, WriteProgressHook *wprog=nullptr, void *context=nullptr, Bool *useFrameNumberAsSuffix=nullptr, Filename *dispname=nullptr, const maxon::BaseArray < Bool > *renderTasks=nullptr) |
RENDERRESULT | StartRendering ( THREADMODE 模式, BaseDocument *doc, const C4DUuid &jobUuid, BaseThread *bt) |
Bool | VerifyServerOnClient ( THREADMODE mode, const C4DUuid &machineUuid, const String &securityToken, Bool setClientAsGlobalSelected, Bool doLock=true, Int32 waitUntilExecutionInMs=0) |
Bool | DeleteRenderJob (const C4DUuid &jobUuid, Bool informClients) |
Bool | GetGlobalSelected ( maxon::BaseArray < C4DUuid > &machines) |
Bool | GetJobsList (const BaseContainer &settings, maxon::BaseArray < BaseContainer > &jobs, Bool triggerWatchDog, DETAILSELECTOR rdata, DETAILSELECTOR assets, DETAILSELECTOR results, DETAILSELECTOR log, const C4DUuid *getOnlyThisJob=nullptr, Bool selectedJobOnly=false, const C4DUuid *user=nullptr) |
Bool | GetMachinesList ( maxon::BaseArray < BaseContainer > &machines, Int32 logCount, const C4DUuid *getOnlyThisMachine) const |
void | GetGlobalSelectedMachines ( maxon::BaseArray < C4DUuid > &machines, Bool &atLeastOneMachineOnline) |
Bool | InitAndStartRenderingFullAsync (const C4DUuid &jobUuid) |
void | StopRendering ( THREADMODE mode, const C4DUuid &jobUuid, RENDERRESULT result) |
Bool | InsertJobBefore (const C4DUuid &jobUuid1, const C4DUuid &jobUuid2) |
Bool | InsertJobAfter (const C4DUuid &jobUuid1, const C4DUuid &jobUuid2) |
Bool | SetDefaultSceneName (const C4DUuid &jobUuid, const Filename &defaultSceneName) |
Bool | 消息 (const C4DUuid &remoteUuid, const NetworkIpAddrPort *remoteAddr, Bool isPrivate, const BaseContainer &msg, BaseContainer &result) |
Bool | ClearResults (const C4DUuid &jobUuid) |
Bool | RemoveResult (const C4DUuid &jobUuid, const Filename &resResultPath) |
EDITION | GetEdition () const |
BaseContainer * | GetNetPreferences () const |
maxon::Result < void > | CopyRenderTaskFrom (const C4DUuid &jobUuid, maxon::BaseArray < RenderTask > &todo) |
MachineGroup * GetMachineHead | ( | ) | const |
机器 * GetFirstMachine | ( | ) | const |
机器 * FindMachine | ( | const C4DUuid & | uid , |
MACHINELIST | list , | ||
VERIFICATIONBIT |
bits
=
VERIFICATIONBIT::NONE
|
||
) | const |
maxon::RWSpinlock & GetMachineLock | ( | ) |
void GetAllMachineUuids | ( | maxon::BaseArray < C4DUuid > & | machineUuids , |
MACHINELIST |
list
=
MACHINELIST::ALL
,
|
||
VERIFICATIONBIT |
bits
=
VERIFICATIONBIT::NONE
,
|
||
Bool |
includeLocalMachine
=
true
,
|
||
Bool |
includeZeroConfMachines
=
true
|
||
) |
RenderJob * FindRenderJob | ( | const C4DUuid & | jobUuid , |
Bool | lookInServerList | ||
) | const |
const C4DUuid GetUuid | ( | ) | const |
void GetMacAddress | ( | maxon::BaseArray < UChar > & | macAddress | ) | const |
void CopyClientTasksFrom | ( | maxon::BaseArray < C4DUuid > & | jobUuids , |
maxon::BaseArray < Task > & | tasks | ||
) |
Repository & GetRepository | ( | ) |
UserPool & GetUserPool | ( | ) |
maxon::RWSpinlock & GetClientRenderJobLock | ( | ) |
String GetName | ( | ) | const |
Bool IsRunning | ( | ) | const |
Int32 GetCpuCount | ( | ) | const |
void NetConsoleOutput | ( | maxon::OUTPUT | flags , |
const maxon::String & | value , | ||
maxon::OUTPUTLOCATION | output , | ||
const maxon::SourceLocation & | loc | ||
) |
Bool AddLogToJob | ( | const C4DUuid & | jobUuid , |
const String & | log , | ||
Bool | doLock , | ||
Bool | append | ||
) |
Bool AddLogToMachine | ( | const C4DUuid & | machineUuid , |
const String & | log , | ||
Bool | doLock | ||
) |
Bool AddMachine | ( | const String & |
address
=
String()
,
|
const String & |
securityToken
=
String()
,
|
||
Bool |
allowGui
=
true
,
|
||
const C4DUuid * |
uuidOfMachineToOverwrite
=
nullptr
|
||
) |
String GetCurrentJobCommandAsString | ( | ) | const |
RenderJob * GetActive | ( | ) | const |
CREATEJOBRESULT CreateRenderJob | ( | const String & | docName , |
C4DUuid & | jobUuid , | ||
RENDERJOBCREATOR | creator , | ||
const String & | username , | ||
BaseThread * |
bt
=
nullptr
,
|
||
const Filename * |
watchFolderName
=
nullptr
|
||
) |
RENDERRESULT InitRendering | ( | BaseDocument * | doc , |
const BaseContainer & | rdata , | ||
const C4DUuid & | jobUuid , | ||
NETRENDERFLAGS | flags , | ||
PictureViewer * | pv , | ||
const BaseContainer & | machines , | ||
MultipassBitmap * |
bmp
=
nullptr
,
|
||
ProgressHook * |
prog
=
nullptr
,
|
||
WriteProgressHook * |
wprog
=
nullptr
,
|
||
void * |
context
=
nullptr
,
|
||
Bool * |
useFrameNumberAsSuffix
=
nullptr
,
|
||
Filename * |
dispname
=
nullptr
,
|
||
const maxon::BaseArray < Bool > * |
renderTasks
=
nullptr
|
||
) |
RENDERRESULT StartRendering | ( | THREADMODE | mode , |
BaseDocument * | doc , | ||
const C4DUuid & | jobUuid , | ||
BaseThread * | bt | ||
) |
Bool VerifyServerOnClient | ( | THREADMODE | mode , |
const C4DUuid & | machineUuid , | ||
const String & | securityToken , | ||
Bool | setClientAsGlobalSelected , | ||
Bool |
doLock
=
true
,
|
||
Int32 |
waitUntilExecutionInMs
=
0
|
||
) |
Bool DeleteRenderJob | ( | const C4DUuid & | jobUuid , |
Bool | informClients | ||
) |
Bool GetGlobalSelected | ( | maxon::BaseArray < C4DUuid > & | machines | ) |
Bool GetJobsList | ( | const BaseContainer & | settings , |
maxon::BaseArray < BaseContainer > & | jobs , | ||
Bool | triggerWatchDog , | ||
DETAILSELECTOR | rdata , | ||
DETAILSELECTOR | assets , | ||
DETAILSELECTOR | 结果 , | ||
DETAILSELECTOR | log , | ||
const C4DUuid * |
getOnlyThisJob
=
nullptr
,
|
||
Bool |
selectedJobOnly
=
false
,
|
||
const C4DUuid * |
user
=
nullptr
|
||
) |
Bool GetMachinesList | ( | maxon::BaseArray < BaseContainer > & | machines , |
Int32 | logCount , | ||
const C4DUuid * | getOnlyThisMachine | ||
) | const |
void GetGlobalSelectedMachines | ( | maxon::BaseArray < C4DUuid > & | machines , |
Bool & | atLeastOneMachineOnline | ||
) |
Bool InitAndStartRenderingFullAsync | ( | const C4DUuid & | jobUuid | ) |
void StopRendering | ( | THREADMODE | mode , |
const C4DUuid & | jobUuid , | ||
RENDERRESULT | result | ||
) |
Bool InsertJobBefore | ( | const C4DUuid & | jobUuid1 , |
const C4DUuid & | jobUuid2 | ||
) |
Bool InsertJobAfter | ( | const C4DUuid & | jobUuid1 , |
const C4DUuid & | jobUuid2 | ||
) |
Bool SetDefaultSceneName | ( | const C4DUuid & | jobUuid , |
const Filename & | defaultSceneName | ||
) |
Bool 消息 | ( | const C4DUuid & | remoteUuid , |
const NetworkIpAddrPort * | remoteAddr , | ||
Bool | isPrivate , | ||
const BaseContainer & | msg , | ||
BaseContainer & | result | ||
) |
Bool ClearResults | ( | const C4DUuid & | jobUuid | ) |
Bool RemoveResult | ( | const C4DUuid & | jobUuid , |
const Filename & | resResultPath | ||
) |
EDITION GetEdition | ( | ) | const |
BaseContainer * GetNetPreferences | ( | ) | const |
maxon::Result <void> CopyRenderTaskFrom | ( | const C4DUuid & | jobUuid , |
maxon::BaseArray < RenderTask > & | todo | ||
) |