Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

renderfarm.h File Reference

#include "arraylist.h"
#include "asset.inc"
#include "brender.inc"
#include "defaults.inc"
#include "edl.inc"
#include "mutex.inc"
#include "mwindow.inc"
#include "packagedispatcher.inc"
#include "pluginserver.inc"
#include "preferences.inc"
#include "render.inc"
#include "renderfarm.inc"
#include "renderfarmclient.inc"
#include "thread.h"
#include <stdint.h>

Go to the source code of this file.

Classes

class  RenderFarmServer
class  RenderFarmServerThread

Defines

#define STORE_INT32(value)
#define STORE_INT64(value)
#define READ_INT32(data)
#define READ_INT64(data)

Enumerations

enum  {
  RENDERFARM_PREFERENCES, RENDERFARM_ASSET, RENDERFARM_EDL, RENDERFARM_PACKAGE,
  RENDERFARM_PROGRESS, RENDERFARM_SET_RESULT, RENDERFARM_GET_RESULT, RENDERFARM_DONE,
  RENDERFARM_SET_VMAP, RENDERFARM_FOPEN, RENDERFARM_FCLOSE, RENDERFARM_REMOVE,
  RENDERFARM_RENAME, RENDERFARM_FGETC, RENDERFARM_FPUTC, RENDERFARM_FREAD,
  RENDERFARM_FWRITE, RENDERFARM_FSEEK, RENDERFARM_FTELL, RENDERFARM_STAT,
  RENDERFARM_STAT64, RENDERFARM_FGETS, RENDERFARM_FILENO
}


Define Documentation

#define READ_INT32 data   ) 
 

Value:

((((uint32_t)(data)[0]) << 24) |  \
        (((uint32_t)(data)[1]) << 16) |  \
        (((uint32_t)(data)[2]) << 8) |  \
        ((uint32_t)(data)[3]))

Definition at line 50 of file renderfarm.h.

Referenced by RenderFarmFSClient::fgets(), RenderFarmFSClient::fileno(), RenderFarmFSClient::fread(), RenderFarmFSClient::fseek(), RenderFarmFSClient::fwrite(), RenderFarmFSServer::handle_request(), and RenderFarmClientThread::read_package().

#define READ_INT64 data   ) 
 

Value:

((((uint64_t)(data)[0]) << 56) |  \
        (((uint64_t)(data)[1]) << 48) |  \
        (((uint64_t)(data)[2]) << 40) |  \
        (((uint64_t)(data)[3]) << 32) |  \
        (((uint64_t)(data)[4]) << 24) |  \
        (((uint64_t)(data)[5]) << 16) |  \
        (((uint64_t)(data)[6]) << 8) |  \
        ((uint64_t)(data)[7]))

Definition at line 56 of file renderfarm.h.

Referenced by RenderFarmFSClient::fopen(), RenderFarmFSClient::ftell(), and RenderFarmFSServer::handle_request().

#define STORE_INT32 value   ) 
 

Value:

datagram[i++] = (((uint32_t)(value)) >> 24) & 0xff; \
        datagram[i++] = (((uint32_t)(value)) >> 16) & 0xff; \
        datagram[i++] = (((uint32_t)(value)) >> 8) & 0xff; \
        datagram[i++] = ((uint32_t)(value)) & 0xff;

Definition at line 34 of file renderfarm.h.

Referenced by RenderFarmFSClient::fgets(), RenderFarmFSClient::fread(), RenderFarmFSClient::fseek(), RenderFarmFSClient::fwrite(), RenderFarmFSServer::handle_request(), RenderFarmClientThread::read_package(), RenderFarmServerThread::send_package(), RenderFarmClientThread::send_request_header(), FarmPackageRenderer::set_progress(), FarmPackageRenderer::set_video_map(), and RenderFarmServerThread::write_string().

#define STORE_INT64 value   ) 
 

Value:

datagram[i++] = (((uint64_t)(value)) >> 56) & 0xff; \
        datagram[i++] = (((uint64_t)(value)) >> 48) & 0xff; \
        datagram[i++] = (((uint64_t)(value)) >> 40) & 0xff; \
        datagram[i++] = (((uint64_t)(value)) >> 32) & 0xff; \
        datagram[i++] = (((uint64_t)(value)) >> 24) & 0xff; \
        datagram[i++] = (((uint64_t)(value)) >> 16) & 0xff; \
        datagram[i++] = (((uint64_t)(value)) >> 8) & 0xff; \
        datagram[i++] = ((uint64_t)(value)) & 0xff;

Definition at line 40 of file renderfarm.h.

Referenced by RenderFarmFSClient::fclose(), RenderFarmFSClient::fgetc(), RenderFarmFSClient::fgets(), RenderFarmFSClient::fileno(), RenderFarmFSClient::fputc(), RenderFarmFSClient::fread(), RenderFarmFSClient::fseek(), RenderFarmFSClient::ftell(), RenderFarmFSClient::fwrite(), and RenderFarmFSServer::handle_request().


Enumeration Type Documentation

anonymous enum
 

Enumerator:
RENDERFARM_PREFERENCES 
RENDERFARM_ASSET 
RENDERFARM_EDL 
RENDERFARM_PACKAGE 
RENDERFARM_PROGRESS 
RENDERFARM_SET_RESULT 
RENDERFARM_GET_RESULT 
RENDERFARM_DONE 
RENDERFARM_SET_VMAP 
RENDERFARM_FOPEN 
RENDERFARM_FCLOSE 
RENDERFARM_REMOVE 
RENDERFARM_RENAME 
RENDERFARM_FGETC 
RENDERFARM_FPUTC 
RENDERFARM_FREAD 
RENDERFARM_FWRITE 
RENDERFARM_FSEEK 
RENDERFARM_FTELL 
RENDERFARM_STAT 
RENDERFARM_STAT64 
RENDERFARM_FGETS 
RENDERFARM_FILENO 

Definition at line 68 of file renderfarm.h.


Generated on Sun Jan 8 13:39:06 2006 for Cinelerra-svn by  doxygen 1.4.4