1 #ifndef __STREAM_SOURCE__
2 #define __STREAM_SOURCE__
9 extern CFStringRef gStreamSourceName
;
13 class StreamSource
: public Source
16 StreamSource(CFReadStreamRef input
, Transform
* transform
, CFStringRef name
);
18 virtual void Finalize();
19 CFReadStreamRef mReadStream
;
20 dispatch_group_t mReading
;
22 void BackgroundActivate();
27 virtual ~StreamSource();
29 static CFTypeRef
Make(CFReadStreamRef input
, Transform
* transform
, CFStringRef name
);
30 Boolean
Equal(const CoreFoundationObject
* object
);
31 std::string
DebugDescription();