I don’t think tensorboard has a built-in C++ API, but you might be able to find some 3rd party implementations.
Here is a tracker for a feature request 3 to enable C++ logging, which apparently didn’t get much attention.