Sirikata
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes
Sirikata::LibproxProximityBase::ProxStreamInfo< EndpointType, StreamType > Struct Template Reference

#include <LibproxProximityBase.hpp>

Collaboration diagram for Sirikata::LibproxProximityBase::ProxStreamInfo< EndpointType, StreamType >:

List of all members.

Public Types

typedef std::tr1::shared_ptr
< StreamType > 
StreamTypePtr
typedef std::tr1::shared_ptr
< ProxStreamInfo
Ptr
typedef std::tr1::weak_ptr
< ProxStreamInfo
WPtr
typedef std::tr1::function
< void(String &)> 
FrameReceivedCallback

Public Member Functions

 ProxStreamInfo ()
 ProxStreamInfo (StreamTypePtr strm)
void disable ()
void readFramesFromStream (Ptr prox_stream, FrameReceivedCallback cb)

Static Public Member Functions

static void handleRead (WPtr w_prox_stream, uint8 *data, int size)
static void writeSomeObjectResults (Context *ctx, WPtr prox_stream)
static void requestProxSubstream (LibproxProximityBase *parent, Context *ctx, const EndpointType &oref, Ptr prox_stream)
static void proxSubstreamCallback (LibproxProximityBase *parent, Context *ctx, int x, const EndpointType &oref, StreamTypePtr parent_stream, StreamTypePtr substream, Ptr prox_stream_info)

Public Attributes

StreamTypePtr iostream
bool iostream_requested
std::queue< std::string > outstanding
bool writing
std::tr1::function< void()> writecb
FrameReceivedCallback read_frame_cb
String partial_frame

template<typename EndpointType, typename StreamType>
struct Sirikata::LibproxProximityBase::ProxStreamInfo< EndpointType, StreamType >


Member Typedef Documentation

template<typename EndpointType , typename StreamType >
typedef std::tr1::function<void(String&)> Sirikata::LibproxProximityBase::ProxStreamInfo< EndpointType, StreamType >::FrameReceivedCallback
template<typename EndpointType , typename StreamType >
typedef std::tr1::shared_ptr<ProxStreamInfo> Sirikata::LibproxProximityBase::ProxStreamInfo< EndpointType, StreamType >::Ptr
template<typename EndpointType , typename StreamType >
typedef std::tr1::shared_ptr<StreamType> Sirikata::LibproxProximityBase::ProxStreamInfo< EndpointType, StreamType >::StreamTypePtr
template<typename EndpointType , typename StreamType >
typedef std::tr1::weak_ptr<ProxStreamInfo> Sirikata::LibproxProximityBase::ProxStreamInfo< EndpointType, StreamType >::WPtr

Constructor & Destructor Documentation

template<typename EndpointType , typename StreamType >
Sirikata::LibproxProximityBase::ProxStreamInfo< EndpointType, StreamType >::ProxStreamInfo ( ) [inline]
template<typename EndpointType , typename StreamType >
Sirikata::LibproxProximityBase::ProxStreamInfo< EndpointType, StreamType >::ProxStreamInfo ( StreamTypePtr  strm) [inline]

Member Function Documentation

template<typename EndpointType , typename StreamType >
void Sirikata::LibproxProximityBase::ProxStreamInfo< EndpointType, StreamType >::disable ( ) [inline]
template<typename EndpointType , typename StreamType >
void Sirikata::LibproxProximityBase::ProxStreamInfo< EndpointType, StreamType >::handleRead ( WPtr  w_prox_stream,
uint8 *  data,
int  size 
) [static]
template<typename EndpointType , typename StreamType >
void Sirikata::LibproxProximityBase::ProxStreamInfo< EndpointType, StreamType >::proxSubstreamCallback ( LibproxProximityBase parent,
Context ctx,
int  x,
const EndpointType &  oref,
StreamTypePtr  parent_stream,
StreamTypePtr  substream,
Ptr  prox_stream_info 
) [static]
template<typename EndpointType , typename StreamType >
void Sirikata::LibproxProximityBase::ProxStreamInfo< EndpointType, StreamType >::readFramesFromStream ( Ptr  prox_stream,
FrameReceivedCallback  cb 
)
template<typename EndpointType , typename StreamType >
void Sirikata::LibproxProximityBase::ProxStreamInfo< EndpointType, StreamType >::requestProxSubstream ( LibproxProximityBase parent,
Context ctx,
const EndpointType &  oref,
Ptr  prox_stream 
) [static]
template<typename EndpointType , typename StreamType >
void Sirikata::LibproxProximityBase::ProxStreamInfo< EndpointType, StreamType >::writeSomeObjectResults ( Context ctx,
WPtr  prox_stream 
) [static]

Member Data Documentation

template<typename EndpointType , typename StreamType >
StreamTypePtr Sirikata::LibproxProximityBase::ProxStreamInfo< EndpointType, StreamType >::iostream
template<typename EndpointType , typename StreamType >
bool Sirikata::LibproxProximityBase::ProxStreamInfo< EndpointType, StreamType >::iostream_requested
template<typename EndpointType , typename StreamType >
std::queue<std::string> Sirikata::LibproxProximityBase::ProxStreamInfo< EndpointType, StreamType >::outstanding
template<typename EndpointType , typename StreamType >
String Sirikata::LibproxProximityBase::ProxStreamInfo< EndpointType, StreamType >::partial_frame
template<typename EndpointType , typename StreamType >
FrameReceivedCallback Sirikata::LibproxProximityBase::ProxStreamInfo< EndpointType, StreamType >::read_frame_cb
template<typename EndpointType , typename StreamType >
std::tr1::function<void()> Sirikata::LibproxProximityBase::ProxStreamInfo< EndpointType, StreamType >::writecb
template<typename EndpointType , typename StreamType >
bool Sirikata::LibproxProximityBase::ProxStreamInfo< EndpointType, StreamType >::writing

The documentation for this struct was generated from the following files: