Mads
Multi-Agent Distributed System
Loading...
Searching...
No Matches
Mads::AgentAppT< AgentT >::CliOptions Struct Reference

Common options parsed for agent executables. More...

#include <agent_app.hpp>

Public Attributes

std::string settings_uri = SETTINGS_URI
 Settings path or broker URI.
 
std::optional< std::string > agent_name
 Optional agent name override.
 
std::optional< std::string > agent_id
 Optional agent identifier added to outgoing JSON frames.
 
CryptoOptions crypto
 CURVE encryption configuration.
 
int settings_timeout = 0
 Timeout in milliseconds for reading settings from broker.
 

Detailed Description

template<typename AgentT>
struct Mads::AgentAppT< AgentT >::CliOptions

Common options parsed for agent executables.

Definition at line 131 of file agent_app.hpp.

Member Data Documentation

◆ agent_id

template<typename AgentT >
std::optional<std::string> Mads::AgentAppT< AgentT >::CliOptions::agent_id

Optional agent identifier added to outgoing JSON frames.

Definition at line 139 of file agent_app.hpp.

◆ agent_name

template<typename AgentT >
std::optional<std::string> Mads::AgentAppT< AgentT >::CliOptions::agent_name

Optional agent name override.

Definition at line 136 of file agent_app.hpp.

◆ crypto

template<typename AgentT >
CryptoOptions Mads::AgentAppT< AgentT >::CliOptions::crypto

CURVE encryption configuration.

Definition at line 142 of file agent_app.hpp.

◆ settings_timeout

template<typename AgentT >
int Mads::AgentAppT< AgentT >::CliOptions::settings_timeout = 0

Timeout in milliseconds for reading settings from broker.

Definition at line 145 of file agent_app.hpp.

◆ settings_uri

template<typename AgentT >
std::string Mads::AgentAppT< AgentT >::CliOptions::settings_uri = SETTINGS_URI

Settings path or broker URI.

Definition at line 133 of file agent_app.hpp.


The documentation for this struct was generated from the following file: