rili::stream::view::Base Class Referenceabstract
Inheritance diagram for rili::stream::view::Base:
Public Member Functions | |
virtual char const * | data () const =0 |
virtual std::size_t | size () const =0 |
bool | empty () const |
char | operator[] (std::size_t position) const |
Detailed Description
Member Function Documentation
|
pure virtual |
data give access to begin of continous memory space with size equal to size() + 1(for leading 0x0 val) containing already aquired data.
- Returns
- pointer to memory space
Implemented in rili::stream::view::Default.
|
inline |
empty check if any already avaliable data
- Returns
|
inline |
operator [] give access to data element
- Parameters
-
position in data
- Returns
- element from data
|
pure virtual |
size used to check how many bytes is in aquired data
- Returns
- size of data
Implemented in rili::stream::view::Default.
The documentation for this class was generated from the following file:
- rili/stream/View.hpp