|
OverSim
|
#include <PubSubSubspace.h>
Public Member Functions | |
| PubSubSubspace (PubSubSubspaceId id) | |
| Creates a new PubSubSubspace. | |
| ~PubSubSubspace () | |
| const PubSubSubspaceId & | getId () |
| void | setResponsibleNode (NodeHandle node) |
| NodeHandle | getResponsibleNode () |
| void | setTimestamp () |
| void | setTimestamp (simtime_t stamp) |
| simtime_t | getLastTimestamp () |
| simtime_t | getTimeSinceLastTimestamp () |
Protected Attributes | |
| PubSubSubspaceId | spaceId |
| NodeHandle | responsibleNode |
| simtime_t | lastTimestamp |
Friends | |
| std::ostream & | operator<< (std::ostream &o, const PubSubSubspace &subspace) |
Definition at line 33 of file PubSubSubspace.h.
| PubSubSubspace::PubSubSubspace | ( | PubSubSubspaceId | id | ) |
Creates a new PubSubSubspace.
| id | The group ID of the new group |
Definition at line 29 of file PubSubSubspace.cc.
| PubSubSubspace::~PubSubSubspace | ( | ) |
Definition at line 35 of file PubSubSubspace.cc.
|
inline |
Definition at line 49 of file PubSubSubspace.h.
Referenced by PubSubLobby::failedNode(), PubSubLobby::handleJoin(), PubSubMMOG::handlePingCallTimeout(), PubSubLobby::handleRespCall(), PubSubMMOG::publishEvents(), PubSubMMOG::takeOverSubspace(), and PubSubMMOG::unsubscribeChild().
|
inline |
Definition at line 55 of file PubSubSubspace.h.
|
inline |
Definition at line 51 of file PubSubSubspace.h.
Referenced by PubSubLobby::failedNode(), PubSubLobby::handleJoin(), PubSubMMOG::handleMove(), PubSubMMOG::handleSubscriptionBackup(), and PubSubMMOG::takeOverSubspace().
|
inline |
Definition at line 56 of file PubSubSubspace.h.
|
inline |
Definition at line 50 of file PubSubSubspace.h.
Referenced by PubSubLobby::failedNode(), PubSubMMOG::handleBackupCall(), PubSubMMOG::handleJoinResponse(), PubSubLobby::replaceResponsibleNode(), and PubSubMMOG::takeOverSubspace().
|
inline |
Definition at line 53 of file PubSubSubspace.h.
|
inline |
Definition at line 54 of file PubSubSubspace.h.
|
friend |
Definition at line 39 of file PubSubSubspace.cc.
|
protected |
Definition at line 39 of file PubSubSubspace.h.
Referenced by getLastTimestamp(), getTimeSinceLastTimestamp(), PubSubSubspace(), and setTimestamp().
|
protected |
Definition at line 37 of file PubSubSubspace.h.
Referenced by getResponsibleNode(), operator<<(), PubSubSubspace(), and setResponsibleNode().
|
protected |
Definition at line 36 of file PubSubSubspace.h.
Referenced by getId(), and operator<<().