PEBL
2.2
Psychology Experiment Building Language - Cross-platform psychological experiment development system
PEBLLSL.h
Go to the documentation of this file.
1
//* -*- mode:C++; tab-width:4; c-basic-offset:4; indent-tabs-mode:nil -*- */
3
// Name: src/libs/PEBLLSL.h
4
// Purpose: LSL (Lab Streaming Layer) built-in functions for PEBL
5
// Author: Shane T. Mueller, Ph.D.
6
// Copyright: (c) 2026 Shane T. Mueller <smueller@obereed.net>
7
// License: GPL 2
8
//
9
// This file is part of the PEBL project.
10
//
11
// PEBL is free software; you can redistribute it and/or modify
12
// it under the terms of the GNU General Public License as published by
13
// the Free Software Foundation; either version 2 of the License, or
14
// (at your option) any later version.
15
//
16
// PEBL is distributed in the hope that it will be useful,
17
// but WITHOUT ANY WARRANTY; without even the implied warranty of
18
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
// GNU General Public License for more details.
20
//
21
// You should have received a copy of the GNU General Public License
22
// along with PEBL; if not, write to the Free Software
23
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
25
#ifndef __PEBLLSL_H__
26
#define __PEBLLSL_H__
27
28
#include "../base/Variant.h"
29
30
// Phase 1: Outlet functions (send markers)
31
// Always declared - stub implementations available when PEBL_USE_LSL not defined
32
Variant
CreateLSLOutlet
(
Variant
v);
33
Variant
SendLSLMarker
(
Variant
v);
34
Variant
CloseLSLOutlet
(
Variant
v);
35
Variant
LSLHasConsumers
(
Variant
v);
36
Variant
LSLLocalClock
(
Variant
v);
37
38
// Phase 2: Inlet functions (receive triggers) - To be implemented later
39
// Variant CreateLSLInlet(Variant v);
40
// Variant WaitForLSLTrigger(Variant v);
41
// Variant PollLSLSample(Variant v);
42
// Variant WaitForLSLSample(Variant v);
43
// Variant CloseLSLInlet(Variant v);
44
45
#endif
// __PEBLLSL_H__
SendLSLMarker
Variant SendLSLMarker(Variant v)
Definition
PEBLLSL.cpp:204
CloseLSLOutlet
Variant CloseLSLOutlet(Variant v)
Definition
PEBLLSL.cpp:210
LSLHasConsumers
Variant LSLHasConsumers(Variant v)
Definition
PEBLLSL.cpp:216
CreateLSLOutlet
Variant CreateLSLOutlet(Variant v)
Definition
PEBLLSL.cpp:198
LSLLocalClock
Variant LSLLocalClock(Variant v)
Definition
PEBLLSL.cpp:222
Variant
Definition
Variant.h:67
src
libs
PEBLLSL.h
Generated by
1.9.8