Sirikata
|
Small class that acts as a Provider for ObjectHostSessionListeners, but just forwards events from the real provider (allowing us to provide the ObjectHostSessionManager before the real provider is created). More...
#include <ObjectHostSession.hpp>
Public Member Functions | |
ObjectHostSessionManager (SpaceContext *ctx) | |
void | fireObjectHostSession (const OHDP::NodeID &id, OHDPSST::Stream::Ptr oh_stream) |
void | fireObjectHostSessionEnded (const OHDP::NodeID &id) |
ObjectHostSessionPtr | getSession (const OHDP::NodeID &id) |
Private Types | |
typedef std::tr1::unordered_map < OHDP::NodeID, ObjectHostSessionPtr, OHDP::NodeID::Hasher > | ObjectHostSessionMap |
Private Attributes | |
ObjectHostSessionMap | mOHSessions |
Small class that acts as a Provider for ObjectHostSessionListeners, but just forwards events from the real provider (allowing us to provide the ObjectHostSessionManager before the real provider is created).
typedef std::tr1::unordered_map<OHDP::NodeID, ObjectHostSessionPtr, OHDP::NodeID::Hasher> Sirikata::ObjectHostSessionManager::ObjectHostSessionMap [private] |
Sirikata::ObjectHostSessionManager::ObjectHostSessionManager | ( | SpaceContext * | ctx | ) | [inline] |
void Sirikata::ObjectHostSessionManager::fireObjectHostSession | ( | const OHDP::NodeID & | id, |
OHDPSST::Stream::Ptr | oh_stream | ||
) | [inline] |
void Sirikata::ObjectHostSessionManager::fireObjectHostSessionEnded | ( | const OHDP::NodeID & | id | ) | [inline] |
ObjectHostSessionPtr Sirikata::ObjectHostSessionManager::getSession | ( | const OHDP::NodeID & | id | ) | [inline] |
Referenced by fireObjectHostSession(), fireObjectHostSessionEnded(), and getSession().