Sirikata
Public Member Functions | Private Types | Private Attributes
Sirikata::ObjectHostSessionManager Class Reference

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>

Inheritance diagram for Sirikata::ObjectHostSessionManager:
Collaboration diagram for Sirikata::ObjectHostSessionManager:

List of all members.

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

Detailed Description

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).


Member Typedef Documentation


Constructor & Destructor Documentation

Sirikata::ObjectHostSessionManager::ObjectHostSessionManager ( SpaceContext ctx) [inline]

Member Function Documentation

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]

Member Data Documentation


The documentation for this class was generated from the following file: