3ds Max C++ API Reference
Job Struct Reference

#include <maxnet_job.h>

+ Inheritance diagram for Job:

Public Attributes

DWORD size
 The size of the structure, being sizeof(Job). More...
 
DWORD version
 The structure version information, defined by _JOB_VERSION. More...
 
DWORD server_pid
 The server Process ID which is used by 3ds max to check server's health. More...
 
DWORD flags
 The job flags, defined as the following values: More...
 
HJOB hJob
 Handle to the job, assigned by the Manager when a job is created/submitted. More...
 
MCHAR name [MAX_PATH]
 The name of the job. More...
 
DWORD filesize
 This variable is used internally when transferring an archive and specifies its size. More...
 
DWORD filesizeextracted
 This variable is used internally when transferring an archive and specifies its uncompressed size. More...
 
SYSTEMTIME submission
 The system time, set when a job is created/submitted. More...
 
SYSTEMTIME startjob
 The system time, set when a job starts. More...
 
SYSTEMTIME endjob
 The system time, set when a job is completed. More...
 
int servercount
 The number of servers defined for the job (can be 0 if JOB_ALLSERVERS is set). More...
 
AlertData alerts
 The alert notification data structure. More...
 
int jobtextcount
 The number of JobTextInfo records. More...
 
int firstframe
 The first frame in the range. More...
 
int lastframe
 The last frame in the range. More...
 
int step
 The frame step value (i.e. More...
 
int width
 The frame output dimensions (width / height). More...
 
int height
 
int frames_completed
 The number of frames completed. More...
 
MCHAR priority
 The job priority level. More...
 
MCHAR reserved [32]
 Reserved for future use. More...
 
MaxJob maxJob
 Specific information about a job pertaining to 3ds Max. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from MaxHeapOperators
static UtilExport voidoperator new (size_t size)
 Standard new operator used to allocate objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, const std::nothrow_t &e)
 Standard new operator used to allocate objects if there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new (size_t size, const char *filename, int line)
 New operator used to allocate objects that takes the filename and line number where the new was called If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, int block_type, const char *filename, int line)
 New operator used to allocate objects that takes the type of memory, filename and line number where the new was called If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, const std::nothrow_t &e, const char *filename, int line)
 New operator used to allocate objects that takes the filename and line number where the new was called If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new (size_t size, unsigned long flags)
 New operator used to allocate objects that takes extra flags to specify special operations If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, const std::nothrow_t &e, unsigned long flags)
 New operator used to allocate objects that takes extra flags to specify special operations If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new[] (size_t size)
 New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new[] (size_t size, const std::nothrow_t &e)
 New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new[] (size_t size, const char *filename, int line)
 New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new[] (size_t size, int block_type, const char *filename, int line)
 New operator used to allocate arrays of objects. More...
 
static UtilExport voidoperator new[] (size_t size, const std::nothrow_t &e, const char *filename, int line)
 New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new[] (size_t size, unsigned long flags)
 New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new[] (size_t size, const std::nothrow_t &e, unsigned long flags)
 New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. More...
 
static UtilExport void operator delete (void *ptr)
 Standard delete operator used to deallocate an object If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, const std::nothrow_t &e)
 Standard delete operator used to deallocate an object If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete (void *ptr, const char *filename, int line)
 Delete operator used to deallocate an object that takes the filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, int block_type, const char *filename, int line)
 Delete operator used to deallocate an object that takes the type of memory, filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, const std::nothrow_t &e, const char *filename, int line)
 Delete operator used to deallocate an object that takes the filename and line number where the delete was called If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete (void *ptr, unsigned long flags)
 Delete operator used to deallocate an object that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, const std::nothrow_t &e, unsigned long flags)
 Delete operator used to deallocate an object that takes extra flags to specify special operations If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete[] (void *ptr)
 Standard delete operator used to deallocate an array of objects If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, const std::nothrow_t &e)
 Standard delete operator used to deallocate an array of objects If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete[] (void *ptr, const char *filename, int line)
 Delete operator used to deallocate an array of objects that takes the filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, int block_type, const char *filename, int line)
 Delete operator used to deallocate an array of objects that takes the type of memory, filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, const std::nothrow_t &e, const char *filename, int line)
 Delete operator used to deallocate an array of objects that takes the filename and line number where the delete was called If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete[] (void *ptr, unsigned long flags)
 Delete operator used to deallocate an array of objects that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, const std::nothrow_t &e, unsigned long flags)
 Delete operator used to deallocate an array of objects that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, void *placement_ptr)
 Placement new operator. More...
 
