#include <DeviceTypes.h>
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 |
Definition at line 96 of file DeviceTypes.h.
|
|
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. |
|
|
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. |
|
|
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. |
|
|
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. |
|
|
Unsynchronized UDP input device. Definition at line 101 of file DeviceTypes.h. |
|
|
Unsynchronized UDP output device. Definition at line 104 of file DeviceTypes.h. |
|
|
Synchronized TCP input device. Definition at line 113 of file DeviceTypes.h. |
|
|
Synchronized TCP output device. Definition at line 116 of file DeviceTypes.h. |
|
|
Synchronized TCP input device. Definition at line 119 of file DeviceTypes.h. |
|
|
Synchronized UDP input device. Definition at line 107 of file DeviceTypes.h. |
|
|
Synchronized UDP output device. Definition at line 110 of file DeviceTypes.h. |
1.4.4