37 std::ofstream* o =
new std::ofstream(path.string().c_str());
51 if (!filepath.empty())
67 json->setString(
"topic", topicData.
topicName);
69 json->setDouble(
"t", topicData.
timestamp.toMicroSecondsDouble());
74 (*stream) << json->asString() << std::endl;
~FileTopicWriter() override
std::filesystem::path getFilepath() const
void write(const TopicUtil::TopicData &topicData) override
FileTopicWriter(const std::filesystem::path &path)
The JSONObject class is used to represent and (de)serialize JSON objects.
#define ARMARX_ERROR_S
The logging level for unexpected behaviour, that must be fixed.
std::string Encode64(const std::string &val)
This file offers overloads of toIce() and fromIce() functions for STL container types.
IceInternal::Handle< JSONObject > JSONObjectPtr
std::vector< Ice::Byte > inParams
std::string operationName