mn::device::basic_device Class Referenceabstract
#include <mn_basic_device.hpp>
Inheritance diagram for mn::device::basic_device:
Public Member Functions | |
basic_device (char prefix[8]) | |
virtual int | open ()=0 |
Opens device. More... | |
virtual int | stop ()=0 |
Closes device. More... | |
virtual bool | is_enable ()=0 |
virtual bool | is_stream_support ()=0 |
const char * | get_prefix () |
Protected Attributes | |
const char * | m_prefix |
Constructor & Destructor Documentation
◆ basic_device()
|
inline |
Member Function Documentation
◆ get_prefix()
|
inline |
◆ is_enable()
|
pure virtual |
Implemented in mn::device::basic_wifi_ap.
◆ is_stream_support()
|
pure virtual |
Implemented in mn::device::basic_wifi_ap, and mn::device::basic_streamed_device.
◆ open()
|
pure virtual |
Opens device.
- Returns
- 0 on success, error code otherwise
Implemented in mn::device::basic_block_device, and mn::device::basic_wifi_ap.
◆ stop()
|
pure virtual |
Closes device.
- Precondition
- Device is opened.
- Returns
- 0 on success, error code otherwise
Implemented in mn::device::basic_block_device, and mn::device::basic_wifi_ap.
Member Data Documentation
◆ m_prefix
|
protected |
The documentation for this class was generated from the following file: