MCPcopy Create free account
hub / github.com/brainflow-dev/brainflow / insert_marker

Function insert_marker

src/board_controller/board_controller.cpp:380–392  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

378}
379
380int insert_marker (double value, int preset, int board_id, const char *json_brainflow_input_params)
381{
382 std::lock_guard<std::mutex> lock (mutex);
383
384 std::pair<int, struct BrainFlowInputParams> key;
385 int res = check_board_session (board_id, json_brainflow_input_params, key, false);
386 if (res != (int)BrainFlowExitCodes::STATUS_OK)
387 {
388 return res;
389 }
390 auto board_it = boards.find (key);
391 return board_it->second->insert_marker (value, preset);
392}
393
394int release_session (int board_id, const char *json_brainflow_input_params)
395{

Callers 2

insert_markerMethod · 0.85
insert_markerMethod · 0.85

Calls 2

check_board_sessionFunction · 0.85
insert_markerMethod · 0.65

Tested by

no test coverage detected