CEBL  2.1
Public Member Functions
DeviceConfig Class Reference

#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 ()

Detailed Description

Author:
Jeshua Bratman

Configuration for device tab.

Definition at line 33 of file DeviceConfig.hpp.


Constructor & Destructor Documentation

DeviceConfig::DeviceConfig ( CEBLModel model)

Definition at line 14 of file DeviceConfig.cpp.

DeviceConfig::~DeviceConfig ( )

Definition at line 30 of file DeviceConfig.cpp.


Member Function Documentation

bool DeviceConfig::exists ( )
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().

string DeviceConfig::getError ( )
inline

Definition at line 54 of file DeviceConfig.hpp.

Referenced by CEBLModel::deviceGetError().

string DeviceConfig::getInquiry ( )
inline

Definition at line 55 of file DeviceConfig.hpp.

Referenced by CEBLModel::deviceGetInquiry().

string DeviceConfig::getLocation ( )
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 ( )
void DeviceConfig::scanForDevices ( )
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().


The documentation for this class was generated from the following files: