Newer
Older
using voltu::internal::InputFeedImpl;
using voltu::internal::OutputFeedImpl;
// ==== Input ==================================================================
InputFeedImpl::InputFeedImpl(ftl::stream::Feed* feed, uint32_t fsid)
: feed_(feed)
{
fsids_.insert(fsid);
}
{
return feed_->getURI(*fsids_.begin());
}
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
void InputFeedImpl::remove()
{
throw voltu::exceptions::NotImplemented();
}
void InputFeedImpl::submit(const voltu::FramePtr &frame)
{
throw voltu::exceptions::ReadOnly();
}
voltu::FeedType InputFeedImpl::type()
{
throw voltu::exceptions::NotImplemented();
}
voltu::PropertyPtr InputFeedImpl::property(voltu::FeedProperty)
{
throw voltu::exceptions::NotImplemented();
}
// ==== Output =================================================================
OutputFeedImpl::OutputFeedImpl(ftl::stream::Feed* feed, const std::string &uri)
: feed_(feed), uri_(uri)
{
}
OutputFeedImpl::~OutputFeedImpl()
{
//remove();
}
std::string OutputFeedImpl::getURI()
{
return uri_;
}
void OutputFeedImpl::remove()
throw voltu::exceptions::NotImplemented();
}
void OutputFeedImpl::submit(const voltu::FramePtr &frame)
{
throw voltu::exceptions::NotImplemented();
}
voltu::FeedType OutputFeedImpl::type()
{
throw voltu::exceptions::NotImplemented();
}
voltu::PropertyPtr OutputFeedImpl::property(voltu::FeedProperty)
{
throw voltu::exceptions::NotImplemented();