VISR  0.11.1
Versatile Interactive Scene Renderer
visr::audiointerfaces::JackInterface::Config Struct Reference

#include <jack_interface.hpp>

Public Member Functions

 Config (std::string cliName, std::string servName, boost::property_tree::ptree portsConfig, bool autoConnect=false)
 
void loadPortConfig (boost::optional< boost::property_tree::ptree > tree, std::string &extClient, std::vector< std::string > &portNames, std::vector< std::string > &extPortNames, std::size_t numPorts, bool &autoConn, std::string porttype)
 

Public Attributes

std::string mClientName
 
std::string mInExtClientName
 
std::string mOutExtClientName
 
bool mInAutoConnect
 
bool mOutAutoConnect
 
std::string mServerName
 
boost::property_tree::ptree mPortJSONConfig
 
std::vector< std::string > mCapturePortNames
 
std::vector< std::string > mPlaybackPortNames
 

Detailed Description

Structure to hold all configuration arguments for a PortAudioInterface instance.

Constructor & Destructor Documentation

visr::audiointerfaces::JackInterface::Config::Config ( std::string  cliName,
std::string  servName,
boost::property_tree::ptree  portsConfig,
bool  autoConnect = false 
)

Default contructor to initialise elements to defined values.

Member Function Documentation

void visr::audiointerfaces::JackInterface::Config::loadPortConfig ( boost::optional< boost::property_tree::ptree >  tree,
std::string &  extClient,
std::vector< std::string > &  portNames,
std::vector< std::string > &  extPortNames,
std::size_t  numPorts,
bool &  autoConn,
std::string  porttype 
)

Member Data Documentation

std::vector< std::string > visr::audiointerfaces::JackInterface::Config::mCapturePortNames
std::string visr::audiointerfaces::JackInterface::Config::mClientName
bool visr::audiointerfaces::JackInterface::Config::mInAutoConnect
std::string visr::audiointerfaces::JackInterface::Config::mInExtClientName
bool visr::audiointerfaces::JackInterface::Config::mOutAutoConnect
std::string visr::audiointerfaces::JackInterface::Config::mOutExtClientName
std::vector< std::string > visr::audiointerfaces::JackInterface::Config::mPlaybackPortNames
boost::property_tree::ptree visr::audiointerfaces::JackInterface::Config::mPortJSONConfig
std::string visr::audiointerfaces::JackInterface::Config::mServerName

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