static UtilExport void operator delete (void *ptr, void *placement_ptr)
 Placement delete operator. More...
 
static UtilExport voidaligned_malloc (size_t size, size_t alignment)
 Allocates memory on a specified alignment boundary. More...
 
static UtilExport voidaligned_realloc (void *ptr, size_t size, size_t alignment)
 Reallocates memory on a specified alignment boundary. More...
 
static UtilExport void aligned_free (void *ptr)
 Frees a block of memory that was allocated with aligned_malloc/aligned_realloc. More...
 

Detailed Description

See also
Class MaxNetManager, Structure AlertData, Structure MaxJob
Remarks
This structure is available in release 4.0 and later only.

This structure is used by the Network Rendering API to store information about a job.

Member Data Documentation

◆ size

DWORD size

The size of the structure, being sizeof(Job).

◆ version

DWORD version

The structure version information, defined by _JOB_VERSION.

◆ server_pid

DWORD server_pid

The server Process ID which is used by 3ds max to check server's health.

◆ flags

DWORD flags

The job flags, defined as the following values:

  • JOB_VP
    Video Post (otherwise is Render Scene).
  • JOB_NONC
    Non concurrent driver (Accom DDR, AVI, etc.)
  • JOB_MAPS
    The Include Maps flag.
  • JOB_NONSTOP
    Uninterruptible driver (AVI, FLC, etc.)
  • JOB_SKIPEXST
    Skip Existing Frames.
  • JOB_ALLSERVERS
    Allow the use of all available servers.
  • JOB_INACTIVE
    This flag indicates the job is suspended
  • JOB_COMPLETE
    This read-only flag indicates that the job is complete.
  • JOB_IGNORESHARE
    Ignore the Manager's job share, always request archives.
  • JOB_SKIPOUTPUTTST
    This flag indicates that the server should not test the output path.
  • JOB_NONSEQFRAMES
    Non sequential frames such as 1,3,5-10, etc.
  • JOB_NOTARCHIVED
    This flag indicates an uncompressed file (i.e. not an archive).
  • JOB_ASSIGN_VP
    This is a legacy support flag, defined as JOB_VP.
  • JOB_ASSIGN_RND
    This is a legacy support flag.

◆ hJob

HJOB hJob

Handle to the job, assigned by the Manager when a job is created/submitted.

This handle will be read-only after its creation.

◆ name

MCHAR name[MAX_PATH]

The name of the job.

◆ filesize

DWORD filesize

This variable is used internally when transferring an archive and specifies its size.

Used internally when transferring archive (size of archive file)

◆ filesizeextracted

DWORD filesizeextracted

This variable is used internally when transferring an archive and specifies its uncompressed size.

Used internally when transferring archive (size of expanded archive)

◆ submission

SYSTEMTIME submission

The system time, set when a job is created/submitted.

◆ startjob

SYSTEMTIME startjob

The system time, set when a job starts.

◆ endjob

SYSTEMTIME endjob

The system time, set when a job is completed.

◆ servercount

int servercount

The number of servers defined for the job (can be 0 if JOB_ALLSERVERS is set).

◆ alerts

AlertData alerts

The alert notification data structure.

◆ jobtextcount

int jobtextcount

The number of JobTextInfo records.

◆ firstframe

int firstframe

The first frame in the range.

◆ lastframe

int lastframe

The last frame in the range.

◆ step

int step

The frame step value (i.e.

every n-th frame).

◆ width

int width

The frame output dimensions (width / height).

◆ height

int height

◆ frames_completed

int frames_completed

The number of frames completed.

◆ priority

MCHAR priority

The job priority level.

◆ reserved

MCHAR reserved[32]

Reserved for future use.

◆ maxJob

MaxJob maxJob

Specific information about a job pertaining to 3ds Max.