![]() |
WarpTwin
Documentation for WarpTwin models and classes.
|
Hold all information related to a connection point in the ImGUI UX. More...
#include <Connection.h>
Public Member Functions | |
| void | fromJson (const nlohmann::json &j) |
| Create Connection object from json. | |
| nlohmann::json | toJson () |
| Create json object from Connection. | |
| void | dump () |
| Output all connection information. | |
Public Attributes | |
| std::string | name |
| The name of the connection. | |
| long | unique_id |
| The unique ID of the connection given by the ImGUI UX or other. | |
| connection_type_e | connection_type |
| The type of connection. | |
| gui_data_types_e | data_type |
| The data type associated with the connection. | |
| std::array< unsigned int, 2 > | size |
| The size of the connection as rows, columns. | |
| std::vector< std::vector< std::string > > | values |
| The values held within the connection. All values are stored as string. | |
| int | writable |
| Boolean indicating whether the connection is writable (true) or not (false). | |
| long | paired_connection_id |
| The connection to which this connection is paired, given by unique ID. | |
| std::vector< long > | log_connection_ids |
| Store multiple inputs for logging connections that allow it. | |
| long | parent_node_id |
| The parent to this connection, given by its unique ID number. | |
| int | user_set |
| Flag to indicate whether user has set this value via the GUI. | |
| std::string | displayname |
| GUI display name of the connection. | |
| std::string | description |
| Description of the connection parsed from warptwin files. | |
Hold all information related to a connection point in the ImGUI UX.
| void warptwin::Connection::dump | ( | ) |
Output all connection information.
| void warptwin::Connection::fromJson | ( | const nlohmann::json & | j | ) |
Create Connection object from json.
| j | The json object from which Connection is created |
| nlohmann::json warptwin::Connection::toJson | ( | ) |
Create json object from Connection.
| connection_type_e warptwin::Connection::connection_type |
The type of connection.
| gui_data_types_e warptwin::Connection::data_type |
The data type associated with the connection.
| std::string warptwin::Connection::description |
Description of the connection parsed from warptwin files.
| std::string warptwin::Connection::displayname |
GUI display name of the connection.
| std::vector<long> warptwin::Connection::log_connection_ids |
Store multiple inputs for logging connections that allow it.
| std::string warptwin::Connection::name |
The name of the connection.
| long warptwin::Connection::paired_connection_id |
The connection to which this connection is paired, given by unique ID.
| long warptwin::Connection::parent_node_id |
The parent to this connection, given by its unique ID number.
| std::array<unsigned int, 2> warptwin::Connection::size |
The size of the connection as rows, columns.
| long warptwin::Connection::unique_id |
The unique ID of the connection given by the ImGUI UX or other.
| int warptwin::Connection::user_set |
Flag to indicate whether user has set this value via the GUI.
| std::vector<std::vector<std::string> > warptwin::Connection::values |
The values held within the connection. All values are stored as string.
| int warptwin::Connection::writable |
Boolean indicating whether the connection is writable (true) or not (false).