5 #include <libutl/Array.h> 6 #include <libutl/Stream.h> 50 return _streams.add(stream);
53 virtual void checkOK();
56 bool remove(
const Stream* stream);
59 bool setInput(
const Stream* stream);
65 return _streams.isOwner();
72 super::setOwner(owner);
73 _streams.setOwner(owner);
83 virtual size_t read(
byte_t* array,
size_t maxBytes,
size_t minBytes =
size_t_max);
85 virtual void write(
const byte_t* array,
size_t num);
const TArray< Stream > & streams() const
Get the array of associated stream.
void deInit()
De-initialize UTL++.
#define UTL_CLASS_DECL(DC, BC)
Declaration of standard UTL++ functionality for a non-template class.
unsigned char byte_t
Unsigned character.
const size_t size_t_max
Maximum size_t value.
void copy(T *dest, const T *src, size_t len)
Copy one array of objects to another.
Template version of Array.
bool add(const Stream *stream)
Add a stream.
unsigned int uint_t
Unsigned integer.
bool isOwner() const
Get the owner flag.
void setOwner(bool owner)
Set the owner flag.
IOmux(uint_t mode, bool owner=true)
Constructor.
Root of UTL++ class hierarchy.
void init()
Initialize UTL++.