Subversion Repositories programming

Rev

Rev 348 | Blame | Compare with Previous | Last modification | View Log | RSS feed

/*******************************************************************************
 * dispatch_data.h
 *
 * Header file for the Dispatch_Data data type.
 *
 * Copyright 2006, Ira W. Snyder (devel@irasnyder.com)
 ******************************************************************************/

#ifndef DISPATCH_DATA_H
#define DISPATCH_DATA_H

const int DISPATCH_DATA_STOP_AT_FLOOR     = 1;
const int DISPATCH_DATA_UPDATE_LABEL      = 2;

#include "elevator.h"

class Elevator;

typedef struct
{
    int type;
    int iarg;
    float farg;
    Elevator *elev;
    int direc;
}
Dispatch_Data;

#endif