5 #ifndef OPENPSTD_OUTPUT_CLI_H 6 #define OPENPSTD_OUTPUT_CLI_H 8 #include <shared/PSTDFile.h> 16 std::shared_ptr<Shared::PSTDFile> _file;
18 CLIOutput(std::shared_ptr<Shared::PSTDFile> file) : _file(file)
23 virtual void WriteFrame(
int frame,
int domain, Kernel::PSTD_FRAME_PTR data)
override;
25 virtual void WriteSample(
int startSample,
int receiver, std::vector<float> data)
override;
29 #endif //OPENPSTD_OUTPUT_CLI_H This is the general namespace of the OpenPSTD application.
Definition: Boundary.cpp:33
virtual void WriteFrame(int frame, int domain, Kernel::PSTD_FRAME_PTR data) override
Return pressure data of scene to callback handler.
Definition: output.cpp:30
virtual void WriteSample(int startSample, int receiver, std::vector< float > data) override
Return receiver data of scene to callback handler.
Definition: output.cpp:35
virtual void Callback(Kernel::CALLBACKSTATUS status, std::string message, int frame) override
This callback will be called with information how far the kernel is progressed.
Definition: output.cpp:14
Callback interface for communication with the CLI or the GUI.
Definition: KernelInterface.h:212
CALLBACKSTATUS
The status of the kernel when the callback is called.
Definition: KernelInterface.h:20