Commit 424952d1 authored by MONSEIGNE Thibaut's avatar MONSEIGNE Thibaut

Driver: add License & coding rules

parent 851833b9
......@@ -306,14 +306,14 @@ private:
int recv(void* data, int nbyttoread) const;
void close() const;
char nChannels;
bool isBitalino2 = false;
char m_nChannels;
bool m_isBitalino2 = false;
#ifdef _WIN32
SOCKET fd;
timeval readtimeout{};
HANDLE hCom;
SOCKET m_fd;
timeval m_readtimeout;
HANDLE m_hCom;
#else // Linux or Mac OS
int fd = 0;
int m_fd = 0;
bool isTTY = false;
#endif
};
///-------------------------------------------------------------------------------------------------
///
/// \file ovasCConfigurationBITalino.h
/// \brief The CConfigurationBITalino handles the configuration dialog specific to the BITalino device.
/// \author Daniel Osorio (PLUX)
/// \version 1.0.
/// \date 12/04/2019.
/// \copyright <a href="https://choosealicense.com/licenses/agpl-3.0/">GNU Affero General Public License v3.0</a>.
///
///-------------------------------------------------------------------------------------------------
#pragma once
#include "../ovasCConfigurationBuilder.h"
......@@ -5,16 +16,9 @@
namespace OpenViBEAcquisitionServer
{
/**
* \class CConfigurationBITalino
* \author Daniel Osorio (dosorio@plux.info) (PLUX)
* \date Fri Apr 12 11:10:35 2019
* \brief The CConfigurationBITalino handles the configuration dialog specific to the BITalino device.
*
* TODO: Update number of channels using callbacks (see pre configuration comments);
*
* \sa CDriverBITalino
*/
/// <summary> The CConfigurationBITalino handles the configuration dialog specific to the BITalino device. </summary>
/// @todo Update number of channels using callbacks(see pre configuration comments);
/// <seealso cref="CDriverBITalino" />
class CConfigurationBITalino : public CConfigurationBuilder
{
public:
......@@ -26,8 +30,6 @@ namespace OpenViBEAcquisitionServer
protected:
IDriverContext& m_driverContext;
private:
// Added a reference for the mac address and for the channel mask;
std::string& m_macAddress;
std::string& m_channelMask;
......
///-------------------------------------------------------------------------------------------------
///
/// \file ovasCDriverBITalino.h
/// \brief The CDriverBITalino allows the acquisition server to acquire data from a BITalino device.
/// \author Daniel Osorio (PLUX)
/// \version 1.0.
/// \date 12/04/2019.
/// \copyright <a href="https://choosealicense.com/licenses/agpl-3.0/">GNU Affero General Public License v3.0</a>.
///
///-------------------------------------------------------------------------------------------------
#pragma once
#include "ovasIDriver.h"
......@@ -11,16 +22,9 @@
namespace OpenViBEAcquisitionServer
{
/**
* \class CDriverBITalino
* \author Daniel Osorio (dosorio@plux.info) (PLUX)
* \date Fri Apr 12 11:10:35 2019
* \brief The CDriverBITalino allows the acquisition server to acquire data from a BITalino device.
*
* TODO: Better handling of device disconect;
*
* \sa CConfigurationBITalino
*/
/// <summary> The CDriverBITalino allows the acquisition server to acquire data from a BITalino device. </summary>
/// \todo Update number of channels using callbacks(see pre configuration comments);
/// <seealso cref="CDriverBITalino" />
class CDriverBITalino : public IDriver
{
public:
......
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