|
Fairport
v1.0.38
|
Defines a stream device which can wrap one of the two prop sources. More...
#include <object.h>
Inheritance diagram for fairport::hnid_stream_device:
Collaboration diagram for fairport::hnid_stream_device:Public Member Functions | |
| std::streamsize | read (char *pbuffer, std::streamsize n) |
| std::streampos | seek (boost::iostreams::stream_offset off, std::ios_base::seekdir way) |
| hnid_stream_device (const hid_stream_device &hid_device) | |
| Wrap a hid_stream_device. | |
| hnid_stream_device (const node_stream_device &node_device) | |
| Wrap a node_stream_device. | |
Defines a stream device which can wrap one of the two prop sources.
An hnid_steam_device wraps either a hid_stream_device if the property being streamed is located in a heap, or a node_stream_device if the property being streamed is contained in it's own subnode.
It is a common feature in both types of property objects to allocate properties in the heap first, and then "roll over" to a subnode when/if the size of the property becomes too large to fit in a heap allocation.
| fairport::hnid_stream_device::hnid_stream_device | ( | const hid_stream_device & | hid_device | ) | [inline] |
Wrap a hid_stream_device.
| fairport::hnid_stream_device::hnid_stream_device | ( | const node_stream_device & | node_device | ) | [inline] |
Wrap a node_stream_device.
| std::streamsize fairport::hnid_stream_device::read | ( | char * | pbuffer, |
| std::streamsize | n | ||
| ) | [inline] |
| std::streampos fairport::hnid_stream_device::seek | ( | boost::iostreams::stream_offset | off, |
| std::ios_base::seekdir | way | ||
| ) | [inline] |