sha256
stringlengths
64
64
language
stringclasses
28 values
size
int32
1
491k
lines
int32
1
23.2k
content
stringlengths
1
200k
00bee3af66c492a152dc68db935b8786f965ca381efb2b79d65af556f0d8355a
C/C++
3,294
88
#pragma once #include "ov_defines.h" #include "CIdentifier.hpp" namespace OpenViBE { class IObjectVisitor; namespace Kernel { class CKernelObjectFactory; } // namespace Kernel #define _IsDerivedFromClass_(_SuperClassName_,_ClassIdentifier_) \ bool isDerivedFromClass( const OpenViBE::CIdentifier& classId) cons...
94e3cfa3c4d4bfc6c3fe8708c2ebac39b1b2fd4f98ea87cc204abcb4bb5cb31b
C/C++
3,295
54
#pragma once #include "../ovtk_base.h" namespace OpenViBE { namespace Toolkit { namespace Matrix { // Can be used : CMatrix class behaviour is a little different but this function is never used (except in test). Avoid to used it, intended to be removed. OVTK_API bool toString(const CMatrix& matrix, CString& str, con...
b1730b4048b1ea629aeb1719f5d65fca2b85d66de89bf1392f5d61103cfb008f
C/C++
3,296
78
#pragma once #include "../ovkTKernelObject.h" #include <vector> #include <map> #include <mutex> #include <condition_variable> #include <thread> namespace OpenViBE { namespace Kernel { class CLogManager final : public TKernelObject<ILogManager> { public: explicit CLogManager(const IKernelContext& ctx) : TKerne...
081195949edee5ef6e862990296d04bb3e44dadc9ce470afa121c3db7e26f10a
C/C++
3,301
107
//----------------------------------------------- // Copyright 2010 Wellcome Trust Sanger Institute // Written by Jared Simpson (js18@sanger.ac.uk) // Released under the GPL //----------------------------------------------- // // BWTCodec - Encoder/decoder for a BWT // string over the alphabet $ACGT using // 3 bits per...
a2871ecdc8e3f3c77e2dd95e7e3502b03c0bf524ed1e86048b220c0080c95b82
C/C++
3,302
96
/** * SPDX-FileCopyrightText: Inria <florent.leray@inria.fr> * SPDX-License-Identifier: AGPL-3.0-only */ /** * @file CircularBuffer.h * @brief Header file for the CircularBuffer class. * * This file declares the `CircularBuffer` class, which provides a thread-safe * circular buffer implementation for managing ...
f2f61714317d14e845004c95dadcbbfccdc8a9fa0f58c369f4a73e5a8e92e1b4
C/C++
3,303
91
#pragma once #include "../ovp_defines.h" #include <toolkit/ovtk_all.h> namespace OpenViBE { namespace Plugins { namespace Examples { class CHelloWorldWithInput final : public Toolkit::TBoxAlgorithm<IBoxAlgorithm> { public: void release() override { delete this; } bool processInput(const size_t index) override...
c604e1ca3125138efe9f0e812ce9447af0ed86da222fa5c929221f0e09e8916c
C/C++
3,306
93
#pragma once #include "../ovkTKernelObject.h" #include "ovkCScenario.h" #include <map> #include <array> namespace OpenViBE { namespace Kernel { typedef struct _InterfacorRequest { size_t index = size_t(-1); CIdentifier identifier = CIdentifier::undefined(); CIdentifier typeID = CIdentifier...
fc7028dfc33e1c5e69f204892ef1927dc8fc846304023dfcc1d2762772265df1
C/C++
3,317
112
/******************** PhyloBayes MPI. Copyright 2010-2013 Nicolas Lartillot, Nicolas Rodrigue, Daniel Stubbs, Jacques Richer. PhyloBayes is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the L...
8e1e1aee9b4fc7e5de06cb492bd97f0f8773dd36b8895f9d67b93e1dcc9a5936
C/C++
3,323
116
/******************** PhyloBayes MPI. Copyright 2010-2013 Nicolas Lartillot, Nicolas Rodrigue, Daniel Stubbs, Jacques Richer. PhyloBayes is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the L...
6497d1fd43649b6a2e8a747b7521fccf383516d0a2b71f3bc7b4045c351d2363
C/C++
3,333
91
#pragma once #include "../ovkTKernelObject.h" #include <vector> namespace OpenViBE { namespace Metabox { /** * \brief The CMetaboxObjectDesc virtual BoxAlgorithmDesc for metaboxes * * This class provides a virtual algorithm descriptor for metaboxes. Each metabox-scenario * will result in one of these descriptor...
719c14c6addedead786403935c61ca53542a20bc05c7e14584a46de246e47813
C/C++
3,340
82
/******************************************************************************* Copyright 2006-2012 Lukas Käll <lukas.kall@scilifelab.se> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http:...
8eab8341786f764d27c5523952099b9b57837d566d41ccb05007a0e7397ce2d8
C/C++
3,348
108
// @copyright notice: Possibly due to dependencies, this box used to be GPL before upgrade to AGPL3 #pragma once #if defined TARGET_HAS_ThirdPartyITPP #include "../ovp_defines.h" #include <toolkit/ovtk_all.h> #include <vector> #include <map> #include <string> namespace OpenViBE { namespace Plugins { namespace Sig...
0215dd63af7ed0ba94471ed06c05792a3a8e402299b6103eaf1842da972fe4e2
C/C++
3,353
108
#pragma once #if defined TARGET_HAS_ThirdPartyNeXus #include "ovasIDriver.h" #include "../ovasCHeader.h" #include "ovas_base.h" #include "../ovasCSettingsHelper.h" #include "../ovasCSettingsHelperOperators.h" #include "ovasCConfigurationTMSIRefa32B.h" // This dll comes from the sdk-nexus.zip dependency archive #de...
1d1cbd411d1035925e01dcdc4a44953842e5dbdc9c275638644145aca9edcd2c
C/C++
3,373
87
#pragma once #include "../../ovp_defines.h" #include <openvibe/ov_all.h> #include <toolkit/ovtk_all.h> #include <fstream> #include <map> namespace OpenViBE { namespace Plugins { namespace FileIO { class CBoxAlgorithmBrainampFileWriter final : public Toolkit::TBoxAlgorithm<IBoxAlgorithm> { public: void release() ...
23810faedc4e6c4408bf7d5520f75531ac91c852a77bcf8c369c59f8120eaf61
C/C++
3,380
84
// @copyright notice: Possibly due to dependencies, this box used to be GPL before upgrade to AGPL3 #pragma once #include "../ovp_defines.h" #if defined TARGET_HAS_ThirdPartyITPP #include "../ovp_defines.h" #include <openvibe/ov_all.h> #include <toolkit/ovtk_all.h> namespace OpenViBE { namespace Plugins { namespace...
bae7f54c9ff3a1d80fb5327aa36f9dab66065c1905e30068a0cbfd95e8980382
C/C++
3,380
120
/* * NeuroServo driver for OpenViBE * * \author (NeuroServo) * \date Wed Nov 23 00:24:00 2016 * */ #pragma once #if defined TARGET_OS_Windows #if defined TARGET_HAS_ThirdPartyNeuroServo #include "ovasIDriver.h" #include "../ovasCHeader.h" #include <openvibe/ov_all.h> #include "../ovasCSettingsHelper.h" #include ".....
9fabf3405a42af909982815fabd8eaa6d23da0887ce0b4bb644ab1e80d44866f
C/C++
3,397
86
#pragma once #include "defines.hpp" #include <openvibe/ov_all.h> #include <toolkit/ovtk_all.h> namespace OpenViBE { namespace Plugins { namespace SignalProcessing { class CBoxAlgorithmQuadraticForm final : virtual public Toolkit::TBoxAlgorithm<IBoxAlgorithm> { public: void release() override { delete this; } ...
4878e2a5ab328702fbdf17331ff67f02f401ad71d028d7f1d0f5b905d1d407f5
C/C++
3,412
93
#pragma once #include "../../ovp_defines.h" #include <openvibe/ov_all.h> #include <toolkit/ovtk_all.h> #include <cstdio> #include <iostream> #include <fstream> namespace OpenViBE { namespace Plugins { namespace FileIO { class CBoxAlgorithmCSVFileWriter final : public Toolkit::TBoxAlgorithm<IBoxAlgorithm> { public: ...
d79b04c5c1061ee3c07b11d85227c3643467b299a881bb83f5b14b77f43f910b
C/C++
3,414
101
/******************************************************************************* * SVMlin * Copyright (c) 2006 Vikas Sindhwani at the University of Chicago. * Adapted to Percolator by Lukas Käll at the University of Washington * Sped up by John Halloran at the University of California, Davis, as detailed in: *****...
7c7d409cfdd818c0910db6477c6bcf80dd9f37df7bf6386580884f11ec6b12cd
C/C++
3,417
99
#pragma once #include "defines.hpp" #include <openvibe/ov_all.h> #include <toolkit/ovtk_all.h> namespace OpenViBE { namespace Plugins { namespace SignalProcessing { /** * \class CBoxAlgorithmHilbert * \author Alison Cellard (Inria) * \date Thu Jun 6 13:47:53 2013 * \brief The class CBoxAlgorithmHilbert describe...
2482248ff933e2afc97b1318298a7a34d337adf1fd391698d933e54e968ff669
C/C++
3,437
118
/******************************************************************************* Copyright 2006-2012 Lukas Käll <lukas.kall@scilifelab.se> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www...
aea50e3ecc43fb58fc5a33b06d9704dd2aea63fc806962d9eae707ee17c538f2
C/C++
3,451
81
// // OpenViBE Tracker // #pragma once #include <openvibe/ov_all.h> #include <toolkit/ovtk_all.h> #include "StreamRendererMatrix.h" #include "StreamRendererSignal.h" #include "StreamRendererStimulation.h" #include "StreamRendererSpectrum.h" #include "StreamRendererExperimentInfo.h" #include "StreamRendererLabel.h" #...
156adf179e844cf8f3626bd6db5414beba07fc03c3cd0b3967baf1daf793b05c
C/C++
3,464
112
#pragma once #include "../ovp_defines.h" #include "../ovp_gdf_helpers.h" #include <openvibe/ov_all.h> #include <toolkit/ovtk_all.h> #include <fstream> #include <vector> namespace OpenViBE { namespace Plugins { namespace FileIO { /** * The plugin's main class * */ class CGDFFileWriter final : public Toolkit::TBoxAl...
36c64081d7b9a4315f6866cea2c18177ca5e1998e9766ed3bf30b8c607ac80c6
C/C++
3,467
85
/* # File : condat_fast_tv.c # # Version : proxTV 1.0, Dec. 18, 2012 # # Author : Laurent Condat, PhD, CNRS research fellow in France. # Minor modifications by Alvaro Barbero. # # Description : This file contains an implementation in the C language # of algorith...
e5b7aea306007a330234361a65d246d80e045a73371d9721a69e736140849cae
C/C++
3,467
125
#ifndef _LIBSVM_H #define _LIBSVM_H #define _DENSE_REP #include <vector> #include "PseudoRandom.h" #ifdef __cplusplus extern "C" { #endif #ifdef _DENSE_REP struct svm_node { int dim; double* values; }; struct svm_problem { std::size_t l; double* y; struct svm_node* x; }; #else struct svm_node {...
4810701d534122b4ffa6f062b073ab0e50035818dfdfec35404a0f93c94d2e5e
C/C++
3,476
85
/* * Copyright (C) 2010, Stefan Klanke * F.C. Donders Centre for Cognitive Neuroimaging, Radboud University Nijmegen, * Kapittelweg 29, 6525 EN Nijmegen, The Netherlands */ #ifndef __socketserver_h #define __socketserver_h #include "buffer.h" #include <pthread.h> #define MERGE_THRESHOLD 4096 /* TODO: opti...
d7165a5204d1be31461ba5466ee287f0bf96f125ccace97fb20069b89294f995
C/C++
3,477
101
#pragma once #include <openvibe/ov_all.h> #include <toolkit/ovtk_all.h> #define SET_BIT(bit) (1 << bit) namespace OpenViBE { namespace Plugins { namespace SignalProcessing { class CInputChannel { typedef enum { NOT_STARTED = 0, SIGNAL_HEADER_DETECTED = SET_BIT(0), STIMULATION_SYNCH...
d8ff4e6edba78b2dcba02a30b9d7fbd5b6e218278a82b057523f0a45fa4ad251
C/C++
3,480
105
/******************** PhyloBayes MPI. Copyright 2010-2013 Nicolas Lartillot, Nicolas Rodrigue, Daniel Stubbs, Jacques Richer. PhyloBayes is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the L...
7edcd783bcd8722ae52e13d01824aea7783d06b48c2ae9ee7e3415db12c26593
C/C++
3,494
89
/* Copyright (c) 2016, Blue Brain Project All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the foll...
e8e73b93e4aae36bc588383875ec02507b2ee6326ad9341cc4d4b7c01be5e2f7
C/C++
3,497
104
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2008 Gael Guennebaud <gael.guennebaud@inria.fr> // // This Source Code Form is subject to the terms of the Mozilla // Public License v. 2.0. If a copy of the MPL was not distributed // with this file, You can ob...
b4c31f7b932680f42dadd3e1651e2dd36017dea2049cf76b9e0e2eb0080ce341
C/C++
3,500
74
#pragma once #include "../ovkTKernelObject.h" #include <map> #include <string> #include <mutex> namespace OpenViBE { namespace Kernel { class IConfigurationKeywordExpandCallback; typedef struct { CString name; CString value; } config_token_t; class CConfigurationManager final : public TKernelObject<IConfig...
903d0807279c4607c1831e60d0e6672e7be25bde30d7e097ebcbc7c3aefcc991
C/C++
3,501
152
#ifndef CODONSTATESPACE_H #define CODONSTATESPACE_H #include "StateSpace.h" #include <map> class CodonStateSpace : public StateSpace { public: static const int Npos = 3; // by default, codons always exclude stops // if a method takes or returns a codon stops INCLUDED, then this is made explicit in the method's...
8756f6cd1e551486b51418d632ff4a6c9d4b855d28a88df976630d2f1830c96d
C/C++
3,503
115
#ifndef ANALYTICS_H #define ANALYTICS_H #include <boost/asio.hpp> #include <boost/functional/hash.hpp> #include <sstream> #include <iostream> #include <string> #include <iomanip> #include "Version.h" using boost::asio::ip::tcp; // Define your PostHog API key here static const std::string POSTHOG_API_KEY = "phc_VdyCa...
6b32fdbf7d94501954157e68ca08701ceb5be952f14308dee5343b1cefdbeb4b
C/C++
3,505
90
/******************** PhyloBayes MPI. Copyright 2010-2013 Nicolas Lartillot, Nicolas Rodrigue, Daniel Stubbs, Jacques Richer. PhyloBayes is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the L...
cdbb7981cb00c55a28cc6273ae776c40bcc990e2e069151434ceffab20921b0d
C/C++
3,537
110
/******************************************************************************* Copyright 2006-2012 Lukas Käll <lukas.kall@scilifelab.se> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http:...
e51461e6e7984a205d9a3161d7157c1c01b2691ffa3d77bc5f141daaa3fca299
C/C++
3,539
155
/*************************************************** *** adapted from crux/src/c/PeptideConstraint.h *** ***************************************************/ /** * \file peptide_constraint.h * $Revision: 1.5 $ * \brief Object for holding the peptide constraint information. */ #ifndef PEPTIDE_CONSTRAINT_H #def...
720ef098cf137f3819de23be51876b45a6f683d646a50915075081f82afc215b
C/C++
3,550
81
#pragma once #include "IReader.h" namespace EBML { // ________________________________________________________________________________________________________________ // template <class TOwnerClass> class TReaderCallbackProxy1 final : public IReaderCallback { public: TReaderCallbackProxy1(TOwnerClass& ownerObje...
c5ba4e963e08d1a277e917df78d24d419378068b964df6c926fbd35bfb84dbf6
C/C++
3,555
93
#pragma once #include "../ovIKernelObject.h" #include "../../metaboxes/ovIMetaboxObjectDesc.h" namespace OpenViBE { namespace Kernel { /** * \class IMetaboxManager * \brief Metabox manager * \author Thierry Gaugry (INRIA/Mensia) * \date 2017-04-12 * \ingroup Group_Metabox * \ingroup Group_Kernel * * The metab...
1f1eaad26304970843d03f6f8b0139b46bd8c1ed20edf00eba12ba639a5cb86c
C/C++
3,567
115
//----------------------------------------------- // Copyright 2010 Wellcome Trust Sanger Institute // Written by Jared Simpson (js18@sanger.ac.uk) // Released under the GPL //----------------------------------------------- // // ASQG - Definitions and functions // for handling ASGQ files // #ifndef ASQG_H #define ASQG...
49b988b87ae0ecd165e451b0296a3580d9a5d3895e0e20d15dfeaa969bdc08f3
C/C++
3,568
117
/** * \file defines.h * \author Yann Renard (INRIA/IRISA) * \date 2006-08-07 * \brief Contains basic type definitions and EBML standard identifiers */ #pragma once #include <ov_common_defines.h> #include <cstdlib> // For Unix Compatibility #include <cstdint> //__________________________________________________...
6e07c0ab095f4108e50e9e7f6d0c33cd8218ef82259a0aa518a2c134294617d5
C/C++
3,568
141
/******************** PhyloBayes MPI. Copyright 2010-2013 Nicolas Lartillot, Nicolas Rodrigue, Daniel Stubbs, Jacques Richer. PhyloBayes is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the L...
9378a8b6f9f1674a8dc69bfbd8cb9b374d5ebad10f1a75de95e210f3e7a5ff1a
C/C++
3,573
116
#include "MonotoneRegressor.h" #include <algorithm> #include <cassert> #include <numeric> #include <stdexcept> class PAVARegressor final : public MonotoneRegressor { public: using MonotoneRegressor::MonotoneRegressor; std::vector<double> fit_xy(const std::vector<double>& x, const std:...
7f5cd8b4af7404bbcb1dd372b33d4c9bb311fb70a119ff7e8e8528d1f3d4cceb
C/C++
3,584
115
//----------------------------------------------- // Copyright 2010 Wellcome Trust Sanger Institute // Written by Jared Simpson (js18@sanger.ac.uk) // Released under the GPL //----------------------------------------------- // // ASQG - Definitions and functions // for handling ASGQ files // #ifndef SVABA_ASQG_H #defin...
fba063f5dca755410e5bd118be54ae0450fd37daee0022cd3d872056d68b2054
C/C++
3,585
129
/* -*- mode: C++; indent-tabs-mode: nil; -*- * * This file is a part of LEMON, a generic C++ optimization library. * * Copyright (C) 2003-2013 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport * (Egervary Research Group on Combinatorial Optimization, EGRES). * * Permission to use, modify and distribut...
5530c31d965973cceb407aa05721ac8618d17b8078032dba182442379f94cd8a
C/C++
3,587
58
#pragma once #include "../ovkTKernelObject.h" #include <map> namespace OpenViBE { namespace Kernel { class CScenario; class CScenarioManager final : public TKernelObject<IScenarioManager> { public: explicit CScenarioManager(const IKernelContext& ctx); ~CScenarioManager() override; void cloneScenarioImp...
3a56c6cf3d0eb6675b5c6c5c243f6345694f24a3aca5f1fea432ba5d696ed142
C/C++
3,595
101
/** * SPDX-FileCopyrightText: Inria <thomas.prampart@inria.fr> * SPDX-License-Identifier: AGPL-3.0-only */ #pragma once #include "parameterObject.h" #include <openvibe/parameters/parameterStringVector.h> namespace OpenViBE { namespace Parameters { /** * @brief Qt/QML wrapper for a string-vector parameter. * * ...
d3b0682fc37a532a27e96cc5f0f8cf4c1910188538b615ed53fb5b15beea2380
C/C++
3,602
94
/** * SPDX-FileCopyrightText: Inria <thomas.prampart@inria.fr> * SPDX-License-Identifier: AGPL-3.0-only */ #pragma once #include <QtCore> #include <QtQml> #include <QJSValue> #include "ImpedanceItem.h" namespace OpenViBE { namespace AcquisitionServer { class AcquisitionController : public QObject { Q_OBJECT...
2bc34fcb41ab0529c5beca170cab7b852da47db1edf7833ef14951990c8d85cf
C/C++
3,613
128
///------------------------------------------------------------------------------------------------- /// /// \file ovas_defines_brainmaster_discovery.h /// \copyright Copyright (C) 2012, Yann Renard. All rights reserved. /// /// This library is free software; you can redistribute it and/or /// modify it under the ter...
ee96356ca133b24172cde281b29b62710e00a1b3dcb55670386738c1a1939e75
C/C++
3,625
76
#pragma once #include "../ovkTKernelObject.h" #include <map> namespace OpenViBE { namespace Kernel { class CAlgorithmProxy final : public TKernelObject<IAlgorithmProxy> { public: CAlgorithmProxy(const IKernelContext& ctx, Plugins::IAlgorithm& rAlgorithm, const Plugins::IAlgorithmDesc& algorithmDesc); ~CAlgo...
774e11738cb28f701faf261a93163b85ccb6f38453f2667d54cb7a1c86f5250e
C/C++
3,626
78
#pragma once #include "../../ovp_defines.h" #include "ovpCEBMLBaseDecoder.h" #include <stack> namespace OpenViBE { namespace Plugins { namespace StreamCodecs { class CAcquisitionDecoder final : public CEBMLBaseDecoder { public: CAcquisitionDecoder(); void release() override { delete this; } bool initializ...
428cbb801b69355d33b7e907d7079653df0399ec904e41f5ccfb9b47718a5086
C/C++
3,640
119
/******************** PhyloBayes MPI. Copyright 2010-2013 Nicolas Lartillot, Nicolas Rodrigue, Daniel Stubbs, Jacques Richer. PhyloBayes is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the L...
93050426e704ac6e68915c7978ab9cc58c51459f1e2dab7f6d7cd96358700fb6
C/C++
3,667
129
//----------------------------------------------- // Copyright 2009 Wellcome Trust Sanger Institute // Written by Jared Simpson (js18@sanger.ac.uk) // Released under the GPL license //----------------------------------------------- // // SuffixCompare - Suffix Comparator classes // Used for histogram/bucket sort, mkqs ...
0986ee85ddb72ee58211b730c244b7c2038ab35c8fdafd1ecdff0c69c7f04117
C/C++
3,673
131
//$ nobt //$ nocpp /** * @file r8bconf.h * * @brief The "configuration" inclusion file you can modify. * * This is the "configuration" inclusion file for the "r8brain-free-src" * sample rate converter. You may redefine the macros here as you see fit. * * r8brain-free-src Copyright (c) 2013-2014 Aleksey Vaneev ...
0a791a8228a9c637e289fc2d8bc848e196ae5c5cc53fedf44ad9027f6bbe5a06
C/C++
3,673
89
#pragma once #include "defines.hpp" #include <openvibe/ov_all.h> #include <toolkit/ovtk_all.h> #include <Eigen/Dense> #include <unsupported/Eigen/FFT> // This class could be in its own file class HilbertTransform { public: bool transform(const Eigen::VectorXcd& in, Eigen::VectorXcd& out); private: Eigen::Ve...
4ce8f8ed4c21d9204cd38a3cdf1e0a48341d323617eade8a0a370c8bfd9ec8ff
C/C++
3,677
114
/******************************************************************************* "A Collection of Useful C++ Classes for Digital Signal Processing" By Vinnie Falco Official project location: https://github.com/vinniefalco/DSPFilters See Documentation.cpp for contact information, notes, and bibliography. ----------...
f440ac24b09b035f5bd2ca5cbb5a497745c393d62a9e7e370fab59c06ff37be6
C/C++
3,677
95
// @copyright notice: Possibly due to dependencies, this box used to be GPL before upgrade to AGPL3 #pragma once #include "../ovp_defines.h" #include <toolkit/ovtk_all.h> namespace OpenViBE { namespace Plugins { namespace SignalProcessing { class CModTemporalFilterBoxAlgorithm final : virtual public Toolkit::TBoxAl...
82549159c4da8f930ede451482baebe267fc63bee7937cf1ff41902e2e14417c
C/C++
3,683
99
#pragma once #include "ovpCBCI2000ReaderHelper.h" #include "../../ovp_defines.h" #include <openvibe/ov_all.h> #include <toolkit/ovtk_all.h> #define OVP_ClassId_BoxAlgorithm_BCI2000Reader OpenViBE::CIdentifier(0xFF78DAF4, 0xC41544B8) #define OVP_ClassId_BoxAlgorithm_BCI2000ReaderDesc OpenViBE::CIdentifier(0xFF53D107,...
f3b3b6d2531a774e269327f615a4d6407e158969a28f2104db3c33f276fecc92
C/C++
3,687
86
#pragma once #include "../ovp_defines.h" #include <toolkit/ovtk_all.h> namespace OpenViBE { namespace Plugins { namespace SignalProcessing { class CBoxUnivariateStatistic final : public Toolkit::TBoxAlgorithm<IBoxAlgorithm> { public: void release() override { delete this; } bool initialize() override; bo...
080686d0afee4cecf27579f3a987adb052a0c75cc86026134bc83aba2023bce9
C/C++
3,688
102
#pragma once #if defined(TARGET_HAS_ThirdPartyGNEEDaccessAPI) #include "../ovasCConfigurationBuilder.h" #include "ovasIDriver.h" #include <gtk/gtk.h> #include <GDSClientAPI.h> #include <GDSClientAPI_gNautilus.h> #include <sstream> #include <algorithm> namespace OpenViBE { namespace AcquisitionServer { /** * \clas...
d06680ea7f0b11034d55d47f484446be3cb21d5eb38274695d3c2412ae12d24b
C/C++
3,692
99
#pragma once //You may have to change this path to match your folder organisation #include "defines.hpp" #include <openvibe/ov_all.h> #include <toolkit/ovtk_all.h> // The unique identifiers for the box and its descriptor. // Identifier are randomly chosen by the skeleton-generator. namespace OpenViBE { namespace Pl...
ecd43de05a1987862f3d8aac2b334f470f11cc8b68adfed6826050878bb92811
C/C++
3,695
170
// Written by Oliver Serang 2009 // see license for more information #ifndef _Vector_H #define _Vector_H #include <cmath> #include "Set.h" #include "Numerical.h" #include "Array.h" class Vector { public: Vector() { } explicit Vector(int N) : values(N, 0.0) { } explicit Vector(int N, double val)...
34a3d9c2f6f588918fbb301b9c42d66e7a86187cd4a99453a6ac3c75f0c85d8b
C/C++
3,696
106
#pragma once #include "../../ovp_defines.h" #include <openvibe/ov_all.h> #include <toolkit/ovtk_all.h> #include "oscpkt.h" #include "oscpkt_udp.h" namespace OpenViBE { namespace Plugins { namespace NetworkIO { /** * \class CBoxAlgorithmOSCController * \author Ozan Caglayan (Galatasaray University) * \date Thu Ma...
f8d781c7c57ec6ce5a725c6e2d2010204879fbccd6a2bac4575556a68dac6c3e
C/C++
3,699
137
///----------------------------------------------- // Copyright 2010 Wellcome Trust Sanger Institute // Written by Jared Simpson (js18@sanger.ac.uk) // Released under the GPL //----------------------------------------------- // // ErrorCorrectProcess - Wrapper to perform error correction // for a sequence work item // ...
c4e890bb48c77aea4394a6d58b7a03bb4aa55ff1dfdf532e3f4e1a81b7106173
C/C++
3,709
108
///------------------------------------------------------------------------------------------------- /// /// \file ovasCDriverBrainmasterDiscovery.h /// \copyright Copyright (C) 2012, Yann Renard. All rights reserved. /// /// This library is free software; you can redistribute it and/or /// modify it under the terms ...
93d2b3a2bb365e7db097de22a5df73d4f97fbfc891a4b1178d888b34cf6660ae
C/C++
3,731
91
// @copyright notice: Possibly due to dependencies, this box used to be GPL before upgrade to AGPL3 #pragma once #include "../ovp_defines.h" #include <openvibe/ov_all.h> #include <toolkit/ovtk_all.h> namespace OpenViBE { namespace Plugins { namespace SignalProcessing { class CDownsamplingBoxAlgorithm final : virtual...
2d45c66e853d4c1893905df0b33cb544d85c31659207a8d972dbcf7ada5eefdb
C/C++
3,748
87
#pragma once #include <map> #include <string> #include "ovas_base.h" #include "ovasIHeader.h" namespace OpenViBE { namespace AcquisitionServer { inline static bool loadParametersFromConfig(const Kernel::IConfigurationManager& cfgManager,const std::map<std::string, OpenViBE::Parameters::ParameterTraits*> & parameter...
37fdae1667a5366ffccfbba5583c0b195027fdd7bf7b509adc7e2d8425c6fec3
C/C++
3,753
153
//----------------------------------------------- // Copyright 2010 Wellcome Trust Sanger Institute // Written by Jared Simpson (js18@sanger.ac.uk) // Released under the GPL //----------------------------------------------- // // RLUnit - A run-length encoded unit of the FM-index // #ifndef RLUNIT_H #define RLUNIT_H ...
5fd0ac10d14a1ec7796345fca76c4ff7b26ce69dbdd5f0df3f3a36cb253310e6
C/C++
3,753
118
/** * SPDX-FileCopyrightText: Inria / Gipsa-lab * SPDX-License-Identifier: AGPL-3.0-only * * Ported from the Gipsa-lab g.USBamp driver (originally by Anton Andreev). */ #pragma once #include <AbstractDriver.h> #include <AbstractDriverBuilder.h> #include <Windows.h> #include "ringbuffer.h" #include <openvibe/par...
143f15da1b5722186d53e3ca386af6c1f0f09b6d6a9aca4292e9c5b19c0bb40b
C/C++
3,761
128
/******************** PhyloBayes MPI. Copyright 2010-2013 Nicolas Lartillot, Nicolas Rodrigue, Daniel Stubbs, Jacques Richer. PhyloBayes is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the L...
81ca01d7f8798b36bff32c15d665e38299cbe7aad8b7f37bb03aa9a9fd8f039a
C/C++
3,763
108
/******************************************************************************* "A Collection of Useful C++ Classes for Digital Signal Processing" By Vinnie Falco Official project location: https://github.com/vinniefalco/DSPFilters See Documentation.cpp for contact information, notes, and bibliography. ----------...
131a7dbc502cf4c40fe4c34b7b16b358d8ae19267cb53844adb57ec02fe0c7fb
C/C++
3,768
97
#pragma once #include "../ovtk_base.h" namespace OpenViBE { namespace Toolkit { template <class TAlgorithmParentClass> class TAlgorithm : public TAlgorithmParentClass { public: TAlgorithm() { } bool initialize(Kernel::IAlgorithmContext& algorithmCtx) override { CScopedAlgorithm scopedAlgorithm(m...
972230264d1f7ba9a001ef85d2aba93f59d4bdc0635e46be3776b920ea7547f3
C/C++
3,775
71
// dear imgui test engine // (template for compile-time configuration) // Replicate or #include this file in your imconfig.h to enable test engine. // Compile Dear ImGui with test engine hooks // (Important: This is a value-less define, to be consistent with other defines used in core dear imgui.) #define IMGUI_ENABLE...
e8d4a4ab3de32efba80161ee3953eae13df63a25a07609a1bfd3dd9762957a5f
C/C++
3,777
99
#ifndef EMSCRIPTEN_BROWSER_CLIPBOARD_H_INCLUDED #define EMSCRIPTEN_BROWSER_CLIPBOARD_H_INCLUDED #include <string> #include <emscripten.h> #define _EM_JS_INLINE(ret, c_name, js_name, params, code) \ extern "C" { \ ret c_na...
fd956c70f83d4f5472f25b7a34db6a09f81b8276fef2d8982079dd19deb248a8
C/C++
3,785
105
//$ nocpp /** * @file CDSPProcessor.h * * @brief The base virtual class for DSP processing algorithms. * * This file includes the base virtual class for DSP processing algorithm * classes like FIR filtering and interpolation. * * r8brain-free-src Copyright (c) 2013-2014 Aleksey Vaneev * See the "License.txt" ...
13f10f90c21315ef6044abda9f98b9a22996e56591362a2fd7a3c0d0ba696fe0
C/C++
3,795
72
#pragma once #include "../../ovp_defines.h" #include "ovpCEBMLBaseEncoder.h" namespace OpenViBE { namespace Plugins { namespace StreamCodecs { class CExperimentInfoEncoder final : public CEBMLBaseEncoder { public: void release() override { delete this; } bool initialize() override; bool uninitialize() ove...
153d5b6efa382452f74c405a7b8c8e565a02012917d841d929cd76735e352316
C/C++
3,796
122
///------------------------------------------------------------------------------------------------- /// /// \file ProcExternalProcessingHelper.h /// \author J. T. Lindgren. /// \version 1.0. /// \date 25/01/2016. /// \copyright Copyright (C) 2022 Inria /// /// This program is free software: you can redistribute it an...
217088b9ce7a71a4eaea90a108ed46e609f62ad129ec1a58477666ce3caa0de8
C/C++
3,801
134
#pragma once #include "ovILogListener.h" namespace OpenViBE { namespace Kernel { /** * \class ILogManager * \brief Log manager * \author Yann Renard (INRIA/IRISA) * \date 2006-06-03 * \ingroup Group_Log * \ingroup Group_Kernel * * The log manager is responsible for keeping a trace of all the messages the appl...
b943aea3e5065050b0a41d0993e7a8c0ecec8c22b250b82dd2ecce5dd1043409
C/C++
3,814
85
///------------------------------------------------------------------------------------------------- /// /// \file ovtAssert.h /// \copyright Copyright (C) 2022 Inria /// /// This program is free software: you can redistribute it and/or modify /// it under the terms of the GNU Affero General Public License as publishe...
a605a7c2f7bd01e1b25c70020b183a846e14a3e99af861ff176ebe36d31e5958
C/C++
3,820
147
/******************** PhyloBayes MPI. Copyright 2010-2013 Nicolas Lartillot, Nicolas Rodrigue, Daniel Stubbs, Jacques Richer. PhyloBayes is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the L...
709c42a489be90d0784e06af5e83353f2a3a5f150f7d8083753bb3d8945e3173
C/C++
3,822
94
/* Copyright (c) 2016, Blue Brain Project All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the foll...
b86ecd6c13fd32e5b7475a3612eed6404be0ac9ebc6fc54f72bf66d0586678b4
C/C++
3,832
110
// SPDX-FileCopyrightText: Inria <thomas.prampart@inria.fr> // SPDX-License-Identifier: AGPL-3.0-only #pragma once #include <atomic> #include "../ovp_defines.h" #include <openvibe/ov_all.h> #include <toolkit/ovtk_all.h> #include <CNetwork.h> #include <openvibe/acquisition-messaging/samples.h> #include <queue> #inc...
9d0da84d71ef94b94a532fab1402bf6a8e3b92bdfb310927031485a10b64ac38
C/C++
3,844
114
/* * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
0be37d5ed6880ab0d87d5ffeae975adc0e4aadcfa9580bf48f7cef4f49419194
C/C++
3,846
120
#pragma once #if defined TARGET_HAS_ThirdPartyGUSBampCAPI_Linux #include <stdint.h> #include <string.h> #ifndef MIN #define MIN(a, b) (((a) < (b)) ? (a) : (b)) #endif #ifndef MAX #define MAX(a, b) (((a) > (b)) ? (a) : (b)) #endif template <class T> class Queue { T* buffer = nullptr; int head = 0, tail = 0...
551e55a2c2822fba1b95a467c09ec535eafad36ad3ed4262fd7494048a1c2227
C/C++
3,853
139
/******************** PhyloBayes MPI. Copyright 2010-2013 Nicolas Lartillot, Nicolas Rodrigue, Daniel Stubbs, Jacques Richer. PhyloBayes is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the L...
6541758c08b1ea7cd5c3560d84761b4e90f8084e12c4ae92bd20c39f4c77c917
C/C++
3,871
103
// SPDX-FileCopyrightText: Inria <thomas.prampart@inria.fr> // SPDX-License-Identifier: AGPL-3.0-only #pragma once #include <map> #include <QtCore> #include <QQmlEngine> #include <QQuickItem> #include "QmlEngineSingleton.h" #include "visualization/CVisualizationTree.hpp" #include <visualization-toolkit/ovvizIWindowM...
25ef3068658b2cead344ba973de9dc3336b8b3b36ccf4c89a9f10d7612d53860
C/C++
3,874
128
/******************** PhyloBayes MPI. Copyright 2010-2013 Nicolas Lartillot, Nicolas Rodrigue, Daniel Stubbs, Jacques Richer. PhyloBayes is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the L...
7fa1b9ad9c4df665d03fcd44fc94194c79ef16b580f8705d6a14009d57b0f1b8
C/C++
3,883
142
#pragma once #include <openvibe/ov_all.h> #include <toolkit/ovtk_all.h> #include "BoxAlgorithmProxy.h" #include "Chunk.h" #include "EncodedChunk.h" #include "Stream.h" namespace OpenViBE { namespace Tracker { /** * \class DecoderBase * \brief Base, non-typed abstract class for decoders * \details Derived classes...
1f7d656a520b9499ab1e5545ba3a11d41e1738158fda93fa20320df25e18cfcd
C/C++
3,902
149
#include "platform.h" #include "compiler.h" #if defined (COMPILER_BORLAND) #endif /* these platforms will always use a similar gcc compiler */ #if defined (PLATFORM_LINUX) || defined (PLATFORM_OSX) #include <sys/types.h> #include <sys/socket.h> #include <sys/un.h> #include <netinet/in.h> #include...
a1eb79a0bdb0fd4d58c515ffccb6e67bf7675f5d281c9f24bd1e84df6b2f484c
C/C++
3,924
154
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2008 Gael Guennebaud <gael.guennebaud@inria.fr> // // This Source Code Form is subject to the terms of the Mozilla // Public License v. 2.0. If a copy of the MPL was not distributed // with this file, You can ob...
b4db4268eac048ffcbf9bf20c69390c2cd040877733bf17ddc0028678d692ab5
C/C++
3,941
69
// dear imgui: Renderer Backend for modern OpenGL with shaders / programmatic pipeline // - Desktop GL: 2.x 3.x 4.x // - Embedded GL: ES 2.0 (WebGL 1.0), ES 3.0 (WebGL 2.0) // This needs to be used along with a Platform Backend (e.g. GLFW, SDL, Win32, custom..) // Implemented features: // [X] Renderer: User texture b...
e5fc5c26d3fffe03d629fedd297eaf74806db8bdd994513a8db7df9d3ced7157
C/C++
3,947
124
#ifndef LINE_SEARCH_H #define LINE_SEARCH_H #include <math.h> /* sqrt, fabs */ #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wredundant-decls" #include <mkl.h> /* cblas_dnrm2 */ #pragma GCC diagnostic pop inline int check_sign(double val) { return (0 < val) - (val < 0); } /* Computes Scaling Factor F...
27b93c2adb809e703a2665429132cd540fff60a22faf3a4599fb07a8fc2cb9a3
C/C++
3,954
121
//----------------------------------------------- // Copyright 2009 Wellcome Trust Sanger Institute // Written by Jared Simpson (js18@sanger.ac.uk) // Released under the GPL license //----------------------------------------------- // // Match - A pair of coordinates representing the overlapping // regions of two seque...
1bba8f4821c0a9cec62da5c349a234a6571b25e76372385951cce5b4d4af4a75
C/C++
3,956
114
/******************************************************************************* Copyright 2006-2012 Lukas Käll <lukas.kall@scilifelab.se> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http:...
66153fc9301b27c6e773a492e91038db2cca76d8c949de9ed3bd93c246862c3b
C/C++
3,977
162
//----------------------------------------------- // Copyright 2010 Wellcome Trust Sanger Institute // Written by Jared Simpson (js18@sanger.ac.uk) // Released under the GPL //----------------------------------------------- // // DPAlignment - Generic class for dynamic programming alignments // #ifndef DPALIGNMENT_H #...
7f647749a007be3f3a9ead9835363b4a6ed45418c2eec1809990def2299bff70
C/C++
3,978
97
#pragma once #ifdef TARGET_HAS_ThirdPartyOpenViBEPluginsGlobalDefines #include "ovp_global_defines.h" #endif // TARGET_HAS_ThirdPartyOpenViBEPluginsGlobalDefines //___________________________________________________________________// // // // Basic in...
9a4bc6679d8fe395870fcbeccdfa9fe5585101287874cbb379447ddeca9708e1
C/C++
3,984
128
/* * Copyright (C) 2008, Robert Oostenveld & Christian Hesse * F.C. Donders Centre for Cognitive Neuroimaging, Radboud University Nijmegen, * Kapittelweg 29, 6525 EN Nijmegen, The Netherlands * */ /* prevent double include */ #ifndef BUFFER_H #define BUFFER_H #include <cstdlib> #include <string.h> #include <stdio...
e60c4f39c76b4c6268b4e8dfb6f3c9b28fbed4bc02d7a49d1eb419b1df30eb89
C/C++
3,988
91
#ifndef INCLUDE_SAMPLING_FUNS #define INCLUDE_SAMPLING_FUNS #include <RcppArmadillo.h> // FUNCTION DECLARATIONS // --------------------- arma::vec mvrnormArma(arma::vec mu, arma::mat sigma); void sample_Z(int N,int K, arma::mat Y, arma::mat F, arma::mat W, arma::mat G, arma::mat beta, arma::vec psi, ar...
415ab4b0b5e7c339921991decb64df41b7835af770e0ebe4a8940d99d95f8457
C/C++
3,998
83
/**************************************************************************** * Copyright (C) 2014 by Taylor Arnold, Ryan Tibshirani, Veerun Sadhanala * * * * This file is part of the glmgen library / package. * * ...
69cf00c006211c230fefeacacb33d2de1ff95453eb923f675ad2719d42f5baf4
C/C++
3,999
127
//----------------------------------------------- // Copyright 2009 Wellcome Trust Sanger Institute // Written by Jared Simpson (js18@sanger.ac.uk) // Released under the GPL // // SearchHistory - data structures to track // the history of a FM-index search //----------------------------------------------- #ifndef SEARC...
777443c4533ae3d1f0dc0b0846a591ae2d94d45294799d0d0d4c6f7a07425717
C/C++
4,002
126
#pragma once #include "../ovkTKernelObject.h" #include "ovkCBuffer.h" #include <system/ovCChrono.h> #include <vector> #include <string> #include <deque> namespace OpenViBE { namespace Kernel { class CScheduler; class CChunk { public: CChunk() { } CChunk(const CChunk& chunk) : m_buffer(chunk.m_buffer), m_s...