Commit 0da6a26e authored by Luciano Orsini's avatar Luciano Orsini
Browse files

references #248: added readiness

parent b3822910
......@@ -18,7 +18,7 @@
// !!! Edit this line to reflect the latest package version !!!
#define CORE_PTVPI_VERSION_MAJOR 1
#define CORE_PTVPI_VERSION_MINOR 2
#define CORE_PTVPI_VERSION_MINOR 3
#define CORE_PTVPI_VERSION_PATCH 0
// If any previous versions available E.g. #define CORE_PTVPI_PREVIOUS_VERSIONS "3.8.0,3.8.1"
#undef CORE_PTVPI_PREVIOUS_VERSIONS
......
......@@ -128,6 +128,12 @@ void pt::vpi::Application::actionPerformed (xdata::Event& e)
pt::PeerTransportAgent* pta = pt::getPeerTransportAgent();
pta->addPeerTransport(pt_);
// validate readiness example
auto readiness = dynamic_cast<xdata::Boolean*>(this->getApplicationInfoSpace()->find("readiness"));
*readiness = true;
this->getApplicationInfoSpace()->fireItemValueChanged("readiness", this);
LOG4CPLUS_INFO(this->getApplicationLogger(), "IBV configured");
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment