MCPcopy Create free account
hub / github.com/actor-framework/actor-framework / config

Method config

robot/middleman/driver.cpp:101–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99 std::string mode;
100 uint16_t port = 0;
101 config() {
102 set("caf.middleman.heartbeat-interval", "20ms");
103 add_actor_type("cell", cell_impl);
104 opt_group{custom_options_, "global"}
105 .add(server, "server,s", "run in server mode")
106 .add(mode, "mode,m", "set the test mode (what to test)")
107 .add(host, "host,H", "set host (ignored in server mode)")
108 .add(port, "port,p", "set port");
109 }
110};
111
112int server(actor_system& sys, std::string_view mode, uint16_t port) {

Callers

nothing calls this directly

Calls 2

setFunction · 0.50
addMethod · 0.45

Tested by

no test coverage detected