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

DeviceTypes Class Reference

#include <DeviceTypes.h>

List of all members.

Static Public Member Functions

static char * getDescription (unsigned short type)
static unsigned short getType (string description)
static bool isInputDevice (unsigned int type)
static bool isOutputDevice (unsigned int type)

Static Public Attributes

static const unsigned short aSyncUDPNetworkInput = ASYNC_UDP_NET_IN_DEVICE_VALUE
static const unsigned short aSyncUDPNetworkOutput = ASYNC_UDP_NET_OUT_DEVICE_VALUE
static const unsigned short syncUDPNetworkInput = SYNC_UDP_NET_IN_DEVICE_VALUE
static const unsigned short syncUDPNetworkOutput = SYNC_UDP_NET_OUT_DEVICE_VALUE
static const unsigned short syncTCPNetworkInput = SYNC_TCP_NET_IN_DEVICE_VALUE
static const unsigned short syncTCPNetworkOutput = SYNC_TCP_NET_OUT_DEVICE_VALUE
static const unsigned short syncTCPNetworkVisionInput = SYNC_TCP_NET_VISION_IN_DEVICE_VALUE


Detailed Description

Definition at line 96 of file DeviceTypes.h.


Member Function Documentation

char * DeviceTypes::getDescription unsigned short  deviceType  )  [static]
 

Returns a description of the device type.

Definition at line 32 of file DeviceTypes.cpp.

References ASYNC_UDP_NET_IN_DEVICE_DESC, ASYNC_UDP_NET_IN_DEVICE_VALUE, ASYNC_UDP_NET_OUT_DEVICE_DESC, ASYNC_UDP_NET_OUT_DEVICE_VALUE, SYNC_TCP_NET_IN_DEVICE_DESC, SYNC_TCP_NET_IN_DEVICE_VALUE, SYNC_TCP_NET_OUT_DEVICE_DESC, SYNC_TCP_NET_OUT_DEVICE_VALUE, SYNC_TCP_NET_VISION_IN_DEVICE_DESC, SYNC_TCP_NET_VISION_IN_DEVICE_VALUE, SYNC_UDP_NET_IN_DEVICE_DESC, SYNC_UDP_NET_IN_DEVICE_VALUE, SYNC_UDP_NET_OUT_DEVICE_DESC, SYNC_UDP_NET_OUT_DEVICE_VALUE, and UNKNOWN_DEVICE_DESC.

unsigned short DeviceTypes::getType string  deviceType  )  [static]
 

Returns the device type that corresponds to a given description.

Definition at line 47 of file DeviceTypes.cpp.

References ASYNC_UDP_NET_IN_DEVICE_DESC, ASYNC_UDP_NET_IN_DEVICE_VALUE, ASYNC_UDP_NET_OUT_DEVICE_DESC, ASYNC_UDP_NET_OUT_DEVICE_VALUE, SYNC_TCP_NET_IN_DEVICE_DESC, SYNC_TCP_NET_IN_DEVICE_VALUE, SYNC_TCP_NET_OUT_DEVICE_DESC, SYNC_TCP_NET_OUT_DEVICE_VALUE, SYNC_TCP_NET_VISION_IN_DEVICE_DESC, SYNC_TCP_NET_VISION_IN_DEVICE_VALUE, SYNC_UDP_NET_IN_DEVICE_DESC, SYNC_UDP_NET_IN_DEVICE_VALUE, SYNC_UDP_NET_OUT_DEVICE_DESC, SYNC_UDP_NET_OUT_DEVICE_VALUE, and UNKNOWN_DEVICE_VALUE.

bool DeviceTypes::isInputDevice unsigned int  deviceType  )  [static]
 

Returns true if this is an input device, i.e. one that provides input TO the simulation.

Definition at line 68 of file DeviceTypes.cpp.

bool DeviceTypes::isOutputDevice unsigned int  deviceType  )  [static]
 

Returns true if this is an output device, i.e. one that receives input FROM the simulation.

Definition at line 77 of file DeviceTypes.cpp.


Member Data Documentation

const unsigned short DeviceTypes::aSyncUDPNetworkInput = ASYNC_UDP_NET_IN_DEVICE_VALUE [static]
 

Unsynchronized UDP input device.

Definition at line 101 of file DeviceTypes.h.

const unsigned short DeviceTypes::aSyncUDPNetworkOutput = ASYNC_UDP_NET_OUT_DEVICE_VALUE [static]
 

Unsynchronized UDP output device.

Definition at line 104 of file DeviceTypes.h.

const unsigned short DeviceTypes::syncTCPNetworkInput = SYNC_TCP_NET_IN_DEVICE_VALUE [static]
 

Synchronized TCP input device.

Definition at line 113 of file DeviceTypes.h.

const unsigned short DeviceTypes::syncTCPNetworkOutput = SYNC_TCP_NET_OUT_DEVICE_VALUE [static]
 

Synchronized TCP output device.

Definition at line 116 of file DeviceTypes.h.

const unsigned short DeviceTypes::syncTCPNetworkVisionInput = SYNC_TCP_NET_VISION_IN_DEVICE_VALUE [static]
 

Synchronized TCP input device.

Definition at line 119 of file DeviceTypes.h.

const unsigned short DeviceTypes::syncUDPNetworkInput = SYNC_UDP_NET_IN_DEVICE_VALUE [static]
 

Synchronized UDP input device.

Definition at line 107 of file DeviceTypes.h.

const unsigned short DeviceTypes::syncUDPNetworkOutput = SYNC_UDP_NET_OUT_DEVICE_VALUE [static]
 

Synchronized UDP output device.

Definition at line 110 of file DeviceTypes.h.


The documentation for this class was generated from the following files:
Generated on Mon Sep 3 22:18:50 2007 for SpikeStream Library by  doxygen 1.4.4