PEBL 2.2
Psychology Experiment Building Language - Cross-platform psychological experiment development system
PLSL Class Reference

#include <PLabStreamingLayer.h>

Public Member Functions

 PLSL (const std::string &name, const std::string &type, const std::string &source_id)
 
 ~PLSL ()
 
void SendMarker (const std::string &marker)
 
void SendMarker (int marker)
 
void SendMarkerTimed (const std::string &marker, double timestamp)
 
bool HaveConsumers ()
 
bool WaitForConsumers (double timeout)
 
bool IsValid () const
 

Detailed Description

PLSL - Stub implementation when LSL is not available

All methods become no-ops

Definition at line 86 of file PLabStreamingLayer.h.

Constructor & Destructor Documentation

◆ PLSL()

PLSL::PLSL ( const std::string &  name,
const std::string &  type,
const std::string &  source_id 
)

Definition at line 133 of file PLabStreamingLayer.cpp.

136 : mInfo(NULL),
137 mOutlet(NULL)
138{
139 // LSL not available - no-op
140}
#define NULL
Definition BinReloc.cpp:317

◆ ~PLSL()

PLSL::~PLSL ( )

Definition at line 143 of file PLabStreamingLayer.cpp.

144{
145 // LSL not available - no-op
146}

Member Function Documentation

◆ HaveConsumers()

bool PLSL::HaveConsumers ( )

Definition at line 165 of file PLabStreamingLayer.cpp.

166{
167 return false;
168}

◆ IsValid()

bool PLSL::IsValid ( ) const
inline

Definition at line 113 of file PLabStreamingLayer.h.

113{ return false; }

◆ SendMarker() [1/2]

void PLSL::SendMarker ( const std::string &  marker)

Definition at line 149 of file PLabStreamingLayer.cpp.

150{
151 // LSL not available - no-op
152}

◆ SendMarker() [2/2]

void PLSL::SendMarker ( int  marker)

Definition at line 154 of file PLabStreamingLayer.cpp.

155{
156 // LSL not available - no-op
157}

◆ SendMarkerTimed()

void PLSL::SendMarkerTimed ( const std::string &  marker,
double  timestamp 
)

Definition at line 159 of file PLabStreamingLayer.cpp.

160{
161 // LSL not available - no-op
162}

◆ WaitForConsumers()

bool PLSL::WaitForConsumers ( double  timeout)

Definition at line 170 of file PLabStreamingLayer.cpp.

171{
172 return false;
173}

The documentation for this class was generated from the following files: