Commit 1a9da88e authored by Jussi Lindgren's avatar Jussi Lindgren

Drivers: Fixed VAmp driver compilation

parent 2602ae73
......@@ -125,12 +125,12 @@ namespace OpenViBEAcquisitionServer
/**
* \brief Get impedance limit
* \return \e the chosen impedance limit.
* \return \e the chosen impedance limit (ohms)
*/
virtual OpenViBE::uint32 getImpedanceLimit(void) const = 0;
/**
* \brief Set impedance limit
* \param ui32ImpedanceLimit [in] : the new value for impedance limit
* \param ui32ImpedanceLimit [in] : the new value for impedance limit (ohms)
* \return \e true in case of success.
* \return \e false in case of error.
*/
......
......@@ -45,6 +45,9 @@ namespace OpenViBEAcquisitionServer
virtual OpenViBE::boolean setImpedanceCheckRequested(const OpenViBE::boolean bImpedanceCheckRequested);
virtual OpenViBE::boolean isImpedanceCheckRequested(void) const;
virtual OpenViBE::uint32 getImpedanceLimit(void) const { return m_ui32ImpedanceLimit; };
virtual OpenViBE::boolean setImpedanceLimit(const OpenViBE::uint32 ui32ImpedanceLimit) { m_ui32ImpedanceLimit = ui32ImpedanceLimit; return true; };
// Channel information
virtual OpenViBE::boolean setChannelCount(const OpenViBE::uint32 ui32ChannelCount);
virtual OpenViBE::boolean setChannelName(const OpenViBE::uint32 ui32ChannelIndex, const char* sChannelName);
......@@ -115,6 +118,8 @@ namespace OpenViBEAcquisitionServer
std::map<OpenViBE::uint32, std::string> m_vPairName;
std::map<OpenViBE::uint32, OpenViBE::float32> m_vPairGain;
std::map<OpenViBE::uint32, std::pair<OpenViBE::uint32, OpenViBE::uint32> > m_vPairUnit;
OpenViBE::uint32 m_ui32ImpedanceLimit = 5000; // 5kOhm
};
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment