File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -357,6 +357,13 @@ class RWSClient : public POCOClient
357357 */
358358 RWSResult getConfigurationInstances (const std::string topic, const std::string type);
359359
360+ /* *
361+ * \brief A method for retrieving all available IO signals on the controller.
362+ *
363+ * \return RWSResult containing the result.
364+ */
365+ RWSResult getIOSignals ();
366+
360367 /* *
361368 * \brief A method for retrieving the value of an IO signal.
362369 *
Original file line number Diff line number Diff line change @@ -113,6 +113,17 @@ RWSClient::RWSResult RWSClient::getConfigurationInstances(const std::string topi
113113 return evaluatePOCOResult (httpGet (uri_), evaluation_conditions_);
114114}
115115
116+ RWSClient::RWSResult RWSClient::getIOSignals ()
117+ {
118+ std::string const & uri = SystemConstants::RWS::Resources::RW_IOSYSTEM_SIGNALS;
119+
120+ evaluation_conditions_.reset ();
121+ evaluation_conditions_.parse_message_into_xml = true ;
122+ evaluation_conditions_.accepted_outcomes .push_back (HTTPResponse::HTTP_OK);
123+
124+ return evaluatePOCOResult (httpGet (uri), evaluation_conditions_);
125+ }
126+
116127RWSClient::RWSResult RWSClient::getIOSignal (const std::string iosignal)
117128{
118129 uri_ = generateIOSignalPath (iosignal);
You can’t perform that action at this time.
0 commit comments