|
OverSim
|
#include <PubSubSubspaceId.h>
Public Member Functions | |
| PubSubSubspaceId (int id, int _maxY) | |
| Creates a new PubSubSubspace. | |
| PubSubSubspaceId (int x, int y, int _maxY) | |
| ~PubSubSubspaceId () | |
| int | getId () const |
| int | getX () const |
| int | getY () const |
| bool | operator< (const PubSubSubspaceId x) const |
| bool | operator== (const PubSubSubspaceId x) const |
Protected Attributes | |
| int | spaceId |
| int | maxY |
Friends | |
| std::ostream & | operator<< (std::ostream &, const PubSubSubspaceId &) |
Definition at line 30 of file PubSubSubspaceId.h.
|
inline |
Creates a new PubSubSubspace.
| id | The group ID of the new group |
| _maxY | The number of subspaces per row |
Definition at line 43 of file PubSubSubspaceId.h.
|
inline |
Definition at line 44 of file PubSubSubspaceId.h.
|
inline |
Definition at line 45 of file PubSubSubspaceId.h.
|
inline |
Definition at line 47 of file PubSubSubspaceId.h.
Referenced by PubSubLobby::failedNode(), PubSubLobby::handleJoin(), PubSubMMOG::handleJoinResponse(), PubSubMMOG::handleMove(), PubSubMMOG::handlePingCallTimeout(), PubSubLobby::handleRespCall(), PubSubMMOG::publishEvents(), PubSubLobby::replaceResponsibleNode(), PubSubMMOG::takeOverSubspace(), and PubSubMMOG::unsubscribeChild().
|
inline |
Definition at line 48 of file PubSubSubspaceId.h.
Referenced by PubSubLobby::failedNode(), and PubSubLobby::replaceResponsibleNode().
|
inline |
Definition at line 49 of file PubSubSubspaceId.h.
Referenced by PubSubLobby::failedNode(), and PubSubLobby::replaceResponsibleNode().
|
inline |
Definition at line 51 of file PubSubSubspaceId.h.
|
inline |
Definition at line 52 of file PubSubSubspaceId.h.
|
friend |
Definition at line 27 of file PubSubSubspaceId.cc.
|
protected |
Definition at line 34 of file PubSubSubspaceId.h.
|
protected |
Definition at line 33 of file PubSubSubspaceId.h.
Referenced by getId(), getX(), getY(), operator<(), operator<<(), and operator==().