27#include <Ice/CommunicatorF.h>
29#include <ArmarXCore/interface/observers/Serialization.h>
30#include <ArmarXCore/interface/serialization/JSONSerialization.h>
39 const std::string file)
41 const Ice::Current&
c = Ice::emptyCurrent;
42 auto communicator =
c.adapter.get()->getCommunicator();
48 const std::string jsonString = jsonSerializer.
toString();
The JSONObject class is used to represent and (de)serialize JSON objects.
std::string toString(const ::Ice::Current &=Ice::emptyCurrent) const override
void exportTrajectory(std::vector< DesignerTrajectoryPtr > trajectories, const std::string file)
Exports a trajectory to the target file as a serialized instance of the Trajectory class.
::IceInternal::Handle<::Ice::Communicator > CommunicatorPtr