sha256 stringlengths 64 64 | language stringclasses 28
values | size int32 1 491k | lines int32 1 23.2k | content stringlengths 1 200k |
|---|---|---|---|---|
3eb8cd4f51b052452786ba8aa388f9c3ec677a7a7bd76d0a1a8f56f0a4ffc8a3 | C/C++ | 700 | 27 | #ifndef DATADEF
#define DATADEF
#include <QString>
const int DRAWBACK_NONE = 0;
const int DRAWBACK_BROKEN = 1; // 断路
const int DRAWBACK_SHORT = 2; // 短路
const int DRAWBACK_GAP = 3; // 缺口
const int DRAWBACK_BURR = 4; // 毛刺
const int DRAWBACK_CROPPER = 5; // 露铜
const int DRAWBACK_HOLE = 6; // 针孔
struct DrawbackInfo{
... |
6e43a5523a8c3159c446dd506787605c7bf3e71cd90875f377614f84f5e61fe8 | C/C++ | 704 | 31 | // SPDX-FileCopyrightText: Inria <tristan.cabel@inria.fr>
// SPDX-License-Identifier: AGPL-3.0-only
#pragma once
#include <QtQml>
class QmlEngineSingleton {
public:
static QmlEngineSingleton& getInstance() {
static QmlEngineSingleton instance;
return instance;
}
void setEngine(QQmlEngine... |
b1f8fa84fc7bd8da6a60b8d31b7477cd31d1c8b5146f5b003e4706a9c63b0326 | C/C++ | 706 | 20 | void checkpoint(char *location);
void checkpointOneInt(char *location, int theInt);
double ranDoubleUpToOne(void);
void setBigQFromRMatrixDotCharFreq(double **theBigQ, double **theRMatrix, double *charFreq, int dim);
void normalizeBigQ(double **theBigQ, double *charFreq, int dim);
int indexOfIntInArray(int theInt, int ... |
738f07770288c370f4f059b914a7acb16ed1de967925cbb6daf112def4564634 | C/C++ | 714 | 14 | #pragma once
// Boxes
//---------------------------------------------------------------------------------------------------
#define OVP_ClassId_BoxAlgorithm_MatlabScripting OpenViBE::CIdentifier(0x03303E0E, 0x39FE10DF)
#define OVP_ClassId_BoxAlgorithm_MatlabScriptingDesc OpenViBE::CIdentifier(0x46130... |
f9fd5ab6b5e1357c75751f8cb3b3547bb564ea0dd7ac468be6a3d4bf0569bdc4 | C/C++ | 719 | 20 | //
// OpenViBE Tracker
//
// @author J.T. Lindgren
//
#pragma once
#include <memory>
#include "StreamBase.h"
namespace OpenViBE {
namespace Tracker {
// Returns a copy of a stream with stimulations suggesting end of stream dropped
std::shared_ptr<StreamBase> filterStimulationStreamEndPoints(const std::shared_ptr<con... |
9b2f6de88bb7f4062a771d6ec9292d9a0b6e55b7d9519c7ecf33fd89c09241ed | C/C++ | 720 | 28 | /*
# =============================================================================
# Copyright (c) 2016 - 2022 Blue Brain Project/EPFL
#
# See top-level LICENSE file for details.
# =============================================================================
*/
#pragma once
#include "coreneuron/mechanism/mech/mod2c_cor... |
c9d356357c50e6270d93d2f50cc0d793d6c9cf5c0100ee329f52a37ab992fe7c | C/C++ | 721 | 26 | #pragma once
// error codes
const int NO_FTDI_ERROR_CODE = 5;
const int CANNOT_OPEN_FTDI_DEVICE_ERROR_CODE = 6;
const int FTDI_RESET_ERROR_CODE = 7;
const int FTDI_WRITE_IO_ERROR_CODE = 8;
const int FTDI_READ_IO_ERROR_CODE = 9;
// FTDI constants
const int FTDI_READ_TIMEOUT = 5000;
const int FTDI_WRITE_TIMEOUT = 1000;... |
46394911926ad905627ea79e06859d00b00915f309f6f1d62c1e00c2ec5dc4c4 | C/C++ | 723 | 30 | //-----------------------------------------------
// Copyright 2009 Wellcome Trust Sanger Institute
// Written by Jared Simpson (js18@sanger.ac.uk)
// Released under the GPL license
//-----------------------------------------------
//
// STGlobals.h - Common definitions and declarations for suffix tree,
// suffix array... |
485049d73380fe37aedd5b1edb07a39ee3883521816ef8e48f5ed6998645aa47 | C/C++ | 723 | 22 | #pragma once
#include "ovkTKernelObject.h"
namespace OpenViBE {
namespace Kernel {
class CObjectVisitorContext final : public TKernelObject<IObjectVisitorContext>
{
public:
explicit CObjectVisitorContext(const IKernelContext& ctx);
~CObjectVisitorContext() override;
IAlgorithmManager& getAlgorithmManager... |
5744581a9c15141ff58dbb4a2776a588a8d2a6309adcec5cf47d30bee82facbb | C/C++ | 724 | 34 | /**
* SPDX-FileCopyrightText: Inria <tristan.cabel@inria.fr>
* SPDX-License-Identifier: AGPL-3.0-only
*/
#include <QtCore>
namespace OpenViBE {
namespace Designer {
class BoxTreeItem
{
public:
//Data are {"Name", "Author", "Description", "boxAlgorithmClassID"};
explicit BoxTreeItem(const QList<QVariant> ... |
6ef71acc5154482fefb2144d40b0f4c296db0182999235ab4ae6f1a65604f623 | C/C++ | 726 | 28 | #pragma once
#include "defines.h"
#include <cstdlib> // fix Unix compatibility
namespace XML {
class XML_API IReaderCallback
{
public:
virtual ~IReaderCallback() { }
virtual void openChild(const char* name, const char** attributeName, const char** attributeValue, const size_t nAttribute) = 0;
virtual voi... |
0ee1c7b7f42598860eeb41e964c4fed01dc79c370c97e673e5fa696466158149 | C/C++ | 733 | 25 | #pragma once
#include "../ovk_base.h"
#include <openvibe/ov_all.h>
namespace OpenViBE {
namespace Tools {
class CScopeTester final : public IObject
{
public:
CScopeTester(const Kernel::IKernelContext& ctx, const CString& prefix)
: m_prefix(prefix), m_kernelCtx(ctx) { m_kernelCtx.getLogManager() << Kerne... |
2a8402406c971071d83a6bf3ff29548608db9fd40db66fea3b374e34608bc153 | C/C++ | 736 | 30 | #pragma once
#include "ovCObservable.h"
#include "ov_defines.h"
namespace OpenViBE {
class CObservable;
/**
* \class IObserver
* \author Guillaume Serrière (Inria/Loria)
* \date 2014-11-7
* \brief OpenViBE Observer interface
*
* This interface is used in the Observer/Observable pattern
* implementation in Ope... |
25a50c2cb60a7cf4407ecbf5c3e40f73cce3e0c81d3b0c089478a025616aa24d | C/C++ | 739 | 34 | /**
* SPDX-FileCopyrightText: Inria <tristan.cabel@inria.fr>
* SPDX-License-Identifier: AGPL-3.0-only
*/
#pragma once
#include <QtCore>
class OVLogControllerItem : public QObject
{
Q_OBJECT
Q_PROPERTY(QString message READ message NOTIFY messageChanged)
Q_PROPERTY(QString level READ level NOTIFY levelCh... |
99ffe86041f628b54ee1b16e6b72beb5b9e2ba4e647764bb8deba82a3ee9327e | C/C++ | 739 | 38 | /**
k2c_tensor_include.c
This file is part of keras2c
Copyright 2020 Rory Conlin
Licensed under MIT License
https://github.com/f0uriest/keras2c
*/
#pragma once
#include <stdlib.h>
/**
* Rank of largest keras2c tensors.
* mostly used to ensure a standard size for the tensor.shape array.
*/
#define K2C_MAX_NDIM 5
... |
ccb4917299b059bf0b270ece47f37c2b0f6e8165048f1cebcded4feeb2971321 | C/C++ | 741 | 32 | #pragma once
#include "ovasCDriverGenericRawReader.h"
#include <cstdio>
namespace OpenViBE {
namespace AcquisitionServer {
/**
* \class CDriverGenericRawFileReader
* \author Yann Renard (INRIA)
*/
class CDriverGenericRawFileReader final : public CDriverGenericRawReader
{
public:
explicit CDriverGenericRawFile... |
bc970cb0671af60c9ecd1581eaab0d6043541c29376fc2213bfff782a58acb54 | C/C++ | 744 | 24 | #pragma once
#include "ovtk_base.h"
namespace OpenViBE {
namespace Toolkit {
class OVTK_API IVector : public IObject
{
public:
virtual size_t getSize() const = 0;
virtual bool setSize(const size_t size) = 0;
virtual double* getBuffer() = 0;
virtual const double* getBuffer() const = 0;
virtual con... |
d521439835caf44e8b9c1f8a354d42303a2cb01182cc4628576c5c66970cf5aa | C/C++ | 744 | 41 | #pragma once
#include <map>
#include <string>
#include "SeqLib/BamRecord.h"
#include "CorrectionThresholds.h"
#include "OverlapCommon.h"
#include "SvabaRead.h"
typedef std::map<std::string, int> KmerCountMap;
class KmerFilter {
public:
KmerFilter() : pBWT(nullptr), pSAf(nullptr) {}
~KmerFilter() { dele... |
0ee463f2345d83854b88be73cd40915ed78578c6e6fb10b70b8a93e5589eb91a | C/C++ | 745 | 38 | //-----------------------------------------------
// Copyright 2009 Wellcome Trust Sanger Institute
// Written by Jared Simpson (js18@sanger.ac.uk)
// Released under the GPL
//-----------------------------------------------
//
// SeqReader - Reads fasta or fastq sequence files
//
#ifndef SEQREADER_H
#define SEQREADER_H... |
49110b9529d540ab8172c0f4005d5362a571cef6a65fefc11d0ba2cf6af82bd9 | C/C++ | 757 | 31 | /**
* SPDX-FileCopyrightText: Inria <thomas.prampart@inria.fr>
* SPDX-License-Identifier: AGPL-3.0-only
*/
#pragma once
#include <AbstractDriver.h>
#include <AbstractDriverBuilder.h>
/**
* @brief Auxiliary driver bridging OpenViBE::Services::TcpTaggingService into
* the acquisition pipeline as stimulations.
*/
... |
f85db1e1acace9495a33f29deb952e7c72821328bd10909df9a57d7f1ad0b951 | C/C++ | 759 | 28 | #pragma once
#include "IWriterHelper.h"
namespace EBML {
class EBML_API CWriterHelper final : public IWriterHelper
{
public:
CWriterHelper();
~CWriterHelper() override;
bool connect(IWriter* writer) override;
bool disconnect() override;
bool openChild(const CIdentifier& identifier) override;
... |
2539650fb3a3584804a5f966f9966e0ef62792a242ef41ca36d4d3407ddb8ecb | C/C++ | 763 | 33 | #pragma once
#include <openvibe/ov_all.h>
#include "TypeMatrix.h"
namespace OpenViBE {
namespace Tracker {
/**
* \class TypeFeatureVector
* \brief Abstact class defining chunk types for Feature Vector streams
* \author J. T. Lindgren
*
*/
class TypeFeatureVector
{
public:
static CIdentifier getTypeIdentifi... |
19643fc98e57a67ded654b43940e8eaebf461cf7bdfc73ea6ad7cd3230252f5e | C/C++ | 766 | 37 | /**
* The gMobilab driver was contributed
* by Lucie Daubigney from Supelec Metz
*/
#pragma once
#include "../ovasCConfigurationBuilder.h"
#if defined TARGET_HAS_ThirdPartyGMobiLabPlusAPI
// #ifdef TARGET_OS_Windows
// #include <Windows.h>
// #endif
#include <gtk/gtk.h>
namespace OpenViBE {
namespace Acquisit... |
e3a373a2ec039db3ab89060c1f9ee0901009f0ffd4641e15c6a23c5a4358fe8c | C/C++ | 776 | 24 | #ifndef DECIMATION_H
#define DECIMATION_H
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wredundant-decls"
#include <mkl.h>
#pragma GCC diagnostic pop
void downsample_1d(const int t, const int ds, const double *v, double *v_ds);
void downsample_2d(const int d1, const int d2, const int ds, const double ... |
2670da4f6ed73f629a2b705812f3b07acead600ba0ecd3a7326fd78ddd9bf378 | C/C++ | 780 | 34 | #pragma once
#include "ovasCDriverGenericRawReader.h"
#include "../ovasCSettingsHelper.h"
#include <cstdio>
namespace OpenViBE {
namespace AcquisitionServer {
/**
* \class CDriverGenericRawFileReader
* \author Yann Renard (INRIA)
*/
class CDriverGenericRawFileReader final : public CDriverGenericRawReader
{
publi... |
1ef50141cd1e40084251913e61b85a476fe76a9088724dbd64986aaba67ac00d | C/C++ | 785 | 14 | eig *allocEig(int theDim, double **theMat);
void allocComplexStuff(eig *anEig);
void freeEig(eig *anEig);
int eigensystem(eig *anEig);
void matrixExpTimesBranchLength(eig *anEig, double branchLength, double **result);
void matrixLog(eig *anEig, double **result);
void matrixPower(eig *anEig, double pow, double **result)... |
19497a7b76e281a973af0c59e461ee09bde7087b955da3d6bae9cd2bc83f3bfb | C/C++ | 794 | 29 | #ifndef __CUDA_DEFINES_H__
#define __CUDA_DEFINES_H__
#define WARPSIZE 32
#define DIMENSION 3
#define MARK 2
#define SEED 3
#define ACTIVE 1
#define FARP 0
#define STOP 4
#define ALIVE 5
#define TOBEALIVE 6
#define TRIMEMLENGTH 3
#define EDGEMEMLENGTH 3
#define VERTMEMLENGTH 6 //... |
d47627cb1d09d764024e91de20cde4630ad3f5c3dacc7ec3d7e10c08b1af360f | C/C++ | 794 | 25 | #pragma once
#include <ov_common_defines.h>
#if defined Communication_Shared
# if defined TARGET_OS_Windows
# define Communication_API_Export __declspec(dllexport)
# define Communication_API_Import __declspec(dllimport)
# elif defined TARGET_OS_Linux || defined TARGET_OS_MacOS
# define Communica... |
fda540277cd6fca1fb1d9cae2ac3f3a7472d1f0e581d461d704050cfa8664971 | C/C++ | 795 | 26 | #pragma once
#include "../ovasCConfigurationNetworkBuilder.h"
namespace OpenViBE {
namespace AcquisitionServer {
class CConfigurationGenericRawReader final : public CConfigurationNetworkBuilder
{
public:
CConfigurationGenericRawReader(const char* gtkBuilderFilename, bool& limitSpeed, uint32_t& sampleFormat, uint3... |
5b5a98beb08a12f449132848c489f75de4538a05915ba44f0e1815b20ed61137 | C/C++ | 805 | 34 | //-----------------------------------------------
// Copyright 2009 Wellcome Trust Sanger Institute
// Written by Jared Simpson (js18@sanger.ac.uk)
// Released under the GPL license
//-----------------------------------------------
//
// SGACommon.h - Common definitions used in the
// SGA programs
//
#ifndef SGACOMMO... |
86b3432713da529c37999d95b78aac2fd2d0641d3590dbdd1c4d5a7df2360331 | C/C++ | 807 | 23 | #pragma once
#include "ITrackerPlugin.h"
namespace OpenViBE {
namespace Tracker {
/**
* \class TrackerPluginChannelCheck
* \brief Example of a Tracker plugin processing given Workspaces. It checks if all selected signal streams in all tracks have the same number of channels.
* \author J. T. Lindgren
*
*/
class... |
93c558e3816ffb42c6c96be8194a62843302d16858043d35543f0d95f4c274bc | C/C++ | 808 | 29 | #pragma once
#include "../ovkTKernelObject.h"
#include <openvibe/ov_all.h>
namespace OpenViBE {
namespace Kernel {
class CPluginModule final : public TKernelObject<IPluginModule>
{
public:
explicit CPluginModule(const IKernelContext& ctx);
~CPluginModule() override;
bool load(const CString& filename, CS... |
3db064828d9bbad5e0d837053c69cac2e5ae1f018374a0e7f4fcd6e6cca2e682 | C/C++ | 809 | 14 | #pragma once
// Boxes
//---------------------------------------------------------------------------------------------------
#define OVP_ClassId_BoxAlgorithm_AcquisitionClientLegacy OpenViBE::CIdentifier(0x35D225CB, 0x3E6E3A5F)
#define OVP_ClassId_BoxAlgorithm_AcquisitionClientLegacyDesc OpenViBE::CIdentifier(0x7D30... |
fc125689e52ddd26200e2f3850ca914ac015da00811ba2e4a9c37b1b1d61e4b1 | C/C++ | 810 | 34 | #pragma once
#include "defines.h"
#include <cstdlib> // For Unix Compatibility
namespace Socket {
class Socket_API IConnection
{
protected:
virtual bool open() = 0;
public:
virtual bool close() = 0;
virtual bool isReadyToSend(const size_t timeOut = 0) const = 0;
virtual bool isReadyToReceive(cons... |
629214d72e521bc29ad5937708b6317b7c3ab33d55ac670eab0990f534e3d4c4 | C/C++ | 812 | 26 | /* l1tf.h
*
* Copyright (C) 2007 Kwangmoo Koh, Seung-Jean Kim and Stephen Boyd.
*
* See the file "COPYING.TXT" for copyright and warranty information.
*
* Author: Kwangmoo Koh (deneb1@stanford.edu)
*/
#ifndef IPM_H
#define IPM_H
/* main routine for l1 trend filtering */
int l1tf(const int n, const double *y, co... |
373b2e4ed377f02b698f5e07bacf2573420ede1059a4b7ec15774f6543e47349 | C/C++ | 814 | 35 | ///----------------------------------------------
// Copyright 2013 Wellcome Trust Sanger Institute
// Written by Jared Simpson (js18@sanger.ac.uk)
// Released under the GPL
//-----------------------------------------------
//
// Verbosity - Singleton object to only
// hold the verbosity level for the entire
// program... |
1407ece9496eec2581ab1b5b60f9716ef7d83f037877f49e6fcfd29d5b496602 | C/C++ | 815 | 29 | #pragma once
#include "IConnection.h"
namespace Socket {
class Socket_API IConnectionServer : public IConnection
{
public:
/*
* \brief Places a socket in a listening state on the specified port.
* \param port [in]: port on the one the socket should listen.
* when set to '0', the soc... |
315e96fb117e4aac50a2eecf77bb3a0251998431db210daae18eede4426f7362 | C/C++ | 818 | 37 | #pragma once
#include <openvibe/ov_all.h>
#include "TypeMatrix.h"
namespace OpenViBE {
namespace Tracker {
/**
* \class TypeChannelUnits
* \brief Abstact class defining chunk types for Channel Units streams
* \author J. T. Lindgren
*
*/
class TypeChannelUnits
{
public:
static CIdentifier getTypeIdentifier(... |
39eb84130ec024ac0b849202d99084cb5a37831f5575aed9b402805a14d61541 | C/C++ | 819 | 28 | #pragma once
#include <ov_common_defines.h>
// Taken from
// - http://people.redhat.com/drepper/dsohowto.pdf
// - http://www.nedprod.com/programs/gccvisibility.html
#if defined Socket_Shared
# if defined TARGET_OS_Windows
# define Socket_API_Export __declspec(dllexport)
# define Socket_API_Import __de... |
65b3c0bfb995d4585be95652a34102442c173c69a1e5af1ca637745c6ba5c1b9 | C/C++ | 819 | 33 | #pragma once
#ifdef TARGET_OS_Windows
#include "../ovasCConfigurationBuilder.h"
#include "ovasIDriver.h"
namespace OpenViBE {
namespace AcquisitionServer {
/**
* \class CConfigurationDriverMensiaAcquisition
* \author Jozef Legeny (Mensia)
* \date 28 jan 2013
* \brief The CConfigurationDriverMensiaAcquisition loa... |
19ee1f78e1e97c39307b51353aa70ae1b56ec4db96df4cbf84ae548ac0a917a1 | C/C++ | 827 | 25 | // Copyright [1999-2017] EMBL-European Bioinformatics Institute
//
// 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.apache.org/licenses/LICENSE-2.0
//
// Unless required b... |
6c7d5c7d16d876686b5539bec9f21c25be2fed0a40042814006514d23d771476 | C/C++ | 827 | 31 | /*
* Copyright (c) 2018 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... |
ce87fe6d651191b6d46bb52cee0d10fa797fc20b7c5336a5aaed6f8ff9e29c8d | C/C++ | 835 | 39 | /*
# =============================================================================
# Copyright (c) 2016 - 2021 Blue Brain Project/EPFL
#
# See top-level LICENSE file for details.
# =============================================================================
*/
#pragma once
/**
* \dir
* \brief Global project config... |
ea432117b442459afc5454085aa4113ee8b042836b0decee351ba02107c13ac1 | C/C++ | 843 | 40 | #pragma once
#include <openvibe/ov_all.h>
#include "TypeMatrix.h"
namespace OpenViBE {
namespace Tracker {
/**
* \class TypeSignal
* \brief Abstact class defining chunk types for Signal streams
* \author J. T. Lindgren
*
*/
class TypeSignal
{
public:
static CIdentifier getTypeIdentifier() { return OV_TypeI... |
d9323df25e1fc06551a33f0818368e7fcc49828976619a8dfb17aaedb8d8617a | C/C++ | 844 | 34 | // SPDX-FileCopyrightText: Inria <thomas.prampart@inria.fr>
// SPDX-License-Identifier: AGPL-3.0-only
#pragma once
class QQmlEngine;
class QQuickItem;
namespace OpenViBE {
namespace VisualizationToolkit {
/**
* Interface for a window manager
* This interface is used by the IVisualizationContext
* The aim is to k... |
708f548b3104f1e1e341fb6e64a85964141944e82bbe3bf6fee34baec552715a | C/C++ | 845 | 28 | /**
General macros for Total Variation algorithms
@author Álvaro Barbero Jiménez
@author Suvrit Sra
*/
// Compute dual vector x from primal vector w
// A counter i must also be provided
#define DUAL2PRIMAL(w,x,i) \
x[0] = y[0]+w[0]; \
for(i=1;i<nn;i++) \
x[i] = y[i]-w[i-1]+w[i]; \
... |
b6e845f786241faef5b009dd0273dfc10a7780508e2aca6578b6a6ff0831faa6 | C/C++ | 845 | 36 | //-----------------------------------------------
// Copyright 2010 Wellcome Trust Sanger Institute
// Written by Jared Simpson (js18@sanger.ac.uk)
// Released under the GPL
//-----------------------------------------------
//
// SAWriter.h - Read a suffix array file from disk
//
#ifndef SAWRITER_H
#define SAWRITER_H
... |
1390d011a1ae6fa46dc5853a8342136c908330451cb45d8c57e2ce7fbd4a7eab | C/C++ | 849 | 25 | // dear imgui test engine
// (ui)
// If you run tests in an interactive or visible application, you may want to call ImGuiTestEngine_ShowTestEngineWindows()
// This file is governed by the "Dear ImGui Test Engine License".
// Details of the license are provided in the LICENSE.txt file in the same directory.
// Provid... |
21419220636bd0652ce3fdde8e4205441d32aedb75e226ff3332ba0bd910f4e5 | C/C++ | 849 | 34 | /*****************************************************************************
* log_space.h
* (c) 2012 - Ryan M. Layer
* Hall Laboratory
* Quinlan Laboratory
* Department of Computer Science
* Department of Biochemistry and Molecular Genetics
* Department of Public Health Sciences and Center for Public Health G... |
e92a26a14431fb8efb68024a2be8d95b8ad16a02b995ece3c803dbe06ab86ae6 | C/C++ | 852 | 34 | // PGF got this from Dave Swofford. Thanks Dave! Not GPL'd.
/* linalg.h
|
| Prototypes for matrix-inversion and eigensystem functions
|
| Copyright (c) 1995 by David L. Swofford, Smithsonian Institution.
| All rights reserved.
|
| NOTE: if ANSI function prototypes are not supported, define NO_PROTOTYPES
| before ... |
f8a20dce768e0ef941185664ceb30a237a7f50c112424b35f3679990d406d500 | C/C++ | 853 | 35 | /**
* SPDX-FileCopyrightText: Inria <tristan.cabel@inria.fr>
* SPDX-License-Identifier: AGPL-3.0-only
*/
#pragma once
#include "parameterObject.h"
#include <openvibe/parameters/parameterBool.h>
namespace OpenViBE {
namespace Parameters {
class OV_PARAMETERS_OBJECT_EXPORT ParameterBoolObject: public ParameterObjec... |
64bb843566edde2c1a2a21a090cced53bc0c0156912a5ed237a33824573cbe1a | C/C++ | 868 | 34 | // SvabaFileLoader.h
#pragma once
#include <memory>
#include <string>
#include "SeqLib/GenomicRegionCollection.h"
class SvabaLogger;
class SvabaOptions;
class SvabaSharedConfig;
namespace SeqLib {
class RefGenome;
}
/// A small helper for all the open this file, bail out if it fails logic.
/// Carries around refe... |
8f77f193acd76157bc06f85c76000b5f56bed210a1c507d2d7c348196b7e6918 | C/C++ | 873 | 33 | /**
* SPDX-FileCopyrightText: Inria <tristan.cabel@inria.fr>
* SPDX-License-Identifier: AGPL-3.0-only
*/
#pragma once
#include <QtCore>
class ImpedanceItem : public QObject
{
Q_OBJECT
Q_PROPERTY(QString name READ name NOTIFY nameChanged)
Q_PROPERTY(double value READ value NOTIFY valueChanged)
Q_PROP... |
61f2645613b8130e5c0c1630d3be34007a7612d148703e92039c6437d64d0560 | C/C++ | 876 | 31 | #pragma once
#include "ovasCConfigurationBuilder.h"
namespace OpenViBE {
namespace AcquisitionServer {
class CConfigurationNetworkBuilder : public CConfigurationBuilder
{
public:
explicit CConfigurationNetworkBuilder(const char* gtkBuilderFileName) : CConfigurationBuilder(gtkBuilderFileName) {}
~CConfiguratio... |
6f3e03042a784d5dfa88d5fdab635826ad4a9a25d53d6a9e6ca75de7380c379e | C/C++ | 881 | 30 | #pragma once
#include "../ovkTKernelObject.h"
#include <map>
namespace OpenViBE {
namespace Kernel {
class CPlayer;
class CPlayerManager final : public TKernelObject<IPlayerManager>
{
public:
explicit CPlayerManager(const IKernelContext& ctx) : TKernelObject<IPlayerManager>(ctx) {}
bool createPlayer(CIdent... |
d78cecd8262c04676b0dc149f2b4c8d65460fc106e46a7b54fa319fddf5c64f2 | C/C++ | 884 | 34 | //-----------------------------------------------
// Copyright 2009 Wellcome Trust Sanger Institute
// Written by Jared Simpson (js18@sanger.ac.uk)
// Released under the GPL license
//-----------------------------------------------
//
// InverseSuffixArray - The inverse of a generalized suffix array
// Implemented as a... |
efd60fbe112d48ddb2c3fa7ed38aa4e8d0efbb7b0067ddd0a30f20f38d7cc534 | C/C++ | 884 | 28 | #pragma once
#include "ovtk_base.h"
namespace OpenViBE {
namespace Toolkit {
class IFeatureVector;
class OVTK_API IFeatureVectorSet : public IObject
{
public:
virtual size_t getFeatureVectorCount() const = 0;
virtual bool setFeatureVectorCount(const size_t featureVector) = 0;
virtual bool addFeatureVect... |
2e4bf553df8979e4aa6554df4a3fa057adf9438582f4212bc995ec238129ceb2 | C/C++ | 886 | 37 | #pragma once
#include <openvibe/ov_all.h>
#include "TypeMatrix.h"
namespace OpenViBE {
namespace Tracker {
/**
* \class TypeChannelLocalization
* \brief Abstact class defining chunk types for Channel Localization streams
* \author J. T. Lindgren
*
*/
class TypeChannelLocalization
{
public:
static CIdentifi... |
a8a92a3c1a65acdd10da2a60d472446573f419d1bfe312b4cefb4288c36667cb | C/C++ | 886 | 36 | #pragma once
#if defined(TARGET_HAS_ThirdPartyMitsar)
#if defined TARGET_OS_Windows
#include "../ovasCConfigurationBuilder.h"
#include <gtk/gtk.h>
namespace OpenViBE {
namespace AcquisitionServer {
/**
* \class CConfigurationMitsarEEG202A
* \author Gelu Ionescu (GIPSA-lab)
* \date 26 April 2012
* \brief The CCo... |
0242f4894ed7f6cbdfe4a9617cf75f0677b7e31d4d5d25fae0d6ab105498c7b2 | C/C++ | 890 | 35 | /**
* SPDX-FileCopyrightText: Inria <tristan.cabel@inria.fr>
* SPDX-License-Identifier: AGPL-3.0-only
*/
#pragma once
#include "parameterObject.h"
#include <openvibe/parameters/parameterString.h>
namespace OpenViBE {
namespace Parameters {
class OV_PARAMETERS_OBJECT_EXPORT ParameterStringObject: public ParameterOb... |
b2d3567bb71e7c66c1ef4b2c21d2b5df2d6d44a76fb8808fe8e459532f96dcca | C/C++ | 894 | 36 | /**
* SPDX-FileCopyrightText: Inria <tristan.cabel@inria.fr>
* SPDX-License-Identifier: AGPL-3.0-only
*/
#pragma once
#include "parameterObject.h"
#include <openvibe/parameters/parameterColor.h>
namespace OpenViBE {
namespace Parameters {
class OV_PARAMETERS_OBJECT_EXPORT ParameterColorObject: public ParameterObje... |
cbd8a3bff5047cf226b3b30ae94252ec5bf8d739fc9c3452ef1d4fa293b0d953 | C/C++ | 901 | 57 | #ifndef SNOWMAN_SEQFRAG_H__
#define SNOWMAN_SEQFRAG_H__
#include <string>
#include "SeqLib/BWAWrapper.h"
#include "ReadSim.h"
using SeqLib::GenomicRegion;
class SeqFrag {
public:
SeqFrag(const GenomicRegion& gr, faidx_t * findex) : m_gr(gr), m_index(findex) {}
void getSeqFromRef(faidx_t * findex);
int ge... |
d46697d5fd23e119aa5ec6e39b4d74f88b3ca92ea2f36240dd6c484e2ed4dbbb | C/C++ | 901 | 39 | #pragma once
#include "ovasIDriver.h"
#include "../ovasCHeader.h"
namespace OpenViBE {
namespace AcquisitionServer {
/**
* \class CDriverGenericSawTooth
* \author Yann Renard (INRIA)
*/
class CDriverGenericSawTooth final : public IDriver
{
public:
explicit CDriverGenericSawTooth(IDriverContext& ctx);
void... |
233b5eb7280fd9a46690344c27484c65a91bb3cf51251312954b28476cd5d88c | C/C++ | 903 | 29 | /*
* Copyright (c) 2018 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... |
c3ba9a364d7d88614859c5e8c334d5c99242ccba40a46264dc5b25858ef6813b | C/C++ | 904 | 32 | #pragma once
#include "../ovasCConfigurationBuilder.h"
#include "ovasIDriver.h"
namespace OpenViBE {
namespace AcquisitionServer {
/**
* \class CConfigurationDriverGenericOscillator
* \author Jozef Legeny (Inria)
* \date 28 jan 2013
* \brief The CConfigurationDriverGenericOscillator handles the configuration dial... |
22463169d75f21234ee725b367a16186140893c971dc369823c88177fb9db79a | C/C++ | 906 | 32 | #pragma once
#include <openvibe/ov_all.h>
#include "BoxAdapter.h"
#include "Contexted.h"
namespace OpenViBE {
namespace Tracker {
/**
* \class BoxPlugins
* \brief Box Plugins is a factory-like class that keeps a list of box plugins that can be 'applied' to streams in Tracker
* \details Boxes can be registered in... |
5bffdd5aa687e35d03e62a59bc10a744d378cc1e51f4b1d5b19481b1ba5307e5 | C/C++ | 912 | 40 | #pragma once
#include "defines.h"
#include <cstdlib> // fix Unix compatibility
namespace System {
class System_API CChrono final
{
public:
CChrono() { }
~CChrono();
bool reset(size_t nStep);
bool stepIn();
bool stepOut();
uint64_t getTotalStepInDuration() const;
uint64_t getTotalStepO... |
4fac4a93f23e4f37849a6e375f7ad297047285c66ad870443894d88acdae7549 | C/C++ | 917 | 27 | // Copyright [1999-2017] EMBL-European Bioinformatics Institute
//
// 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.apache.org/licenses/LICENSE-2.0
//
// Unless required b... |
2e5b1a64d439618c60e2af191bb3383d65cae4db831f779b58a490b084b14d76 | C/C++ | 921 | 42 | //-----------------------------------------------
// Copyright 2009 Wellcome Trust Sanger Institute
// Written by Jared Simpson (js18@sanger.ac.uk)
// Released under the GPL
//-----------------------------------------------
//
// QualityVector - Vector of doubles representing
// log-transformed quality values for a seq... |
6ffadf32e008d3b89578f6334022190f28ebdaaaf458bceb01832e4eb366c239 | C/C++ | 922 | 35 | #pragma once
#include "ovasCDriverGenericRawReader.h"
#include "../ovasCSettingsHelper.h"
#include <socket/IConnectionClient.h>
namespace OpenViBE {
namespace AcquisitionServer {
/**
* \class CDriverGenericRawTelnetReader
* \author Yann Renard (INRIA)
*/
class CDriverGenericRawTelnetReader final : public CDriver... |
5a2c9287199defc1e153f5db3336cec82a06073a8309b3ce7252f8e0a6281991 | C/C++ | 924 | 34 | //-----------------------------------------------
// Copyright 2009 Wellcome Trust Sanger Institute
// Written by Jared Simpson (js18@sanger.ac.uk)
// Released under the GPL
//-----------------------------------------------
//
// EdgeDesc - A unique description of an edge
//
#ifndef EDGEDESC_H
#define EDGEDESC_H
#inc... |
620c7bafc85eedc584ff4baf929137f770d1bd17f1d17cecd684fbeafe08dec1 | C/C++ | 924 | 34 | /*
# =============================================================================
# Copyright (c) 2016 - 2021 Blue Brain Project/EPFL
#
# See top-level LICENSE file for details.
# =============================================================================.
*/
#pragma once
#include <cstdio>
#include <cstdlib>
#incl... |
816df60d452715c77a97475f2dcbab50d1a7adbfcea8c36249c0dc5b32ea7fd5 | C/C++ | 930 | 20 | part *newPart(int nTax, int nChar, char *equateSymbols, int nEquates, char *symbols, int dim);
void freePart(part *thePart);
void pokeSequences(part *thePart, char *theString);
void pokeEquatesTable(part *thePart, char *theString);
void makePatterns(part *thePart);
void dumpPart(part *thePart);
PyObject *singleSequence... |
874307c6b3006b80703bb65c0259f28dd101a975f70ac22a4844f0346ef81018 | C/C++ | 931 | 27 | /*
# =============================================================================
# Copyright (c) 2016 - 2021 Blue Brain Project/EPFL
#
# See top-level LICENSE file for details.
# =============================================================================.
*/
namespace coreneuron {
extern void capacitance_reg(void... |
2356cc41c37f22f9b0fb94e4030bea7734dc670d7c98ee92c28b95f4ac3c13e5 | C/C++ | 932 | 25 | /*
* 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... |
15ed88f25e257f6e08a5d43d11fb9d50b1a7d260eaa73b63a7ddba45380fe25c | C/C++ | 947 | 35 | /**
* SPDX-FileCopyrightText: Inria <tristan.cabel@inria.fr>
* SPDX-License-Identifier: AGPL-3.0-only
*/
#pragma once
#include "../ov_defines.h"
#include "parameterTraits.h"
namespace OpenViBE {
namespace Parameters {
class OV_API ParameterString : public ParameterBase<std::string, ParameterString>
{
public:
P... |
0007f9d7ebb6f053b571fd45d09f935b2e9527d6dc51d308facdd412d2a721d5 | C/C++ | 948 | 43 | #ifndef SNOWMAN_FRACTIONS_H__
#define SNOWMAN_FRACTIONS_H__
#include "SeqLib/GenomicRegionCollection.h"
#include "SeqLib/BamHeader.h"
#include <string>
/** @brief Extension of GenomicRegion with a fraction of reads to keep on an interval
*
* Used in conjunction with Fractions and used for selectively sub-sam... |
7d648e24e4b0bb37580e5efa20cd272e69ec0f7b29f9093be463fb056be20342 | C/C++ | 949 | 28 | #pragma once
#include "../ovtkTAlgorithm.h"
#include "ovtk_scenario_io.h"
#include <openvibe/kernel/scenario/ovIAlgorithmScenarioImporter.h>
#define OVP_ClassId_Algorithm_ScenarioImporter OpenViBE::CIdentifier(0x1EE72169, 0x2BF146C1)
#define OVP_ClassId_Algorithm_ScenarioImporterDesc OpenViBE::CIdentifier(0x503C0... |
873acd651a1952a68cdd8e5c956406c311766e9d292bf6bb35801090a333d0c9 | C/C++ | 950 | 35 | /**
* SPDX-FileCopyrightText: Inria <tristan.cabel@inria.fr>
* SPDX-License-Identifier: AGPL-3.0-only
*/
#pragma once
#include "../ov_defines.h"
#include "parameterTraits.h"
namespace OpenViBE {
namespace Parameters {
class OV_API ParameterBool : public ParameterBase<bool, ParameterBool>
{
public:
ParameterBo... |
d46648acbddcd7e4cbfdbab20d32f8d6a7b47be35592f86a6b539ab9e52af3b5 | C/C++ | 952 | 25 | #pragma once
#include <iostream>
#include <exception>
#include "Constants.h"
using namespace std;
class ErrorException: public exception {
private:
int errorCode;
public:
ErrorException(int myErrorCode) {
errorCode = myErrorCode;
}
virtual const char* what() const throw()
{
if (errorCode == NO_FTDI... |
dc0e7b9d6c2b04a824cb1609ae439e65fc06400b8fa1ed812e64538cbf924b37 | C/C++ | 960 | 29 | #pragma once
#include "../ovtkTAlgorithm.h"
#include "ovtk_scenario_io.h"
#include <openvibe/kernel/scenario/ovIAlgorithmScenarioExporter.h>
#define OVTK_ClassId_Algorithm_ScenarioExporter OpenViBE::CIdentifier(0x7C281FEA, 0x40B66277)
#define OVTK_ClassId_Algorithm_ScenarioExporterDesc OpenViBE::CIdentifier(0x49... |
f534741839945099041a1de82f3a7d19299dbc4dbc9d033b0a9b1efca28c9fa8 | C/C++ | 966 | 16 | #pragma once
// Boxes
//---------------------------------------------------------------------------------------------------
#define OVP_ClassId_BoxAlgorithm_OSCController OpenViBE::CIdentifier(0xC66F2F0C, 0x3BA5B424)
#define OVP_ClassId_BoxAlgorithm_OSCControllerDesc OpenViBE::CId... |
d2bff9dd42c3989ae9f7be4d67aa252208fbc309bd0880067f5a4f1d6e2158fe | C/C++ | 968 | 35 | #pragma once
#include "ovasCDriverGenericRawReader.h"
#include <socket/IConnectionClient.h>
namespace OpenViBE {
namespace AcquisitionServer {
/**
* \class CDriverGenericRawTelnetReader
* \author Yann Renard (INRIA)
*/
class CDriverGenericRawTelnetReader final : public CDriverGenericRawReader
{
public:
explic... |
eebe74d08614a3d5e23a66f9dd7a96d33d9f65db4e5a5bf9f26d6aa09766bfdd | C/C++ | 969 | 30 | /*
# =============================================================================
# Copyright (c) 2016 - 2021 Blue Brain Project/EPFL
#
# See top-level LICENSE file for details.
# =============================================================================
*/
#pragma once
#include "coreneuron/sim/multicore.hpp"
na... |
d6391e9347abfc54518d2c836529c85188925f50e99af8496fa30ec955e98b10 | C/C++ | 975 | 43 | #pragma once
#include <openvibe/ov_all.h>
#include "Chunk.h"
namespace OpenViBE {
namespace Tracker {
/**
* \class TypeStimulation
* \brief Abstact class defining chunk types for Stimulation streams
* \author J. T. Lindgren
*
*/
class TypeStimulation
{
public:
static CIdentifier getTypeIdentifier() { retur... |
1d0166e0a735bf6fcafd69396e5474c1ea0efd383b08495b3642c7a4145e76e9 | C/C++ | 977 | 43 | /*
# =============================================================================
# Copyright (c) 2016 - 2021 Blue Brain Project/EPFL
#
# See top-level LICENSE file for details.
# =============================================================================.
*/
#pragma once
#define v _v
#define area _area... |
62cfecf57379f063ebddacbbabea73ee1d680ace92a21defc097ac83a26452e9 | C/C++ | 983 | 37 | // ***************************************************************************
// bamtools_sort.h (c) 2010 Derek Barnett, Erik Garrison
// Marth Lab, Department of Biology, Boston College
// ---------------------------------------------------------------------------
// Last modified: 7 April 2011 (DB)
// --------------... |
04aa1ce7c78c70c21d529c9bfd7c79a2fc6a67609cf2ba9463cdfbd07691045c | C/C++ | 984 | 38 | //-----------------------------------------------
// Copyright 2010 Wellcome Trust Sanger Institute
// Written by Jared Simpson (js18@sanger.ac.uk)
// Released under the GPL
//-----------------------------------------------
//
// BWTWriter - Abstract class for writing a BWT file to disk
//
#ifndef BWTWRITER_H
#define ... |
f9c827499f489263b4b13681458ad735bf3c172020561419acece6c696a4b913 | C/C++ | 984 | 36 | #pragma once
#include "../ovkTKernelObject.h"
#include "ovkTAttributable.h"
#include <iostream>
namespace OpenViBE {
namespace Kernel {
class CScenario;
class CComment final : public TAttributable<TKernelObject<IComment>>
{
public:
CComment(const IKernelContext& ctx, CScenario& rOwnerScenario);
~CComment(... |
ca2019e68af710be3965d53f5fcd0630dc054f3980a8c3cf7cee59dd38b56d9e | C/C++ | 985 | 41 | #pragma once
#include "ovasIDriver.h"
#include "../ovasCHeader.h"
namespace OpenViBE {
namespace AcquisitionServer {
/**
* \class CDriverGenericSawTooth
* \author Yann Renard (INRIA)
*/
class CDriverGenericSawTooth final : public IDriver
{
public:
explicit CDriverGenericSawTooth(IDriverContext& ctx);
void... |
6f8378b76d3ce5bac7c76db24939aeab3d31845a91524f6301cdf9a1bd905125 | C/C++ | 991 | 39 | #pragma once
#include "ovasIDriver.h"
#include "../ovasCHeader.h"
namespace OpenViBE {
namespace AcquisitionServer {
/**
* \class CDriverGenericTimeSignal
* \author Jussi Lindgren (Inria)
*
* This driver may have some utility in debugging. For each sample, it returns the
* current time as obtained from openvib... |
8e2c4b64e5e2d68ee3513fcddf798294464c91cc78713c18557a55d8774f4f34 | C/C++ | 992 | 36 | /**
* SPDX-FileCopyrightText: Inria <tristan.cabel@inria.fr>
* SPDX-License-Identifier: AGPL-3.0-only
*/
#pragma once
#include "parameterObject.h"
#include <openvibe/parameters/parameterColorGradient.h>
namespace OpenViBE {
namespace Parameters {
class OV_PARAMETERS_OBJECT_EXPORT ParameterColorGradientObject: publ... |
71f684a394b68715955f51788341823529314471d002ec79ca2ed517f4e10b3d | C/C++ | 994 | 43 | #pragma once
#include <openvibe/ov_all.h>
#include "TypeMatrix.h"
namespace OpenViBE {
namespace Tracker {
/**
* \class TypeSpectrum
* \brief Abstact class defining chunk types for Spectrum streams
* \author J. T. Lindgren
*
*/
class TypeSpectrum
{
public:
static CIdentifier getTypeIdentifier() { return OV... |
8e4da74d596b4fd26f7b5583f2ab90a31736edbc4439f4d014d6422b485e39c5 | C/C++ | 997 | 70 | /*
* hsfft.h
*
* Created on: Apr 14, 2013
* Author: Rafat Hussain
*/
#pragma once
#include <stdlib.h>
#include <math.h>
#include <string.h>
#ifdef __cplusplus
extern "C" {
#endif
#define PI2 6.28318530717958647692528676655900577
#ifndef fft_type
#define fft_type double
#endif
typedef struct fft_t
{
... |
ea103dc36e23b601feb6d1563c13e1fc1c3ae5b7024c4b6d8d3c8d33b55a65da | C/C++ | 997 | 40 | #ifndef __NUC_H__
#define __NUC_H__
#include <stdio.h>
#include <ctype.h>
#include "seq.h"
enum nucleotide {NUC_A=0, NUC_C, NUC_G, NUC_T,
NUC_M, /* [M]ethyl: A or C */
NUC_K, /* [K]eto: G or T */
NUC_R, /* pu[R]ine: A or G */
NUC_Y, /* p[Y]rimidine: C or T */
NUC_W, /* [W]eak: A or T */
NUC_S, /* [... |
4b6a843a3469cfdce8ed823e22e8d93778c5ebdb91931136341a57fef3198ec2 | C/C++ | 1,000 | 35 | /*
# =============================================================================
# Copyright (c) 2016 - 2021 Blue Brain Project/EPFL
#
# See top-level LICENSE file for details.
# =============================================================================.
*/
#pragma once
/* define to 1 if you want MPI specific fe... |
c8ecfac3dbc0c85ba3a7122047290d8b297a1fae630d1cea9343d31bfcae7b6d | C/C++ | 1,001 | 46 | /*
* conv.h
*
* Created on: May 1, 2013
* Author: Rafat Hussain
*/
#pragma once
#include "real.h"
#ifdef __cplusplus
extern "C" {
#endif
#define MIN(a,b) (((a)<(b))?(a):(b))
#define MAX(a,b) (((a)>(b))?(a):(b))
typedef struct conv_set* conv_object;
conv_object conv_init(int N, int L);
struct conv_set
... |
827578714cb6ec82ae2ca12fe8c800f064417e75ec362910d4825afa26ce2ca8 | C/C++ | 1,018 | 35 | // Copyright [1999-2017] EMBL-European Bioinformatics Institute
//
// 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.apache.org/licenses/LICENSE-2.0
//
// Unless required b... |
6220624d93c7b4457bd98170cd59463b875f9d1492ec71385aaaebabf8495ee2 | C/C++ | 1,023 | 36 | //
// OpenViBE Tracker
//
#pragma once
#include "StreamRendererLabel.h"
#include "TypeChannelUnits.h"
namespace OpenViBE {
namespace Tracker {
/**
* \class StreamRendererChannelUnits
* \brief Renderer for Channel Units streams
* \author J. T. Lindgren
*
* @ fixme this class inherits a lot of junk from the root... |
08b0306be9c3420bb90b92e6554b90c39ee1a3a4945d86d86508c68c75fac1ea | C/C++ | 1,026 | 41 | /**
* SPDX-FileCopyrightText: Inria <thomas.prampart@inria.fr>
* SPDX-License-Identifier: AGPL-3.0-only
*/
#pragma once
#include "AbstractWriterBuilder.h"
#include <lsl_cpp.h>
#include <string>
#include <vector>
class LSLOutputWriter : public AbstractWriter
{
public:
LSLOutputWriter(const std::string& writerNa... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.