MCPcopy Create free account
hub / github.com/OpenDDS/OpenDDS / write_status

Function write_status

performance-tests/bench/node_controller/main.cpp:798–812  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

796}
797
798bool write_status(
799 const std::string& name,
800 const NodeId& this_node_id,
801 Bench::NodeController::StateEnum state,
802 StatusDataWriter& status_writer_impl)
803{
804 Status status;
805 status.node_id = this_node_id;
806 status.state = state;
807 status.name = name.c_str();
808 if (status_writer_impl.write(status, DDS::HANDLE_NIL)) {
809 return false;
810 }
811 return true;
812}
813
814bool wait_for_scenario_data(AllocatedScenarioDataReader& allocated_scenario_reader_impl)
815{

Callers 2

wait_for_full_scenarioFunction · 0.85
run_cycleFunction · 0.85

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected