MCPcopy Create free account
hub / github.com/Rblp/Rblpapi / processResponseEvent

Function processResponseEvent

src/getBars.cpp:144–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142}
143
144void processResponseEvent(bbg::Event &event, Bars &bars,
145 const int barInterval, const bool verbose) {
146 bbg::MessageIterator msgIter(event);
147 while (msgIter.next()) {
148 bbg::Message msg = msgIter.message();
149 if (msg.hasElement(RESPONSE_ERROR)) {
150 Rcpp::Rcerr << "REQUEST FAILED: " << msg.getElement(RESPONSE_ERROR) << std::endl;
151 continue;
152 }
153 processMessage(msg, bars, barInterval, verbose);
154 }
155}
156
157// [[Rcpp::export]]
158Rcpp::DataFrame getBars_Impl(SEXP con,

Callers 1

getBars_ImplFunction · 0.70

Calls 1

processMessageFunction · 0.70

Tested by

no test coverage detected