MCPcopy Create free account
hub / github.com/Beckhoff/ADS / main

Function main

example/example.cpp:130–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128}
129
130int main()
131{
132 try {
133 runExample(std::cout);
134 } catch (const AdsException &ex) {
135 std::cout << "Error: " << ex.errorCode << "\n";
136 std::cout << "AdsException message: " << ex.what() << "\n";
137 } catch (const std::runtime_error &ex) {
138 std::cout << ex.what() << '\n';
139 }
140 std::cout << "Hit ENTER to continue\n";
141 std::cin.ignore();
142}

Callers

nothing calls this directly

Calls 2

runExampleFunction · 0.85
whatMethod · 0.80

Tested by

no test coverage detected