Job Struct Reference

Job Struct Reference

#include <maxnet_job.h>

Class Description

See also
Class MaxNetManager, Structure AlertData, Structure MaxJob, Structure CombustionJob
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.
+ 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...
 
union {
   MaxJob   maxJob
 Specific information about a job pertaining to 3ds Max. More...
 
   CombustionJob   combustionJob
 Specific information about a job pertaining to Combustion. 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...
 

Member Data Documentation

DWORD size

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

DWORD version

The structure version information, defined by _JOB_VERSION.

DWORD server_pid

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

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_COMBUSTIONJOB
    This flag indicates the job is a Combustion specific job.
  • 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

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

This handle will be read-only after its creation.

MCHAR name[MAX_PATH]

The name of the job.

DWORD filesize

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

Used internally when transferring archive (size of archive file)

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)

SYSTEMTIME submission

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

SYSTEMTIME startjob

The system time, set when a job starts.

SYSTEMTIME endjob

The system time, set when a job is completed.

int servercount

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

AlertData alerts

The alert notification data structure.

int jobtextcount

The number of JobTextInfo records.

int firstframe

The first frame in the range.

int lastframe

The last frame in the range.

int step

The frame step value (i.e.

every n-th frame).

int width

The frame output dimensions (width / height).

int height
int frames_completed

The number of frames completed.

MCHAR priority

The job priority level.

MCHAR reserved[32]

Reserved for future use.

MaxJob maxJob

Specific information about a job pertaining to 3ds Max.

CombustionJob combustionJob

Specific information about a job pertaining to Combustion.

union { ... }