MCPcopy Create free account
hub / github.com/ETLCPP/etl / Print

Function Print

examples/SharedMessage/SharedMessage.cpp:65–68  ·  view source on GitHub ↗

Prints the shared message

Source from the content-addressed store, hash-verified

63// Prints the shared message
64//*****************************************************************************
65void Print(const std::string& prefix, etl::shared_message sm)
66{
67 std::cout << prefix << " : Message Id = " << int(sm.get_message().get_message_id()) << "\n";
68}
69
70//*****************************************************************************
71// This router accepts Message1, Message2 and Message3 types.

Callers 2

receiveMethod · 0.85
process_queueMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected