Classes | |
| class | base_device_t |
| class | port_settings_t |
| Handles serial port settings used by the XID devices. More... | |
| class | stim_tracker_t |
| class | xid_con_t |
| Implementation of communication with an XID device. More... | |
| class | xid_device_config_t |
| device configuration class More... | |
| class | xid_device_scanner_t |
| class | response |
| struct to encapsulate a response from an XID device More... | |
| class | xid_device_t |
| abstraction of an XID device More... | |
Enumerations | |
| enum | { NO_ERR = 0, UNDEFINED = -1, PORT_NOT_AVAILABLE = -2, ERROR_SETTING_UP_PORT = -3, ERROR_FLUSHING_PORT = -4, ERROR_READING_PORT = -5, ERROR_WRITING_TO_PORT = -6, ERROR_CLOSING_PORT = -7, GENERAL_ERROR = -10, PORT_OPENED_BUT_ABORTED = -11 } |
| enum | { UNKNOWN_MODEL_ID = 0 } |
| enum | { ANY_MODEL_ID = -2 } |
| enum | { NO_XID_DEVICE_FOUND = -1 } |
| enum | { INVALID_RETURN_VALUE = -99 } |
| enum | { RB530 = 1, RB730 = 2, RB830 = 3, RB834 = 4, RB630 = 5, SV1 = 21, LUMINA = 31 } |
| enum | { XID_ID_LUMINA = 0, XID_ID_SV1 = 1, XID_ID_RB = 2 } |
| enum | { AD_NO_PROMPTS = 0x01, AD_ASK_BEFORE_CONVERTING = 0x02, AD_CONVERSION_IRREVERSIBLE = 0x04 } |
| enum | { XID_MODE = '0' } |
| enum | key_state { NO_KEY_DETECTED = 0, FOUND_KEY_DOWN = 1, FOUND_KEY_UP = 2 } |
Functions | |
| template<typename string_type > | |
| std::vector< string_type > | tokenize (const string_type &str, const string_type &delimiters) |
| Split a delimited string into a std::vector of strings. | |
| anonymous enum |
| NO_ERR | |
| UNDEFINED | |
| PORT_NOT_AVAILABLE | |
| ERROR_SETTING_UP_PORT | |
| ERROR_FLUSHING_PORT | |
| ERROR_READING_PORT | |
| ERROR_WRITING_TO_PORT | |
| ERROR_CLOSING_PORT | |
| GENERAL_ERROR | |
| PORT_OPENED_BUT_ABORTED |
Definition at line 37 of file constants.h.
| anonymous enum |
Definition at line 51 of file constants.h.
| anonymous enum |
Definition at line 56 of file constants.h.
| anonymous enum |
Definition at line 60 of file constants.h.
| anonymous enum |
Definition at line 65 of file constants.h.
| anonymous enum |
Definition at line 70 of file constants.h.
| anonymous enum |
Definition at line 81 of file constants.h.
| anonymous enum |
Definition at line 88 of file constants.h.
| anonymous enum |
Definition at line 95 of file constants.h.
| enum cedrus::key_state |
Definition at line 100 of file constants.h.
| std::vector<string_type> cedrus::tokenize | ( | const string_type & | str, |
| const string_type & | delimiters | ||
| ) |
Split a delimited string into a std::vector of strings.
Note that this will not correctly split a string with empty fields, i.e. "value,,value,value". The 2nd empty field will not be returned.
| [in] | str | the delimited string |
| [in] | delimiters | delimiters used to split the string |
Definition at line 49 of file string_tokenizer.hpp.
1.7.2