2
3
4
5
6
7
8
9
10
11
12
13
14
15
16#ifndef CPP_APP_CONFIGURATION_WRITER_H
17#define CPP_APP_CONFIGURATION_WRITER_H
19#include "utils/AutoDoc.h"
27 ConfigurationWriter() {}
28 virtual ~ConfigurationWriter() {}
36 void file(
const std::string &filename) {_filename = filename;}
37 std::string file() {
return _filename;}
80 std::vector<ImNode*> _watched_nodes;
83 std::vector<ImNode*> _sequenced_nodes;
86 std::vector<std::pair<Connection*, Connection*>> _paired_connections;
89 std::string _filename =
"gui_config_file.py";
Class to document from code.
Definition AutoDoc.h:80
Write out script from UX to execute using set toolchain. Base class for override.
Definition ConfigurationWriter.h:25
virtual void _writeLogData()
Write all logged data to file.
Definition ConfigurationWriter.h:71
void file(const std::string &filename)
Set the file for write and redirect output to that file.
Definition ConfigurationWriter.h:36
virtual void _decomposeNodeInformation()
Decompose all relevant strings from the provided node and connection information.
Definition ConfigurationWriter.h:56
virtual void _writeOutputEnd()
Write the end of the file output.
Definition ConfigurationWriter.h:74
void write()
Write watched node data to file.
Definition ConfigurationWriter.cpp:45
virtual void _writeOutputStart()
Write the start of the file.
Definition ConfigurationWriter.h:59
virtual void _writeDataConnection(Connection *upstream, Connection *downstream)
Write the connection of one "Connection" to another.
Definition ConfigurationWriter.h:68
void watchNode(ImNode *target)
Add a node to the ConfigurationWriter for tracking.
Definition ConfigurationWriter.cpp:19
virtual void _writeDataValue(ImNode *node)
Write the creation of a single node, given by node.
Definition ConfigurationWriter.h:63
void unwatchNode(ImNode *target)
Remove a node from the ConfigurationWriter for tracking.
Definition ConfigurationWriter.cpp:32
virtual void _setNodeConnectionSequence()
Set the sequence of nodes for creation and write paired connections.
Definition ConfigurationWriter.h:53
Class to propagate CR3BP dynamics in characteristic units.
Definition ConfigurationWriter.cpp:18
Hold all information related to a connection point in the ImGUI UX.
Definition Connection.h:48
Hold all data related to a visual node in the ImGUI UX.
Definition ImNode.h:39