00001 #ifndef GLOBALS_H_
00002 #define GLOBALS_H_
00003
00004 #include <boost/shared_ptr.hpp>
00005
00006 #include <vector>
00007 using std::vector;
00008
00009 #define EVENT_BUFFER_CHUNK_SIZE 1024
00010
00012 #define EVSIMOBJECT_ALLOCATOR_BLOCK_SIZE 0x20000
00013
00014 typedef double Time;
00015
00016 typedef boost::shared_ptr<vector<Time> > EventTimesVector;
00017
00018 extern const Time MAX_TIME;
00019 extern const Time INVALID_TIME;
00020
00021 typedef unsigned objectid_t;
00022
00023 typedef unsigned port_id_t;
00024
00025 typedef unsigned update_id_t;
00026
00027 typedef unsigned global_out_port_id_t;
00028
00029 typedef unsigned global_proj_out_port_id_t;
00030
00031 typedef unsigned event_target_group_id_t;
00032
00033 extern const event_target_group_id_t no_event_target_group;
00034
00035 extern const port_id_t INVALID_PORT_ID;
00036 extern const port_id_t PORT_NOT_DEFINED;
00037
00038
00039
00040 #endif