|
CEBL
2.1
|
#include <DeviceConfig.hpp>
Public Member Functions | |
| DeviceConfig (CEBLModel *) | |
| ~DeviceConfig () | |
| string | getLocation () |
| bool | isReady () |
| string | getError () |
| string | getInquiry () |
| bool | exists () |
| int | getSampleRate () |
| int | getBlockSize () |
| void | setDeviceLocation (std::string location) |
| void | setSampleRate (int sample_rate) |
| void | setBlockSize (int block_size) |
| void | scanForDevices () |
Configuration for device tab.
Definition at line 33 of file DeviceConfig.hpp.
| DeviceConfig::DeviceConfig | ( | CEBLModel * | model | ) |
Definition at line 14 of file DeviceConfig.cpp.
| DeviceConfig::~DeviceConfig | ( | ) |
Definition at line 30 of file DeviceConfig.cpp.
|
inline |
Definition at line 56 of file DeviceConfig.hpp.
Referenced by CEBLModel::deviceExists().
| int DeviceConfig::getBlockSize | ( | ) |
Definition at line 42 of file DeviceConfig.cpp.
Referenced by CEBLModel::deviceGetBlockSize().
|
inline |
Definition at line 54 of file DeviceConfig.hpp.
Referenced by CEBLModel::deviceGetError().
|
inline |
Definition at line 55 of file DeviceConfig.hpp.
Referenced by CEBLModel::deviceGetInquiry().
|
inline |
Definition at line 52 of file DeviceConfig.hpp.
Referenced by CEBLModel::deviceGetLocation().
| int DeviceConfig::getSampleRate | ( | ) |
Definition at line 37 of file DeviceConfig.cpp.
Referenced by CEBLModel::deviceGetSampleRate().
| bool DeviceConfig::isReady | ( | ) |
Definition at line 49 of file DeviceConfig.cpp.
References Mindset24::Close(), Mindset24::Inquiry(), Mindset24::IsMindset(), Mindset24::IsOpen(), Mindset24::Open(), Mindset24::Ready(), and cppR::rep().
Referenced by CEBLModel::deviceIsReady().
| void DeviceConfig::scanForDevices | ( | ) |
Definition at line 169 of file DeviceConfig.cpp.
References Mindset24::IsMindset(), Mindset24::IsOpen(), Mindset24::Open(), and Mindset24::Ready().
Referenced by CEBLModel::deviceSearch().
| void DeviceConfig::setBlockSize | ( | int | block_size | ) |
Definition at line 164 of file DeviceConfig.cpp.
Referenced by CEBLModel::deviceSetBlockSize().
| void DeviceConfig::setDeviceLocation | ( | std::string | location | ) |
Definition at line 153 of file DeviceConfig.cpp.
Referenced by CEBLModel::deviceSetDeviceLocation().
| void DeviceConfig::setSampleRate | ( | int | sample_rate | ) |
Definition at line 159 of file DeviceConfig.cpp.
Referenced by CEBLModel::deviceSetSampleRate().
1.8.1.1