|
cisst-saw
|
#include <mtsSocketProxyCommon.h>
Public Types | |
| enum | { COMMAND_HANDLE_STRING_SIZE = sizeof(long long int) + 2*sizeof(char) } |
Public Member Functions | |
| CommandHandle (char cmd, void *ptr) | |
| CommandHandle (const char *str) | |
| CommandHandle (const std::string &str) | |
| ~CommandHandle () | |
| bool | IsValid (void) const |
| int | ToString (char *str) const |
| int | ToString (std::string &str) const |
| int | FromString (const char *str) |
| int | FromString (const std::string &str) |
| bool | operator== (const CommandHandle &other) const |
| bool | operator!= (const CommandHandle &other) const |
Static Public Member Functions | |
| static bool | IsValidType (char cmd_type) |
Public Attributes | |
| char | cmdType |
| long long int | addr |
| CommandHandle::CommandHandle | ( | char | cmd, |
| void * | ptr ) |
| CommandHandle::CommandHandle | ( | const char * | str | ) |
| CommandHandle::CommandHandle | ( | const std::string & | str | ) |
|
inline |
| int CommandHandle::FromString | ( | const char * | str | ) |
| int CommandHandle::FromString | ( | const std::string & | str | ) |
| bool CommandHandle::IsValid | ( | void | ) | const |
|
static |
| bool CommandHandle::operator!= | ( | const CommandHandle & | other | ) | const |
| bool CommandHandle::operator== | ( | const CommandHandle & | other | ) | const |
| int CommandHandle::ToString | ( | char * | str | ) | const |
| int CommandHandle::ToString | ( | std::string & | str | ) | const |
| long long int CommandHandle::addr |
| char CommandHandle::cmdType |