globaldefinitions.h File Reference

Contains general typedefs and defines. More...

#include <stdlib.h>
#include <climits>

Include dependency graph for globaldefinitions.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define no_spikegroup   -2
 Specifies an invalid spike target group ID (e.g. returned by TargetDelayMap::find if no suitable ID was found).
#define PSR_MULTIPLE_TAU   5
 Multiple of tau after which a synaptic response is considered zero.
#define MPIBUFFER_BLOCK_SIZE   131072
 The maximum size of one MPI block to send.
#define MAX_PORT_NUMBER   INT_MAX
 Maximium number of input or putput ports (limited due to limit of int).
#define SIMOBJECT_ALLOCATOR_BLOCK_SIZE   0x20000
 The size of one block of the SimObject::BlockAllocator.
#define PROPAGATED_SPIKE_BUFFER_CHUNK_SIZE   1024
 The size of one allocation chunk size in PropagatedSpikeBuffer.
#define NOOP
#define PURE_ABSTRACT   cerr << "This is a pure abstract function an must not be called: " << __FILE__ << ", " << __LINE__ << endl; exit(-1);
#define NOT_YET_IMPLEMENTED   cerr << "NOT YET IMLEMENTED: " << __FILE__ << ", " << __LINE__ << endl;

Typedefs

typedef unsigned char uint8
 8 bit unsigned integer
typedef unsigned short int uint16
 16 bit unsigned integer
typedef unsigned int uint32
 32 bit unsigned integer
typedef unsigned long long uint64
 64 bit unsigned integer
typedef uint16 nodeid_t
 Type for MPI node IDs.
typedef uint8 engineid_t
 Type for (local) engine IDs.
typedef uint8 object_type_t
 Type for object type IDs.
typedef uint32 local_objectid_t
 Type for local object IDs.
typedef uint16 gl_engineid_t
 Type for global engine IDs.
typedef uint32 spike_port_id_t
 Type for continous spike port IDs.
typedef int spikegroupid_t
 Type for spike target group IDs.
typedef uint16 spikeport_t
 Type for spike ports.
typedef uint16 port_t
 Type for port.
typedef uint16 analog_port_id_t
 Type for an analog port identifier.
typedef uint16 delay_t
 Type for specifying delays in time steps.
typedef uint16 delaystep_t
 Type for specifying the delay in time steps.

Variables

const nodeid_t INVALID_NODE_ID
 Value idicating an invalid MPI node ID.
const engineid_t INVALID_LOCAL_ENGINE_ID
 Value idicating an invalid local engine id.
const object_type_t INVALID_OBJECT_TYPE_ID
 Value idicating an invalid object type.
const local_objectid_t INVALID_LOCAL_OBJECT_ID
 Value idicating an invalid local object ID.
const gl_engineid_t INVALID_GLOBAL_ENGINE_ID
 Value idicating an invalid global engine id.
const spike_port_id_t INVALID_SPIKE_PORT_ID
 Value indivation an invalid (not assignd) spike port id.


Detailed Description

Contains general typedefs and defines.

Definition in file globaldefinitions.h.


Define Documentation

#define MAX_PORT_NUMBER   INT_MAX

Maximium number of input or putput ports (limited due to limit of int).

Definition at line 85 of file globaldefinitions.h.

Referenced by AnalogSynapse::nAnalogInputPorts(), and AnalogPointNeuron::nAnalogInputPorts().

#define MPIBUFFER_BLOCK_SIZE   131072

The maximum size of one MPI block to send.

Definition at line 82 of file globaldefinitions.h.

Referenced by DistributedSingleThreadNetwork::_initialize_(), and DistributedMultiThreadNetwork::_initialize_().

#define no_spikegroup   -2

#define NOOP

Definition at line 93 of file globaldefinitions.h.

Referenced by PySimObjectStub::setAnalogInput().

#define NOT_YET_IMPLEMENTED   cerr << "NOT YET IMLEMENTED: " << __FILE__ << ", " << __LINE__ << endl;

Definition at line 97 of file globaldefinitions.h.

#define PROPAGATED_SPIKE_BUFFER_CHUNK_SIZE   1024

The size of one allocation chunk size in PropagatedSpikeBuffer.

Definition at line 91 of file globaldefinitions.h.

#define PSR_MULTIPLE_TAU   5

#define PURE_ABSTRACT   cerr << "This is a pure abstract function an must not be called: " << __FILE__ << ", " << __LINE__ << endl; exit(-1);

Definition at line 95 of file globaldefinitions.h.

#define SIMOBJECT_ALLOCATOR_BLOCK_SIZE   0x20000

The size of one block of the SimObject::BlockAllocator.

Definition at line 88 of file globaldefinitions.h.


Typedef Documentation

Type for an analog port identifier.

Definition at line 67 of file globaldefinitions.h.

typedef uint16 delay_t

Type for specifying delays in time steps.

Definition at line 70 of file globaldefinitions.h.

Type for specifying the delay in time steps.

Definition at line 73 of file globaldefinitions.h.

typedef uint8 engineid_t

Type for (local) engine IDs.

Definition at line 28 of file globaldefinitions.h.

Type for global engine IDs.

Definition at line 46 of file globaldefinitions.h.

Type for local object IDs.

Definition at line 40 of file globaldefinitions.h.

typedef uint16 nodeid_t

Type for MPI node IDs.

Definition at line 22 of file globaldefinitions.h.

Type for object type IDs.

Definition at line 34 of file globaldefinitions.h.

typedef uint16 port_t

Type for port.

Definition at line 64 of file globaldefinitions.h.

Type for continous spike port IDs.

Definition at line 52 of file globaldefinitions.h.

Type for spike target group IDs.

Definition at line 58 of file globaldefinitions.h.

Type for spike ports.

Definition at line 61 of file globaldefinitions.h.

typedef unsigned short int uint16

16 bit unsigned integer

Definition at line 13 of file globaldefinitions.h.

typedef unsigned int uint32

32 bit unsigned integer

Definition at line 16 of file globaldefinitions.h.

typedef unsigned long long uint64

64 bit unsigned integer

Definition at line 19 of file globaldefinitions.h.

typedef unsigned char uint8

8 bit unsigned integer

Definition at line 10 of file globaldefinitions.h.


Variable Documentation

Value idicating an invalid global engine id.

Definition at line 7 of file globaldefinitions.cpp.

Referenced by DistributedNetwork::_addObject_(), DistributedNetwork::_insert_(), DistributedNetwork::_mount_(), and DistributedNetwork::getGlobalEngineID().

Value idicating an invalid local engine id.

Definition at line 4 of file globaldefinitions.cpp.

Value idicating an invalid local object ID.

Definition at line 10 of file globaldefinitions.cpp.

Referenced by DistributedNetwork::getGhostID().

Value idicating an invalid MPI node ID.

Definition at line 13 of file globaldefinitions.cpp.

Value idicating an invalid object type.

Definition at line 16 of file globaldefinitions.cpp.

Referenced by SimObjectRegistry::registerSimObject().

Value indivation an invalid (not assignd) spike port id.

Definition at line 19 of file globaldefinitions.cpp.

Referenced by DistributedNetwork::getFirstSenderSpikePort(), and SpikeOutputPort::setSpikeByOffsetFraction().


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