#include <UBHandler.h>
Public Member Functions | |
void | SwitchEditors () |
Iterate over all sockets and call SwitchEditor if it is an UBSocket. | |
void | Shutdown () |
Iterate over all sockets and send a shutdown notice. | |
socket_m & | Sockets () |
Returns the map with sockets. | |
Static Public Member Functions | |
static UBHandler * | Get () |
Static method to access the only pointer of this instance. | |
static void | Free () |
Release resources. |
This class does not use Singleton since SocketHandler already declares Get
Definition at line 39 of file UBHandler.h.
void UBHandler::SwitchEditors | ( | ) |
Iterate over all sockets and call SwitchEditor if it is an UBSocket.
void UBHandler::Shutdown | ( | ) |
Iterate over all sockets and send a shutdown notice.
socket_m& UBHandler::Sockets | ( | ) |
Returns the map with sockets.
static UBHandler* UBHandler::Get | ( | ) | [static] |
Static method to access the only pointer of this instance.
static void UBHandler::Free | ( | ) | [static] |
Release resources.