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

Small class that acts as a Provider for SpaceNodeSessionListeners, but just forwards events from the real provider (allowing us to provide the SpaceNodeSessionManager before the real provider is created). More...

#include <SpaceNodeSession.hpp>

Inheritance diagram for Sirikata::SpaceNodeSessionManager:
Collaboration diagram for Sirikata::SpaceNodeSessionManager:

List of all members.

Public Member Functions

 SpaceNodeSessionManager ()
void fireSpaceNodeSession (const OHDP::SpaceNodeID &id, OHDPSST::Stream::Ptr sn_stream)
void fireSpaceNodeSessionEnded (const OHDP::SpaceNodeID &id)
OHDPSST::Stream::Ptr getSession (const OHDP::SpaceNodeID &id)

Private Types

typedef
std::tr1::unordered_map
< OHDP::SpaceNodeID,
OHDPSST::Stream::Ptr,
OHDP::SpaceNodeID::Hasher
SpaceNodeSessionMap

Private Attributes

SpaceNodeSessionMap mSNSessions

Detailed Description

Small class that acts as a Provider for SpaceNodeSessionListeners, but just forwards events from the real provider (allowing us to provide the SpaceNodeSessionManager before the real provider is created).


Member Typedef Documentation


Constructor & Destructor Documentation

Sirikata::SpaceNodeSessionManager::SpaceNodeSessionManager ( ) [inline]

Member Function Documentation

void Sirikata::SpaceNodeSessionManager::fireSpaceNodeSession ( const OHDP::SpaceNodeID id,
OHDPSST::Stream::Ptr  sn_stream 
) [inline]
void Sirikata::SpaceNodeSessionManager::fireSpaceNodeSessionEnded ( const OHDP::SpaceNodeID id) [inline]
OHDPSST::Stream::Ptr Sirikata::SpaceNodeSessionManager::getSession ( const OHDP::SpaceNodeID id) [inline]

References mSNSessions.


Member Data Documentation


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