00001 //**************************************************************************/ 00002 // Copyright (c) 1998-2008 Autodesk, Inc. 00003 // All rights reserved. 00004 // 00005 // These coded instructions, statements, and computer programs contain 00006 // unpublished proprietary information written by Autodesk, Inc., and are 00007 // protected by Federal copyright law. They may not be disclosed to third 00008 // parties or copied or duplicated in any form, in whole or in part, without 00009 // the prior written consent of Autodesk, Inc. 00010 //**************************************************************************/ 00011 #pragma once 00012 00013 #include "..\maxheap.h" 00014 #include "..\maxnet_types.h" 00015 00016 // Server Information for a given Job 00017 00018 #define JOB_SRV_IDLE 0 //-- Idle 00019 #define JOB_SRV_BUSY 1 //-- Busy 00020 #define JOB_SRV_FAILED 2 //-- Render Error 00021 #define JOB_SRV_ABSENT 3 //-- Absent 00022 #define JOB_SRV_SUSPENDED 4 //-- Out of work schedule 00023 #define JOB_SRV_BUSYOTHER 5 //-- Busy with another job 00024 #define JOB_SRV_ERROR 6 //-- Connection Error 00025 #define JOB_SRV_COOL_OFF 7 //-- In Error Recovery 00026 00031 struct JobServer : public MaxHeapOperators 00032 { 00034 HSERVER hServer; 00053 char status; 00055 bool failed; 00057 bool active; 00059 int cur_frame; 00061 float thours; 00063 int frames; 00064 };