![]()  | 
  
    The Open Master Hearing Aid (openMHA)
    openMHA
    
   Open community platform for hearing aid algorithm research 
   | 
 
Implementation for all ac to lsl bridges except complex types. More...

Public Member Functions | |
| save_var_t (const std::string &name_, const std::string &type_, unsigned num_channels_, const mha_real_t rate_, const lsl::channel_format_t format_, const std::string &source_id_, void *data_, const unsigned data_type_) | |
| C'tor of generic ac to lsl bridge.  More... | |
| virtual void * | get_buf_address () const noexcept override | 
| Get buffer address as void pointer.  More... | |
| virtual void | set_buf_address (void *data) override | 
| Cast the input pointer to the appropriate type and set the buffer address.  More... | |
| virtual lsl::stream_info | info () const noexcept override | 
| Get stream info object from stream outlet.  More... | |
| virtual unsigned | data_type () const noexcept override | 
| Get data type id according MHA convention.  More... | |
| virtual | ~save_var_t ()=default | 
| virtual void | send_frame (unsigned num_entries) override | 
| Send a frame to lsl.  More... | |
  Public Member Functions inherited from ac2lsl::save_var_base_t | |
| virtual | ~save_var_base_t ()=default | 
Private Attributes | |
| lsl::stream_outlet | stream | 
| LSL stream outlet.  More... | |
| T * | buf | 
| Pointer to data buffer of the ac variable.  More... | |
| const unsigned | data_type_ | 
| Data type id according to MHA convention.  More... | |
Implementation for all ac to lsl bridges except complex types.
      
  | 
  inline | 
C'tor of generic ac to lsl bridge.
| info | LSL stream info object containing metadata | 
| data | Pointer to data buffer of the ac variable | 
| data_type | Type id of the stream, in mha convention. Should be set to one if not a vector. | 
      
  | 
  virtualdefault | 
      
  | 
  inlineoverridevirtualnoexcept | 
Get buffer address as void pointer.
Implements ac2lsl::save_var_base_t.
      
  | 
  inlineoverridevirtual | 
Cast the input pointer to the appropriate type and set the buffer address.
| data | New buffer address | 
Implements ac2lsl::save_var_base_t.
      
  | 
  inlineoverridevirtualnoexcept | 
Get stream info object from stream outlet.
Implements ac2lsl::save_var_base_t.
      
  | 
  inlineoverridevirtualnoexcept | 
Get data type id according MHA convention.
Implements ac2lsl::save_var_base_t.
      
  | 
  inlineoverridevirtual | 
Send a frame to lsl.
Implements ac2lsl::save_var_base_t.
      
  | 
  private | 
LSL stream outlet.
Interface to lsl
      
  | 
  private | 
Pointer to data buffer of the ac variable.
      
  | 
  private | 
Data type id according to MHA convention.