UBHandler Class Reference

This class will handle all Socket related events. More...

#include <UBHandler.h>

List of all members.

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_mSockets ()
 Returns the map with sockets.

Static Public Member Functions

static UBHandlerGet ()
 Static method to access the only pointer of this instance.
static void Free ()
 Release resources.


Detailed Description

This class will handle all Socket related events.

This class does not use Singleton since SocketHandler already declares Get

Definition at line 39 of file UBHandler.h.


Member Function Documentation

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.

Returns:
a pointer to the only instance of this class

static void UBHandler::Free (  )  [static]

Release resources.


Generated for UnsignedByte by  doxygen 1.5.3
SourceForge.net Logo