![]() |
Muster SDK
8.0
|
Typedefs | |
| typedef struct MClientLib::MUSTERAUTH | MUSTERAUTH |
| typedef std::vector < MProcessSnapshot * > | processesSnapshot |
| typedef struct MClientLib::itemAttribute | itemAttribute |
| typedef std::map< std::string, itemAttribute > | itemAttributesMap |
| typedef struct MClientLib::MUSTER | MUSTER |
| typedef struct MClientLib::MUSTERCLIENT | MUSTERCLIENT |
| typedef struct MClientLib::itemAttribute MClientLib::itemAttribute |
itemAttribute structure that holds the status of an item inside the MPropertiesMap
Holds data related to an item inside the MPropertiesMap
| typedef std::map<std::string,itemAttribute> MClientLib::itemAttributesMap |
| typedef struct MClientLib::MUSTER MClientLib::MUSTER |
Client lib MUSTER session structure
Define a session structure. The MUSTER session structure is used for connections versus the Dispatcher service
| typedef struct MClientLib::MUSTERAUTH MClientLib::MUSTERAUTH |
| typedef struct MClientLib::MUSTERCLIENT MClientLib::MUSTERCLIENT |
Client lib MUSTERCLIENT session structure
Define a session structure. The MUSTERCLIENT session structure is used for connections versus a renderclient service
| typedef std::vector<MProcessSnapshot*> MClientLib::processesSnapshot |
Login response status
Enumerates the Dispatcher login response status
Network commands
Enumerates the low level Muster network commands
| MCLIENTLIB_API MUSTERERR MClientLib::AcquireServerStatus | ( | MUSTER * | m | ) |
Queries the Dispatcher about its current status, must be called before using GetAuthenticationStatus() to retrieve the MServerStatus class
| m | pointer to an existing MUSTER session structure |
| MCLIENTLIB_API MUSTERERR MClientLib::ActionChangePassword | ( | MUSTER * | m, |
| const char * | oldPassword, | ||
| const char * | newPassword | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::ActionChangeStatus | ( | MUSTER * | m | ) |
| MCLIENTLIB_API MUSTERERR MClientLib::ActionCreateFolder | ( | MUSTER * | m, |
| MJob & | job | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::ActionEditJob | ( | MUSTER * | m, |
| MJob & | job | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::ActionExportQueue | ( | MUSTER * | m, |
| MStringRef & | out | ||
| ) |
Exports a Dispatcher SQL queue dump
| m | pointer to an existing MUSTER session structure |
| out | a reference to an MStringRef object to store the SQL data |
| MCLIENTLIB_API MUSTERERR MClientLib::ActionForceLDAPUpdate | ( | MUSTER * | m | ) |
| MCLIENTLIB_API MUSTERERR MClientLib::ActionImportQueue | ( | MUSTER * | m, |
| MStringRef & | in | ||
| ) |
Imports a Dispatcher SQL queue dump
| m | pointer to an existing MUSTER session structure |
| in | a reference to an MStringRef object holding the SQL data |
| MCLIENTLIB_API MUSTERERR MClientLib::ActionResetCounters | ( | MUSTER * | m | ) |
| MCLIENTLIB_API MUSTERERR MClientLib::ActionSendJob | ( | MUSTER * | m, |
| MJob & | job | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::ActionSoftRestart | ( | MUSTER * | m | ) |
| MCLIENTLIB_API MUSTERERR MClientLib::AddGroup | ( | MUSTER * | m, |
| MGroup & | group | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::AddUser | ( | MUSTER * | m, |
| MUser & | user | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::Authenticate | ( | MUSTERCLIENT * | m, |
| const char * | password | ||
| ) |
Authenticate over a management connection, it may be required if a node as a password protected configuration
| m | pointer to an existing MUSTERCLIENT session structure |
| password | the management password on the node |
| MCLIENTLIB_API MUSTERERR MClientLib::Authenticate | ( | MUSTER * | m, |
| const char * | username, | ||
| const char * | password, | ||
| bool | skipDirectoryServer = false |
||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::ChunkActionSetCompleted | ( | MUSTER * | m, |
| long | jobId, | ||
| long | chunkId | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::ChunkActionSetCompleted | ( | MUSTER * | m, |
| long | jobId, | ||
| std::vector< long > | id | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::ChunkActionSetOnHold | ( | MUSTER * | m, |
| long | jobId, | ||
| long | chunkId | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::ChunkActionSetOnHold | ( | MUSTER * | m, |
| long | jobId, | ||
| std::vector< long > | id | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::ClearJobsHistory | ( | MUSTER * | m, |
| long | startingTime, | ||
| long | endingTime | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::ClearStatisticsHistory | ( | MUSTER * | m, |
| long | startingTime, | ||
| long | endingTime | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::ConfigureGroup | ( | MUSTER * | m, |
| MGroup & | group | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::ConfigureUser | ( | MUSTER * | m, |
| MUser & | user | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::Connect | ( | MUSTERCLIENT * | m, |
| const char * | clientAddress, | ||
| int | clientPort, | ||
| long | maxSocketReadBytes = 65000000, |
||
| long | maxSocketWriteBytes = 65000000 |
||
| ) |
Connect to a node to establish a management session
| m | pointer to an existing MUSTERCLIENT session structure |
| clientAddress | the host name of IP address of the client |
| clientPort | the management port of the client |
| maxSocketReadBytes | the size in bytes of the socket read buffer |
| maxSocketWriteBytes | the size in bytes of the socket write buffer |
| MCLIENTLIB_API MUSTERERR MClientLib::Connect | ( | MUSTER * | m, |
| const char * | dispatcherAddress, | ||
| int | dispatcherPort, | ||
| long | maxSocketReadBytes = 65000000, |
||
| long | maxSocketWriteBytes = 65000000 |
||
| ) |
Connect to the Dispatcher to establish a session
| m | pointer to an existing MUSTER session structure |
| dispatcherAddress | the host name of IP address of the dispatcher |
| dispatcherPort | the management port of the Dispatcher |
| maxSocketReadBytes | the size in bytes of the socket read buffer |
| maxSocketWriteBytes | the size in bytes of the socket write buffer |
| MCLIENTLIB_API MUSTERERR MClientLib::Disconnect | ( | MUSTERCLIENT * | m | ) |
Disconnect an existing client management session
| m | pointer to an existing MUSTERCLIENT session structure |
| MCLIENTLIB_API MUSTERERR MClientLib::Disconnect | ( | MUSTER * | m | ) |
| MCLIENTLIB_API MUSTERERR MClientLib::GetAccounts | ( | MUSTER * | m, |
| std::vector< MUser > & | users, | ||
| std::vector< MGroup > & | groups | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::GetActionLogContent | ( | MUSTER * | m, |
| const char * | filename, | ||
| MStringRef & | out | ||
| ) |
Gets the content of a Dispatcher action log
| m | pointer to an existing MUSTER session structure |
| filename | The filename of the log to retrieve |
| out | a reference to an MStringRef object to store the log content |
| MCLIENTLIB_API MUSTERERR MClientLib::GetActionLogs | ( | MUSTER * | m, |
| std::vector< std::string > & | logs | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::GetActivityLogContent | ( | MUSTERCLIENT * | m, |
| const char * | filename, | ||
| MStringRef & | out | ||
| ) |
Gets the content of an activity log
| m | pointer to an existing MUSTERCLIENT session structure |
| filename | the filename of the log to retrieve |
| out | an MStringRef() where to store the output |
| MCLIENTLIB_API MUSTERERR MClientLib::GetActivityLogContent | ( | MUSTER * | m, |
| const char * | filename, | ||
| MStringRef & | out | ||
| ) |
Gets the content of a Dispatcher activity log
| m | pointer to an existing MUSTER session structure |
| filename | The filename of the log to retrieve |
| out | a reference to an MStringRef object to store the log content |
| MCLIENTLIB_API MUSTERERR MClientLib::GetActivityLogs | ( | MUSTERCLIENT * | m, |
| std::vector< std::string > & | logs | ||
| ) |
Gets the list of the activity logs available on the node
| m | pointer to an existing MUSTERCLIENT session structure |
| logs | a vector of strings used to store the list |
| MCLIENTLIB_API MUSTERERR MClientLib::GetActivityLogs | ( | MUSTER * | m, |
| std::vector< std::string > & | logs | ||
| ) |
| MCLIENTLIB_API MUSTERAUTH MClientLib::GetAuthenticationStatus | ( | MUSTER * | m | ) |
Gets the Dispatcher server current authentication status
| m | pointer to an existing MUSTER session structure |
| MCLIENTLIB_API MUSTERERR MClientLib::GetChunk | ( | MUSTER * | m, |
| MChunk & | chunk, | ||
| long | jobId, | ||
| long | chunkId | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::GetChunks | ( | MUSTER * | m, |
| long | jobId, | ||
| int | filterMask, | ||
| std::vector< MChunk > & | chunks | ||
| ) |
Gets the chunks list of a job from the Dispatcher
| m | pointer to an existing MUSTER session structure |
| jobId | ID of the job to query |
| filterMask | specify a bit mask for the query operation made with the constants from MChunk::kChunksStatus |
| chunks | reference to an MChunk vector |
| MCLIENTLIB_API MUSTERERR MClientLib::GetDispatcherConfiguration | ( | MUSTER * | m, |
| MDispatcherConfiguration & | configurationObject | ||
| ) |
Gets the Dispatcher active configuration
| m | pointer to an existing MUSTER session structure |
| configurationObject | a reference to a MDispatcherConfiguration object to store the configuration |
| MCLIENTLIB_API MUSTERERR MClientLib::GetDispatcherLDAPConfiguration | ( | MUSTER * | m, |
| MDispatcherConfigurationLDAP & | configurationObject | ||
| ) |
Gets the Dispatcher active LDAP configuration
| m | pointer to an existing MUSTER session structure |
| configurationObject | a reference to a MDispatcherConfigurationLDAP object to store the configuration |
| MCLIENTLIB_API std::string MClientLib::GetFileFromMask | ( | const std::string & | mask, |
| int | frameNumber | ||
| ) |
Converts an image sequence mask to an effective file path
| path | The path mask |
| frameNumber | The frame number to be substituted with the mask |
| MCLIENTLIB_API MUSTERERR MClientLib::GetGroup | ( | MUSTER * | m, |
| const char * | groupName, | ||
| MGroup & | group | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::GetHistoryBounds | ( | MUSTER * | m, |
| MSamplesBoundaries & | boundaries | ||
| ) |
Get the bounds as time_c objects of the history and jobs history database as an MSamplesBoundaries object
| m | pointer to an existing MUSTER session structure |
| boundaries | A reference to an MSamplesBoundaries object to store the boundaries |
| MCLIENTLIB_API MUSTERERR MClientLib::GetJob | ( | MUSTER * | m, |
| MJob & | job, | ||
| long | jobId | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::GetJobHistory | ( | MUSTER * | m, |
| long | jobId, | ||
| std::vector< MHistoryChunk > & | samples | ||
| ) |
Gets a set of jobs history samples belonging to a specific job ID
| m | pointer to an existing MUSTER session structure |
| jobId | the job ID to query |
| samples | A reference to a vector of MHistoryChunk objects to store the samples |
| MCLIENTLIB_API MUSTERERR MClientLib::GetJobs | ( | MUSTER * | m, |
| int | filterMask, | ||
| std::vector< MJob > & | jobs, | ||
| bool | queryArchivied | ||
| ) |
Gets the jobs list from the Dispatcher
| m | pointer to an existing MUSTER session structure |
| filterMask | specify a bit mask for the query operation made with the constants from MJob::kJobsStatus |
| jobs | reference to an MJob vector |
| queryArchivied | includes the archivied jobs in the query |
| MCLIENTLIB_API MUSTERERR MClientLib::GetJobsHistory | ( | MUSTER * | m, |
| long | startingTime, | ||
| long | endingTime, | ||
| const char * | filterField, | ||
| const char * | filter, | ||
| std::vector< MHistoryChunk > & | samples | ||
| ) |
Gets a set of jobs history samples
| m | pointer to an existing MUSTER session structure |
| startingTime | the starting time, as a time_c object to collect the samples |
| endingTime | the ending time, as a time_c object to collect the samples |
| filterField | the name of the field to use as a filter to collect the samples |
| filter | the content of the filter that must match to query the samples |
| samples | A reference to a vector of MHistoryChunk objects to store the samples |
| MCLIENTLIB_API std::string MClientLib::GetLibraryPath | ( | ) |
Gets the library execution path. When invoked from within a template, it returns the Muster installation path
| MCLIENTLIB_API MUSTERERR MClientLib::GetLogs | ( | MUSTER * | m, |
| int | filterMask, | ||
| std::vector< MLog > & | logs | ||
| ) |
Gets the logs list from the Dispatcher
| m | pointer to an existing MUSTER session structure |
| filterMask | specify a bit mask for the query operation made with the constants from MLog::kLogsSource |
| logs | reference to an MLog vector |
| MCLIENTLIB_API MUSTERERR MClientLib::GetMails | ( | MUSTER * | m, |
| std::vector< MMailList > & | mails | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::GetNode | ( | MUSTER * | m, |
| MNode & | node, | ||
| long | nodeId | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::GetNodeConfiguration | ( | MUSTERCLIENT * | m, |
| MNodeConfiguration & | configurationObject | ||
| ) |
Retrieves the node current configuration as an MNodeConfiguration object
| m | pointer to an existing MUSTERCLIENT session structure |
| configurationObject | the MNodeConfiguration object used to store the configuration |
| MCLIENTLIB_API MUSTERERR MClientLib::GetNodes | ( | MUSTER * | m, |
| int | filterMask, | ||
| std::vector< MNode > & | nodes | ||
| ) |
Gets the nodes list from the Dispatcher
| m | pointer to an existing MUSTER session structure |
| filterMask | specify a bit mask for the query operation made with the constants from MNode::kInstancesStatus |
| nodes | reference to an MNode vector |
| MCLIENTLIB_API int MClientLib::GetPlatform | ( | ) |
Gets the active platform returning one of the values in the kPlatforms enumerator
| MCLIENTLIB_API MUSTERERR MClientLib::GetPools | ( | MUSTER * | m, |
| MPools & | pools | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::GetProcessesLogContent | ( | MUSTERCLIENT * | m, |
| const char * | filename, | ||
| MStringRef & | out | ||
| ) |
Gets the content of a process log
| m | pointer to an existing MUSTERCLIENT session structure |
| filename | the filename of the log to retrieve |
| out | an MStringRef() where to store the output |
| MCLIENTLIB_API MUSTERERR MClientLib::GetProcessesLogs | ( | MUSTERCLIENT * | m, |
| std::vector< std::string > & | logs | ||
| ) |
Gets the list of the processes logs available on the node
| m | pointer to an existing MUSTERCLIENT session structure |
| logs | a vector of strings used to store the list |
| MCLIENTLIB_API MUSTERERR MClientLib::GetRepositories | ( | MUSTER * | m, |
| std::vector< MRepository > & | repositories | ||
| ) |
Gets the Dispatcher repositories list configuration
| m | pointer to an existing MUSTER session structure |
| repositories | a reference to an MRepository vector object to store the configuration |
| MCLIENTLIB_API std::string MClientLib::GetSequenceMask | ( | const std::string & | path, |
| bool | hashedFormat, | ||
| int & | frame | ||
| ) |
Converts an image frame to a frame sequence mask with # for number padding
| path | The frame path |
| hashedFormat | Specifies if an hashed format should be generated (file.####.) or a ffmpeg style one (file.%4d..) |
| frame | An int reference for the frame detected inside the path |
| MCLIENTLIB_API std::string MClientLib::GetSequenceMask | ( | const std::string & | path | ) |
Converts an image frame to a frame sequence mask with # for number padding
| path | The frame path |
| MCLIENTLIB_API MServerStatus MClientLib::GetServerStatus | ( | MUSTER * | m | ) |
Gets the Dispatcher server current status
| m | pointer to an existing MUSTER session structure |
| MCLIENTLIB_API MUSTERERR MClientLib::GetStatistics | ( | MUSTER * | m, |
| MDispatcherStatistics & | statistics | ||
| ) |
Gets the current statistic samples from the Dispatcher service
| m | pointer to an existing MUSTER session structure |
| statistics | A reference to a MDispatcherStatistics objects to store the samples |
| MCLIENTLIB_API MUSTERERR MClientLib::GetStatisticsHistory | ( | MUSTER * | m, |
| long | startingTime, | ||
| long | endingTime, | ||
| std::vector< MStatisticsSample > & | samples | ||
| ) |
Gets a set of statistics history samples
| m | pointer to an existing MUSTER session structure |
| startingTime | the starting time, as a time_c object to collect the samples |
| endingTime | the ending time, as a time_c object to collect the samples |
| samples | A reference to a vector of MStatisticsSample objects to store the samples |
| MCLIENTLIB_API MUSTERERR MClientLib::GetUser | ( | MUSTER * | m, |
| const char * | userName, | ||
| MUser & | user | ||
| ) |
| MCLIENTLIB_API MUSTERCLIENT* MClientLib::InitializeClientSession | ( | void | ) |
Initializes a new connection session to a render client node
| MCLIENTLIB_API MUSTERERR MClientLib::InitializeLibrary | ( | const char * | module | ) |
Initializes the client library. This must be the first function called!
| module | path to the executable, usually argv[0] |
| MCLIENTLIB_API MUSTER* MClientLib::InitializeSession | ( | void | ) |
Initializes a new connection session to the Dispatcher
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionArchive | ( | MUSTER * | m, |
| long | jobId | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionArchive | ( | MUSTER * | m, |
| std::vector< long > | id | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionDelete | ( | MUSTER * | m, |
| long | jobId | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionDelete | ( | MUSTER * | m, |
| std::vector< long > | id | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionKillAndGoOn | ( | MUSTER * | m, |
| long | jobId | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionKillAndGoOn | ( | MUSTER * | m, |
| std::vector< long > | id | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionKillAndPause | ( | MUSTER * | m, |
| long | jobId | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionKillAndPause | ( | MUSTER * | m, |
| std::vector< long > | id | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionKillAndRedo | ( | MUSTER * | m, |
| long | jobId | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionKillAndRedo | ( | MUSTER * | m, |
| std::vector< long > | id | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionLock | ( | MUSTER * | m, |
| long | jobId | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionLock | ( | MUSTER * | m, |
| std::vector< long > | id | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionPause | ( | MUSTER * | m, |
| long | jobId | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionPause | ( | MUSTER * | m, |
| std::vector< long > | id | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionReinit | ( | MUSTER * | m, |
| long | jobId | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionReinit | ( | MUSTER * | m, |
| std::vector< long > | id | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionRename | ( | MUSTER * | m, |
| long | jobId, | ||
| const char * | name | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionResume | ( | MUSTER * | m, |
| long | jobId | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionResume | ( | MUSTER * | m, |
| std::vector< long > | id | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionSetDepartment | ( | MUSTER * | m, |
| long | jobId, | ||
| const char * | departmentName | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionSetDepartment | ( | MUSTER * | m, |
| std::vector< long > | id, | ||
| const char * | departmentName | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionSetDependMode | ( | MUSTER * | m, |
| long | jobId, | ||
| int | dependMode | ||
| ) |
Sets a job dependencies evaluation mode
| m | pointer to an existing MUSTER session structure |
| jobId | the ID of the target job |
| dependMode | one of the values from MJob::kJobsDependMode |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionSetDependMode | ( | MUSTER * | m, |
| std::vector< long > | id, | ||
| int | dependMode | ||
| ) |
Sets the dependencies evaluation mode on multiple jobs
| m | pointer to an existing MUSTER session structure |
| id | a vector of long values holding the jobs IDs |
| dependMode | one of the values from MJob::kJobsDependMode |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionSetDepends | ( | MUSTER * | m, |
| long | jobId, | ||
| const char * | depends | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionSetDepends | ( | MUSTER * | m, |
| std::vector< long > | id, | ||
| const char * | depends | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionSetExcludedPools | ( | MUSTER * | m, |
| long | jobId, | ||
| const char * | pools | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionSetExcludedPools | ( | MUSTER * | m, |
| std::vector< long > | id, | ||
| const char * | pools | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionSetMaximumNodes | ( | MUSTER * | m, |
| long | jobId, | ||
| int | maximumNodes | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionSetMaximumNodes | ( | MUSTER * | m, |
| std::vector< long > | id, | ||
| int | maximumNodes | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionSetMinimumCores | ( | MUSTER * | m, |
| long | jobId, | ||
| bool | enable, | ||
| int | minimumCores | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionSetMinimumCores | ( | MUSTER * | m, |
| std::vector< long > | id, | ||
| bool | enable, | ||
| int | minimumCores | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionSetMinimumCoresSpeed | ( | MUSTER * | m, |
| long | jobId, | ||
| bool | enable, | ||
| double | minimumCoreSpeed | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionSetMinimumCoresSpeed | ( | MUSTER * | m, |
| std::vector< long > | id, | ||
| bool | enable, | ||
| double | minimumCoreSpeed | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionSetMinimumDiskSpaceAmount | ( | MUSTER * | m, |
| long | jobId, | ||
| bool | enable, | ||
| double | minimumDiskSpace | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionSetMinimumDiskSpaceAmount | ( | MUSTER * | m, |
| std::vector< long > | id, | ||
| bool | enable, | ||
| double | minimumDiskSpace | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionSetMinimumLogicalUnits | ( | MUSTER * | m, |
| long | jobId, | ||
| bool | enable, | ||
| int | minimumLogicalUnits | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionSetMinimumLogicalUnits | ( | MUSTER * | m, |
| std::vector< long > | id, | ||
| bool | enable, | ||
| int | minimumLogicalUnits | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionSetMinimumPhysicalUnits | ( | MUSTER * | m, |
| long | jobId, | ||
| bool | enable, | ||
| int | minimumPhysicalUnits | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionSetMinimumPhysicalUnits | ( | MUSTER * | m, |
| std::vector< long > | id, | ||
| bool | enable, | ||
| int | minimumPhysicalUnits | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionSetMinimumRamAmount | ( | MUSTER * | m, |
| long | jobId, | ||
| bool | enable, | ||
| double | minimumRamAmount | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionSetMinimumRamAmount | ( | MUSTER * | m, |
| std::vector< long > | id, | ||
| bool | enable, | ||
| double | minimumRamAmount | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionSetNotes | ( | MUSTER * | m, |
| long | jobId, | ||
| const char * | notes | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionSetNotes | ( | MUSTER * | m, |
| std::vector< long > | id, | ||
| const char * | notes | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionSetOwner | ( | MUSTER * | m, |
| long | jobId, | ||
| const char * | ownerName | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionSetOwner | ( | MUSTER * | m, |
| std::vector< long > | id, | ||
| const char * | ownerName | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionSetParent | ( | MUSTER * | m, |
| long | jobId, | ||
| long | parentId | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionSetParent | ( | MUSTER * | m, |
| std::vector< long > | id, | ||
| long | parentId | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionSetPauseOn | ( | MUSTER * | m, |
| long | jobId, | ||
| long long int | time | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionSetPauseOn | ( | MUSTER * | m, |
| std::vector< long > | id, | ||
| long long int | time | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionSetPools | ( | MUSTER * | m, |
| long | jobId, | ||
| const char * | pools | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionSetPools | ( | MUSTER * | m, |
| std::vector< long > | id, | ||
| const char * | pools | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionSetPriority | ( | MUSTER * | m, |
| long | jobId, | ||
| int | priority | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionSetPriority | ( | MUSTER * | m, |
| std::vector< long > | id, | ||
| int | priority | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionSetProcessErrorExitCodes | ( | MUSTER * | m, |
| long | jobId, | ||
| bool | enable, | ||
| const char * | errorExitCodes | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionSetProcessErrorExitCodes | ( | MUSTER * | m, |
| std::vector< long > | id, | ||
| bool | enable, | ||
| const char * | errorExitCodes | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionSetProcessErrorLogTexts | ( | MUSTER * | m, |
| long | jobId, | ||
| bool | enable, | ||
| const char * | errorLogTexts | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionSetProcessErrorLogTexts | ( | MUSTER * | m, |
| std::vector< long > | id, | ||
| bool | enable, | ||
| const char * | errorLogTexts | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionSetProcessValidExitCodes | ( | MUSTER * | m, |
| long | jobId, | ||
| bool | enable, | ||
| const char * | validExitCodes | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionSetProcessValidExitCodes | ( | MUSTER * | m, |
| std::vector< long > | id, | ||
| bool | enable, | ||
| const char * | validExitCodes | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionSetProcessValidLogTexts | ( | MUSTER * | m, |
| long | jobId, | ||
| bool | enable, | ||
| const char * | validLogTexts | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionSetProcessValidLogTexts | ( | MUSTER * | m, |
| std::vector< long > | id, | ||
| bool | enable, | ||
| const char * | validLogTexts | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionSetProcessWarningExitCodes | ( | MUSTER * | m, |
| long | jobId, | ||
| bool | enable, | ||
| const char * | warningExitCodes | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionSetProcessWarningExitCodes | ( | MUSTER * | m, |
| std::vector< long > | id, | ||
| bool | enable, | ||
| const char * | warningExitCodes | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionSetProcessWarningLogTexts | ( | MUSTER * | m, |
| long | jobId, | ||
| bool | enable, | ||
| const char * | warningLogTexts | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionSetProcessWarningLogTexts | ( | MUSTER * | m, |
| std::vector< long > | id, | ||
| bool | enable, | ||
| const char * | warningLogTexts | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionSetProject | ( | MUSTER * | m, |
| long | jobId, | ||
| const char * | groupName | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionSetProject | ( | MUSTER * | m, |
| std::vector< long > | id, | ||
| const char * | groupName | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionSetResumeOn | ( | MUSTER * | m, |
| long | jobId, | ||
| long long int | time | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionSetResumeOn | ( | MUSTER * | m, |
| std::vector< long > | id, | ||
| long long int | time | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionSetStartsOn | ( | MUSTER * | m, |
| long | jobId, | ||
| long long int | time | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionSetStartsOn | ( | MUSTER * | m, |
| std::vector< long > | id, | ||
| long long int | time | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionSetTemplate | ( | MUSTER * | m, |
| long | jobId, | ||
| int | templateId | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionSetTemplate | ( | MUSTER * | m, |
| std::vector< long > | id, | ||
| int | templateId | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionUnarchive | ( | MUSTER * | m, |
| long | jobId | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionUnarchive | ( | MUSTER * | m, |
| std::vector< long > | id | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionUnlock | ( | MUSTER * | m, |
| long | jobId | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::JobActionUnlock | ( | MUSTER * | m, |
| std::vector< long > | id | ||
| ) |
| MCLIENTLIB_API void MClientLib::LoadTemplates | ( | const char * | templatesPath | ) |
Loads the templates available at the specified path into the current template manager context
| templatesPath | Path to the directory holding the templates files |
| MCLIENTLIB_API int MClientLib::MNetGetCurrentMessage | ( | MUSTERCLIENT * | m | ) |
Get the current message retrieved by a previous call to MNGetNextMessage
| m | pointer to an existing MUSTERCLIENT session structure |
| MCLIENTLIB_API int MClientLib::MNetGetCurrentMessage | ( | MUSTER * | m | ) |
| MCLIENTLIB_API int MClientLib::MNetGetCurrentMessageActionId | ( | MUSTERCLIENT * | m | ) |
Get the action ID associated with the current message
| m | pointer to an existing MUSTERCLIENT session structure |
| MCLIENTLIB_API int MClientLib::MNetGetCurrentMessageActionId | ( | MUSTER * | m | ) |
Get the action ID associated with the current message
| m | pointer to an existing MUSTER session structure |
| MCLIENTLIB_API char* MClientLib::MNetGetCurrentMessageData | ( | MUSTERCLIENT * | m | ) |
Get the current message parameters as a buffer
| m | pointer to an existing MUSTERCLIENT session structure |
| MCLIENTLIB_API char* MClientLib::MNetGetCurrentMessageData | ( | MUSTER * | m | ) |
Get the current message parameters as a buffer
| m | pointer to an existing MUSTER session structure |
| MCLIENTLIB_API std::vector<std::string> MClientLib::MNetGetCurrentMessageParameters | ( | MUSTERCLIENT * | m | ) |
Get the current message parameters as a vector of string
| m | pointer to an existing MUSTERCLIENT session structure |
| MCLIENTLIB_API std::vector<std::string> MClientLib::MNetGetCurrentMessageParameters | ( | MUSTER * | m | ) |
Get the current message parameters as a vector of string
| m | pointer to an existing MUSTER session structure |
| MCLIENTLIB_API MUSTERERR MClientLib::MNetGetNextMessage | ( | MUSTERCLIENT * | m | ) |
Get the next message in the socket queue. This is a blocking operation if no mmessage is available
| m | pointer to an existing MUSTERCLIENT session structure |
| MCLIENTLIB_API MUSTERERR MClientLib::MNetGetNextMessage | ( | MUSTER * | m | ) |
| MCLIENTLIB_API MUSTERERR MClientLib::MNetSendMessage | ( | MUSTERCLIENT * | m, |
| int | message, | ||
| int | actionId, | ||
| const char * | parameters = 0, |
||
| bool | waitForCompletion = true |
||
| ) |
Sends a network message on an existing node management session
| m | pointer to an existing MUSTERCLIENT session structure |
| message | the message to send |
| actionId | an optional ID to identify the message action. If an ID is specified the function will return only after completion |
| parameters | additional parameters to concatenate to the message |
| waitForCompletion | if an actionId is specified, setting the parameter to false let you wait for a completion later using MNetWaitForMessage() |
| MCLIENTLIB_API MUSTERERR MClientLib::MNetSendMessage | ( | MUSTER * | m, |
| int | message, | ||
| int | actionId, | ||
| const char * | parameters = 0, |
||
| bool | waitForCompletion = true |
||
| ) |
Sends a network message on an existing node management session
| m | pointer to an existing MUSTER session structure |
| message | the message to send |
| actionId | an optional ID to identify the message action. If an ID is specified the function will return only after completion |
| parameters | additional parameters to concatenate to the message |
| waitForCompletion | if an actionId is specified, setting the parameter to false let you wait for a completion later using MNetWaitForMessage() |
| MCLIENTLIB_API MUSTERERR MClientLib::MNetTask | ( | MUSTERCLIENT * | m | ) |
Forces an event loop on the network connection to retrieve messages or send queued ones
| m | pointer to an existing MUSTERCLIENT session structure |
| MCLIENTLIB_API MUSTERERR MClientLib::MNetTask | ( | MUSTER * | m | ) |
| MCLIENTLIB_API MUSTERERR MClientLib::MNetWaitForActionCompletation | ( | MUSTERCLIENT * | m, |
| int | actionId | ||
| ) |
Wait for the completion of a specific action
| m | pointer to an existing MUSTERCLIENT session structure |
| actionId | action to wait for |
| MCLIENTLIB_API MUSTERERR MClientLib::MNetWaitForActionCompletation | ( | MUSTER * | m, |
| int | actionId | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::MNetWaitForMessage | ( | MUSTERCLIENT * | m, |
| int | message, | ||
| int | actionId = 0 |
||
| ) |
Wait for a specific message or an action completion if an actionId is used
| m | pointer to an existing MUSTERCLIENT session structure |
| message | message to wait for |
| actionId | optional action ID |
| MCLIENTLIB_API MUSTERERR MClientLib::MNetWaitForMessage | ( | MUSTER * | m, |
| int | message, | ||
| int | actionId = 0 |
||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::MNetWaitForMessages | ( | MUSTERCLIENT * | m, |
| int | messages[], | ||
| int | messagesCount, | ||
| int | actionId = 0 |
||
| ) |
Wait for specific messages or an action completion if an actionId is used
| m | pointer to an existing MUSTERCLIENT session structure |
| messages | array of messages to wait for |
| messagesCount | number of messages in the array |
| actionId | optional action ID |
| MCLIENTLIB_API MUSTERERR MClientLib::MNetWaitForMessages | ( | MUSTER * | m, |
| int | messages[], | ||
| int | messagesCount, | ||
| int | actionId = 0 |
||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::NodeActionChangeNotes | ( | MUSTER * | m, |
| long | nodeId, | ||
| const char * | notes | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::NodeActionChangeNotes | ( | MUSTER * | m, |
| std::vector< long > | id, | ||
| const char * | notes | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::NodeActionKillAndGo | ( | MUSTER * | m, |
| long | nodeId | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::NodeActionKillAndGo | ( | MUSTER * | m, |
| std::vector< long > | id | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::NodeActionKillAndPause | ( | MUSTER * | m, |
| long | nodeId | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::NodeActionKillAndPause | ( | MUSTER * | m, |
| std::vector< long > | id | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::NodeActionKillAndRedo | ( | MUSTER * | m, |
| long | nodeId | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::NodeActionKillAndRedo | ( | MUSTER * | m, |
| std::vector< long > | id | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::NodeActionPause | ( | MUSTER * | m, |
| long | nodeId | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::NodeActionPause | ( | MUSTER * | m, |
| std::vector< long > | id | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::NodeActionResume | ( | MUSTER * | m, |
| long | nodeId | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::NodeActionResume | ( | MUSTER * | m, |
| std::vector< long > | id | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::NodeActionSoftRestart | ( | MUSTER * | m, |
| long | nodeId | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::NodeActionSoftRestart | ( | MUSTER * | m, |
| std::vector< long > | id | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::RemoveActionLog | ( | MUSTER * | m, |
| const char * | filename | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::RemoveActivityLog | ( | MUSTERCLIENT * | m, |
| const char * | filename | ||
| ) |
Removes an activity log file
| m | pointer to an existing MUSTERCLIENT session structure |
| filename | the filename of the log to remove |
| MCLIENTLIB_API MUSTERERR MClientLib::RemoveActivityLog | ( | MUSTER * | m, |
| const char * | filename | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::RemoveGroup | ( | MUSTER * | m, |
| const char * | groupName | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::RemoveProcessesLog | ( | MUSTERCLIENT * | m, |
| const char * | filename | ||
| ) |
Removes a process log file
| m | pointer to an existing MUSTERCLIENT session structure |
| filename | the filename of the log to remove |
| MCLIENTLIB_API MUSTERERR MClientLib::RemoveUser | ( | MUSTER * | m, |
| const char * | userName | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::SendAccounts | ( | MUSTER * | m, |
| std::vector< MUser > & | users, | ||
| std::vector< MGroup > & | groups | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::SendDispatcherConfiguration | ( | MUSTER * | m, |
| MDispatcherConfiguration & | configurationObject | ||
| ) |
Sends the Dispatcher configuration
| m | pointer to an existing MUSTER session structure |
| configurationObject | a reference to a MDispatcherConfiguration object to read the configuration |
| MCLIENTLIB_API MUSTERERR MClientLib::SendDispatcherLDAPConfiguration | ( | MUSTER * | m, |
| MDispatcherConfigurationLDAP & | configurationObject | ||
| ) |
Sends the Dispatcher LDAP configuration
| m | pointer to an existing MUSTER session structure |
| configurationObject | a reference to a MDispatcherConfigurationLDAP object to read the configuration |
| MCLIENTLIB_API MUSTERERR MClientLib::SendNodeConfiguration | ( | MUSTERCLIENT * | m, |
| MNodeConfiguration & | configurationObject | ||
| ) |
Reconfigures a node
| m | pointer to an existing MUSTERCLIENT session structure |
| configurationObject | the MNodeConfiguration object used to store the configuration |
| MCLIENTLIB_API void MClientLib::SetClientSessionAsync | ( | MUSTERCLIENT * | m, |
| bool | state | ||
| ) |
Set synchronous or asynchronous mode for an existing render client node session
| m | pointer to an existing MUSTERCLIENT session structure |
| state | sets asynchronous state to true or false |
| MCLIENTLIB_API MUSTERERR MClientLib::SetMails | ( | MUSTER * | m, |
| std::vector< MMailList > & | mails | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::SetPools | ( | MUSTER * | m, |
| MPools & | pools | ||
| ) |
| MCLIENTLIB_API MUSTERERR MClientLib::SetRepositories | ( | MUSTER * | m, |
| std::vector< MRepository > & | repositories | ||
| ) |
Sends the Dispatcher repositories list configuration
| m | pointer to an existing MUSTER session structure |
| repositories | a reference to an MRepository vector object to read the configuration |
| MCLIENTLIB_API void MClientLib::SetSessionAsync | ( | MUSTER * | m, |
| bool | state | ||
| ) |
Set synchronous or asynchronous mode for an existing Dispatcher connection session
| m | pointer to an existing MUSTER session structure |
| state | sets asynchronous state to true or false |
| MCLIENTLIB_API void MClientLib::ShutdownClientSession | ( | MUSTERCLIENT * | m | ) |
Deallocates a connection session to a render client node
| m | pointer to an existing MUSTERCLIENT session structure |
| MCLIENTLIB_API void MClientLib::ShutdownLibrary | ( | ) |
Shutdowns the client library. This must be the last function called to release internal data binds and allocated memory
| MCLIENTLIB_API void MClientLib::ShutdownSession | ( | MUSTER * | m | ) |
Deallocates a connection session to the Dispatcher
| m | pointer to an existing MUSTER session structure |
| MCLIENTLIB_API MUSTERERR MClientLib::SynchronizeTemplates | ( | MUSTER * | m | ) |