globaldefinitions.h

Go to the documentation of this file.
00001 
00002 
00003 #ifndef GLOBALDEFINITIONS_H_
00004 #define GLOBALDEFINITIONS_H_
00005 
00006 #include <stdlib.h>
00007 #include <climits>
00008 
00010 typedef unsigned char uint8;
00011 
00013 typedef unsigned short int uint16;
00014 
00016 typedef unsigned int uint32;
00017 
00019 typedef unsigned long long uint64;
00020 
00022 typedef uint16 nodeid_t ;
00023 
00025 extern const nodeid_t INVALID_NODE_ID;
00026 
00028 typedef  uint8 engineid_t;
00029 
00031 extern const engineid_t INVALID_LOCAL_ENGINE_ID;
00032 
00034 typedef uint8 object_type_t ;
00035 
00037 extern const object_type_t INVALID_OBJECT_TYPE_ID;
00038 
00040 typedef uint32 local_objectid_t;
00041 
00043 extern const local_objectid_t INVALID_LOCAL_OBJECT_ID;
00044 
00046 typedef uint16 gl_engineid_t;
00047 
00049 extern const gl_engineid_t INVALID_GLOBAL_ENGINE_ID;
00050 
00052 typedef uint32 spike_port_id_t;
00053 
00055 extern const spike_port_id_t INVALID_SPIKE_PORT_ID;
00056 
00058 typedef int spikegroupid_t;
00059 
00061 typedef uint16 spikeport_t;
00062 
00064 typedef uint16 port_t;
00065 
00067 typedef uint16 analog_port_id_t;
00068 
00070 typedef uint16 delay_t;
00071 
00073 typedef uint16 delaystep_t;
00074 
00076 #define no_spikegroup -2
00077 
00079 #define PSR_MULTIPLE_TAU 5
00080 
00082 #define MPIBUFFER_BLOCK_SIZE 131072
00083 
00085 #define MAX_PORT_NUMBER INT_MAX
00086 
00088 #define SIMOBJECT_ALLOCATOR_BLOCK_SIZE 0x20000
00089 
00091 #define PROPAGATED_SPIKE_BUFFER_CHUNK_SIZE 1024
00092 
00093 #define NOOP
00094 
00095 #define PURE_ABSTRACT cerr << "This is a pure abstract function an must not be called: " << __FILE__ << ", " << __LINE__ << endl; exit(-1); 
00096 
00097 #define NOT_YET_IMPLEMENTED cerr << "NOT YET IMLEMENTED: " << __FILE__ << ", " << __LINE__ << endl;
00098 
00099 #endif /* GLOBALDEFINITIONS_H_ */

Generated on Wed Jul 9 16:34:37 2008 for PCSIM by  doxygen 1.5.5