Class eva::IReader¶
Interface for value readers. More...
#include <evaIReader.h>
Inherited by the following classes: eva::IReaderAdapter
Public Functions¶
| Type | Name |
|---|---|
| virtual signed short | getValue () = 0 |
| virtual bool | isValid () = 0 |
Detailed Description¶
The library uses templates internally for maximum performance and flexibility, and never uses interfaces internally. However, forcing users to write template code everywhere can be cumbersome. All readers can be converted to this interface using the companion IReaderAdapter for further use in polymorphic contexts.
This two-tier approach gives us benefits: * Use templates directly for maximum performance * Use this interface for simpler integration and loose coupling
See also: IReaderAdapter
Public Functions Documentation¶
function getValue¶
virtual signed short eva::IReader::getValue () = 0
function isValid¶
virtual bool eva::IReader::isValid () = 0
The documentation for this class was generated from the following file src/evaIReader.h