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

Method get_version

cpp_package/src/ml_model.cpp:125–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123}
124
125std::string MLModel::get_version ()
126{
127 char version[64];
128 int string_len = 0;
129 int res = ::get_version_ml_module (version, &string_len, 64);
130 if (res != (int)BrainFlowExitCodes::STATUS_OK)
131 {
132 throw BrainFlowException ("failed to get board info", res);
133 }
134 std::string verion_str (version, string_len);
135
136 return verion_str;
137}

Callers

nothing calls this directly

Calls 2

get_version_ml_moduleFunction · 0.85
BrainFlowExceptionClass · 0.85

Tested by

no test coverage detected