44 [[nodiscard]] std::string
type()
const override;
47 [[nodiscard]]
static std::string
category();
54 [[nodiscard]]
json save()
const override;
61 void flush()
override;
nlohmann::json json
json namespace
FileWriter(const FileWriter &)=delete
Copy constructor.
Parent class for all data transmitted over Flow pins.
Node(std::string name)
Constructor.
UartDataLogger()
Default constructor.
UartDataLogger & operator=(UartDataLogger &&)=delete
Move assignment operator.
UartDataLogger(const UartDataLogger &)=delete
Copy constructor.
static std::string category()
String representation of the Class Category.
void guiConfig() override
ImGui config window which is shown on double click.
static std::string typeStatic()
String representation of the Class Type.
json save() const override
Saves the node into a json object.
UartDataLogger & operator=(const UartDataLogger &)=delete
Copy assignment operator.
UartDataLogger(UartDataLogger &&)=delete
Move constructor.
void flush() override
Function called by the flow executer after finishing to flush out remaining data.
void restore(const json &j) override
Restores the node from a json object.
std::string type() const override
String representation of the Class Type.
bool initialize() override
Initialize the node.
void deinitialize() override
Deinitialize the node.
void writeObservation(InputPin::NodeDataQueue &queue, size_t pinIdx)
Write Observation to the file.
~UartDataLogger() override
Destructor.