Class vicon_transformer::JsonReceiver¶
-
class JsonReceiver : public vicon_transformer::Receiver¶
Load a single frame from a JSON file and return it on every read() call.
Meant for testing.
Public Functions
-
JsonReceiver(const std::filesystem::path &filename)¶
-
virtual ViconFrame read() override¶
Return the frame that was loaded from the file.
-
JsonReceiver(const std::filesystem::path &filename)
-
virtual ViconFrame read() override
Return the frame that was loaded from the file.
-
JsonReceiver(const std::filesystem::path &filename)¶