Loading src/DataExporter.cpp +1 −1 Original line number Original line Diff line number Diff line Loading @@ -481,7 +481,7 @@ void DataExporter::get_device_property() //-------------------------------------------------------- //-------------------------------------------------------- void DataExporter::always_executed_hook() void DataExporter::always_executed_hook() { { INFO_STREAM << "DataExporter::always_executed_hook() " << device_name << endl; DEBUG_STREAM << "DataExporter::always_executed_hook() " << device_name << endl; /*----- PROTECTED REGION ID(DataExporter::always_executed_hook) ENABLED START -----*/ /*----- PROTECTED REGION ID(DataExporter::always_executed_hook) ENABLED START -----*/ if(get_state() != Tango::FAULT) if(get_state() != Tango::FAULT) Loading src/DataExporter.xmi +2 −2 Original line number Original line Diff line number Diff line Loading @@ -136,10 +136,10 @@ <states name="OFF" description="Data exporter is in OFF state (not ready for incoming connections)"> <states name="OFF" description="Data exporter is in OFF state (not ready for incoming connections)"> <status abstract="false" inherited="false" concrete="true" concreteHere="true"/> <status abstract="false" inherited="false" concrete="true" concreteHere="true"/> </states> </states> <states name="FAULT" description="Data exporter is in FAULT state (not ready to propagate data)"> <states name="FAULT" description="Data exporter is in FAULT state (configuration error)"> <status abstract="false" inherited="false" concrete="true" concreteHere="true"/> <status abstract="false" inherited="false" concrete="true" concreteHere="true"/> </states> </states> <states name="ALARM" description="Data exporter is in ALARM state (not ready to propagate data)"> <states name="ALARM" description="Data exporter is in ALARM state (runtime error)"> <status abstract="false" inherited="false" concrete="true" concreteHere="true"/> <status abstract="false" inherited="false" concrete="true" concreteHere="true"/> </states> </states> <preferences docHome="./doc_html" makefileHome="/usr/local/tango-8.1.2/share/pogo/preferences"/> <preferences docHome="./doc_html" makefileHome="/usr/local/tango-8.1.2/share/pogo/preferences"/> Loading src/DataExporterStateMachine.cpp +2 −2 Original line number Original line Diff line number Diff line Loading @@ -43,8 +43,8 @@ //================================================================ //================================================================ // ON | Data exporter is in ON state (ready to incoming connections) // ON | Data exporter is in ON state (ready to incoming connections) // OFF | Data exporter is in OFF state (not ready for incoming connections) // OFF | Data exporter is in OFF state (not ready for incoming connections) // FAULT | Data exporter is in FAULT state (not ready to propagate data) // FAULT | Data exporter is in FAULT state (configuration error) // ALARM | Data exporter is in ALARM state (not ready to propagate data) // ALARM | Data exporter is in ALARM state (runtime error) namespace DataExporter_ns namespace DataExporter_ns Loading src/Server.cpp +6 −4 Original line number Original line Diff line number Diff line Loading @@ -30,7 +30,7 @@ Server::Server(Tango::DeviceImpl* deviceImpl_p, Configuration::SP configuration_ } } //============================================================================== //============================================================================== // Server::Server() // Server::~Server() //============================================================================== //============================================================================== Server::~Server() Server::~Server() { { Loading @@ -45,11 +45,13 @@ Server::~Server() if(m_threadGroup_sp) if(m_threadGroup_sp) { { m_threadGroup_sp->interrupt_all(); //m_threadGroup_sp->interrupt_all(); m_threadGroup_sp->join_all(); m_threadGroup_sp->join_all(); } } DEBUG_STREAM << "Server::~Server() END" << endl; google::protobuf::ShutdownProtobufLibrary(); google::protobuf::ShutdownProtobufLibrary(); } } Loading Loading @@ -119,7 +121,7 @@ void Server::stop() throw(std::runtime_error) if(m_threadGroup_sp) if(m_threadGroup_sp) { { m_threadGroup_sp->interrupt_all(); //m_threadGroup_sp->interrupt_all(); m_threadGroup_sp->join_all(); m_threadGroup_sp->join_all(); } } Loading Loading
src/DataExporter.cpp +1 −1 Original line number Original line Diff line number Diff line Loading @@ -481,7 +481,7 @@ void DataExporter::get_device_property() //-------------------------------------------------------- //-------------------------------------------------------- void DataExporter::always_executed_hook() void DataExporter::always_executed_hook() { { INFO_STREAM << "DataExporter::always_executed_hook() " << device_name << endl; DEBUG_STREAM << "DataExporter::always_executed_hook() " << device_name << endl; /*----- PROTECTED REGION ID(DataExporter::always_executed_hook) ENABLED START -----*/ /*----- PROTECTED REGION ID(DataExporter::always_executed_hook) ENABLED START -----*/ if(get_state() != Tango::FAULT) if(get_state() != Tango::FAULT) Loading
src/DataExporter.xmi +2 −2 Original line number Original line Diff line number Diff line Loading @@ -136,10 +136,10 @@ <states name="OFF" description="Data exporter is in OFF state (not ready for incoming connections)"> <states name="OFF" description="Data exporter is in OFF state (not ready for incoming connections)"> <status abstract="false" inherited="false" concrete="true" concreteHere="true"/> <status abstract="false" inherited="false" concrete="true" concreteHere="true"/> </states> </states> <states name="FAULT" description="Data exporter is in FAULT state (not ready to propagate data)"> <states name="FAULT" description="Data exporter is in FAULT state (configuration error)"> <status abstract="false" inherited="false" concrete="true" concreteHere="true"/> <status abstract="false" inherited="false" concrete="true" concreteHere="true"/> </states> </states> <states name="ALARM" description="Data exporter is in ALARM state (not ready to propagate data)"> <states name="ALARM" description="Data exporter is in ALARM state (runtime error)"> <status abstract="false" inherited="false" concrete="true" concreteHere="true"/> <status abstract="false" inherited="false" concrete="true" concreteHere="true"/> </states> </states> <preferences docHome="./doc_html" makefileHome="/usr/local/tango-8.1.2/share/pogo/preferences"/> <preferences docHome="./doc_html" makefileHome="/usr/local/tango-8.1.2/share/pogo/preferences"/> Loading
src/DataExporterStateMachine.cpp +2 −2 Original line number Original line Diff line number Diff line Loading @@ -43,8 +43,8 @@ //================================================================ //================================================================ // ON | Data exporter is in ON state (ready to incoming connections) // ON | Data exporter is in ON state (ready to incoming connections) // OFF | Data exporter is in OFF state (not ready for incoming connections) // OFF | Data exporter is in OFF state (not ready for incoming connections) // FAULT | Data exporter is in FAULT state (not ready to propagate data) // FAULT | Data exporter is in FAULT state (configuration error) // ALARM | Data exporter is in ALARM state (not ready to propagate data) // ALARM | Data exporter is in ALARM state (runtime error) namespace DataExporter_ns namespace DataExporter_ns Loading
src/Server.cpp +6 −4 Original line number Original line Diff line number Diff line Loading @@ -30,7 +30,7 @@ Server::Server(Tango::DeviceImpl* deviceImpl_p, Configuration::SP configuration_ } } //============================================================================== //============================================================================== // Server::Server() // Server::~Server() //============================================================================== //============================================================================== Server::~Server() Server::~Server() { { Loading @@ -45,11 +45,13 @@ Server::~Server() if(m_threadGroup_sp) if(m_threadGroup_sp) { { m_threadGroup_sp->interrupt_all(); //m_threadGroup_sp->interrupt_all(); m_threadGroup_sp->join_all(); m_threadGroup_sp->join_all(); } } DEBUG_STREAM << "Server::~Server() END" << endl; google::protobuf::ShutdownProtobufLibrary(); google::protobuf::ShutdownProtobufLibrary(); } } Loading Loading @@ -119,7 +121,7 @@ void Server::stop() throw(std::runtime_error) if(m_threadGroup_sp) if(m_threadGroup_sp) { { m_threadGroup_sp->interrupt_all(); //m_threadGroup_sp->interrupt_all(); m_threadGroup_sp->join_all(); m_threadGroup_sp->join_all(); } } Loading