The Open Master Hearing Aid (openMHA)
openMHA
Open community platform for hearing aid algorithm research
|
Classes | |
struct | MHA_TCP::OS_EVENT_TYPE |
class | MHA_TCP::Wakeup_Event |
A base class for asynchronous wakeup events. More... | |
class | MHA_TCP::Async_Notify |
Portable Multiplexable cross-thread notification. More... | |
class | MHA_TCP::Event_Watcher |
OS-independent event watcher, uses select on Unix and WaitForMultipleObjects on Windows. More... | |
class | MHA_TCP::Timeout_Event |
class | MHA_TCP::Timeout_Watcher |
OS-independent event watcher with internal fixed-end-time timeout. More... | |
class | MHA_TCP::Sockread_Event |
Watch socket for incoming data. More... | |
class | MHA_TCP::Sockwrite_Event |
class | MHA_TCP::Sockaccept_Event |
class | MHA_TCP::Connection |
Connection handles Communication between client and server, is used on both sides. More... | |
class | MHA_TCP::Server |
class | MHA_TCP::Client |
A portable class for a tcp client connections. More... | |
class | MHA_TCP::Thread |
A very simple class for portable threads. More... | |
Namespaces | |
MHA_TCP | |
A Namespace for TCP helper classes. | |
Macros | |
#define | Sleep(x) usleep((x)*1000); |
Typedefs | |
typedef int | MHA_TCP::SOCKET |
Functions | |
std::string | MHA_TCP::STRERROR (int err) |
Portable conversion from error number to error string. More... | |
std::string | MHA_TCP::HSTRERROR (int err) |
Portable conversion from hostname error number to error string. More... | |
int | MHA_TCP::N_ERRNO () |
Portable access to last network error number. More... | |
int | MHA_TCP::H_ERRNO () |
Portable access to last hostname error number. More... | |
int | MHA_TCP::G_ERRNO () |
Portable access to last non-network error number. More... | |
double | MHA_TCP::dtime () |
Time access function for system's high resolution time, retrieve current time as double. More... | |
double | MHA_TCP::dtime (const struct timeval &tv) |
Time access function for unix' high resolution time, converts struct timeval to double. More... | |
struct timeval | MHA_TCP::stime (double d) |
Time access function for unix' high resolution time, converts time from double to struct timeval. More... | |
#define Sleep | ( | x | ) | usleep((x)*1000); |