45 [[nodiscard]] std::string
type()
const override;
48 [[nodiscard]]
static std::string
category();
55 [[nodiscard]]
json save()
const override;
68 void flush()
override;
Common logging variables like time into run and local positions.
nlohmann::json json
json namespace
CommonLog(const CommonLog &)=delete
Copy constructor.
FileWriter(const FileWriter &)=delete
Copy constructor.
Parent class for all data transmitted over Flow pins.
Node(std::string name)
Constructor.
static std::string category()
String representation of the Class Category.
VectorNavDataLogger(VectorNavDataLogger &&)=delete
Move constructor.
void restore(const json &j) override
Restores the node from a json object.
void guiConfig() override
ImGui config window which is shown on double click.
~VectorNavDataLogger() override
Destructor.
VectorNavDataLogger & operator=(const VectorNavDataLogger &)=delete
Copy assignment operator.
bool onCreateLink(OutputPin &startPin, InputPin &endPin) override
Called when a new link is to be established.
std::string type() const override
String representation of the Class Type.
VectorNavDataLogger & operator=(VectorNavDataLogger &&)=delete
Move assignment operator.
void deinitialize() override
Deinitialize the node.
VectorNavDataLogger(const VectorNavDataLogger &)=delete
Copy constructor.
void flush() override
Function called by the flow executer after finishing to flush out remaining data.
static std::string typeStatic()
String representation of the Class Type.
bool _headerWritten
Flag to write the header once.
bool initialize() override
Initialize the node.
void writeObservation(InputPin::NodeDataQueue &queue, size_t pinIdx)
Write Observation to the file.
json save() const override
Saves the node into a json object.
VectorNavDataLogger()
Default constructor.