Classes |
class | Header |
Public Types |
enum | Operation {
Memory_allocate,
Memory_copyHostToDevice,
Memory_copyDeviceToHost,
Memory_copyDeviceToDevice,
Memory_memset,
Memory_free,
Device_clearMemory,
Device_load,
Device_unload,
Device_createEvent,
Device_destroyEvent,
Device_queryEvent,
Device_recordEvent,
Device_synchronizeEvent,
Device_getEventTime,
Device_createStream,
Device_destroyStream,
Device_queryStream,
Device_synchronizeStream,
Device_setStream,
Device_bindTexture,
Device_unbindTexture,
Device_driverVersion,
Device_runtimeVersion,
Device_launch,
Device_getAttributes,
Device_getLastError,
Device_synchronize,
Device_limitWorkerThreads,
Device_setOptimizationLevel,
Server_enumerateDevices,
Client_acknowledge,
Client_ping,
Operation_invalid
} |
typedef std::vector< char > | ByteVector |
typedef unsigned int | DeviceId |
Public Member Functions |
| RemoteDeviceMessage () |
| ~RemoteDeviceMessage () |
void | clear () |
void | resize () |
char * | data () |
unsigned int | size () |
bool | send (boost::asio::ip::tcp::socket &socket) |
| sends this message on the indicated socket
|
bool | receive (boost::asio::ip::tcp::socket &socket) |
| receives this message on indicated socket
|
Static Public Member Functions |
static std::string | toString (const Operation &op) |
Public Attributes |
Header | header |
| message header
|
ByteVector | message |
| pointer to message payload
|
A message type for communicating with remote devices.