Provides a Dear ImGui interface for managing the FIX connection.
More...
#include <ConnectionPanel.h>
|
| void | addLog (const std::string &direction, const std::string &msg) |
| |
Provides a Dear ImGui interface for managing the FIX connection.
This panel lives in client_ui (not client_fix) to keep the protocol library free of GUI dependencies.
◆ ConnectionPanel()
| client_ui::ConnectionPanel::ConnectionPanel |
( |
| ) |
|
◆ ~ConnectionPanel()
| client_ui::ConnectionPanel::~ConnectionPanel |
( |
| ) |
|
◆ addLog()
| void client_ui::ConnectionPanel::addLog |
( |
const std::string & |
direction, |
|
|
const std::string & |
msg |
|
) |
| |
|
private |
◆ render()
Renders the connection panel UI.
- Parameters
-
| session | Shared pointer to the FIX session. |
| ioContext | Reference to the ASIO io_context (for starting connections). |
◆ mAutoScroll
| bool client_ui::ConnectionPanel::mAutoScroll = true |
|
private |
◆ mForceReset
| bool client_ui::ConnectionPanel::mForceReset = false |
|
private |
◆ mHeartbeatInterval
| int client_ui::ConnectionPanel::mHeartbeatInterval = 30 |
|
private |
◆ mHost
| char client_ui::ConnectionPanel::mHost[128] = "127.0.0.1" |
|
private |
◆ mLogs
| std::vector<LogEntry> client_ui::ConnectionPanel::mLogs |
|
private |
◆ mPort
| int client_ui::ConnectionPanel::mPort = 8088 |
|
private |
◆ mSenderCompId
| char client_ui::ConnectionPanel::mSenderCompId[64] = "CLIENT1" |
|
private |
◆ mTargetCompId
| char client_ui::ConnectionPanel::mTargetCompId[64] = "BETA_EXCHANGE" |
|
private |
The documentation for this class was generated from the following files: