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

Function get_board_data_count

src/board_controller/board_controller.cpp:426–439  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

424}
425
426int get_board_data_count (
427 int preset, int *result, int board_id, const char *json_brainflow_input_params)
428{
429 std::lock_guard<std::mutex> lock (mutex);
430
431 std::pair<int, struct BrainFlowInputParams> key;
432 int res = check_board_session (board_id, json_brainflow_input_params, key, false);
433 if (res != (int)BrainFlowExitCodes::STATUS_OK)
434 {
435 return res;
436 }
437 auto board_it = boards.find (key);
438 return board_it->second->get_board_data_count (preset, result);
439}
440
441int get_board_data (int data_count, int preset, double *data_buf, int board_id,
442 const char *json_brainflow_input_params)

Callers 5

get_board_dataMethod · 0.85
get_board_data_countMethod · 0.85
get_board_dataMethod · 0.85
get_board_data_countMethod · 0.85

Calls 2

check_board_sessionFunction · 0.85
get_board_data_countMethod · 0.65

Tested by

no test coverage detected