[pytango] 64/483: added push_att_conf_event

Sandor Bodo-Merle sbodomerle-guest at moszumanska.debian.org
Thu Sep 28 19:14:25 UTC 2017


This is an automated email from the git hooks/post-receive script.

sbodomerle-guest pushed a commit to annotated tag bliss_8.10
in repository pytango.

commit cf2da41e462ed8cec215a7104b02d5348aa75a04
Author: tiagocoutinho <tiagocoutinho at 4e9c00fd-8f2e-0410-aa12-93ce3db5e235>
Date:   Wed Nov 23 12:23:21 2011 +0000

    added push_att_conf_event
    
    git-svn-id: http://svn.code.sf.net/p/tango-cs/code/bindings/PyTango/trunk@18450 4e9c00fd-8f2e-0410-aa12-93ce3db5e235
---
 PyTango/device_server.py   | 15 ++++++++++++++-
 src/server/device_impl.cpp |  2 ++
 2 files changed, 16 insertions(+), 1 deletion(-)

diff --git a/PyTango/device_server.py b/PyTango/device_server.py
index a456672..ca44355 100644
--- a/PyTango/device_server.py
+++ b/PyTango/device_server.py
@@ -1135,6 +1135,18 @@ def __doc_DeviceImpl():
         New in PyTango 7.2.0
     """ )
 
+    document_method("push_att_conf_event", """
+    push_att_conf_event(self, attr) -> None
+
+            Push an attribute configuration event.
+
+        Parameters : (Attribute) the attribute for which the configuration event
+                     will be sent.
+        Return     : None
+        
+        New in PyTango 7.2.1
+    """ )
+    
 def __doc_extra_DeviceImpl(cls):
     def document_method(method_name, desc, append=True):
         return __document_method(cls, method_name, desc, append)
@@ -1199,7 +1211,7 @@ def __doc_extra_DeviceImpl(cls):
 
         Throws     : DevFailed This method does not throw exception but a redefined method can.
     """ )
-
+    
     copy_doc(cls, "dev_state")
     copy_doc(cls, "dev_status")
 
@@ -1654,6 +1666,7 @@ def __doc_Attribute():
         New in PyTango 7.1.0
     """ )
 
+
 def __doc_WAttribute():
     def document_method(method_name, desc, append=True):
         return __document_method(WAttribute, method_name, desc, append)
diff --git a/src/server/device_impl.cpp b/src/server/device_impl.cpp
index 2c4afc8..89a9b34 100644
--- a/src/server/device_impl.cpp
+++ b/src/server/device_impl.cpp
@@ -1252,6 +1252,8 @@ void export_device_impl()
         .def("push_data_ready_event", &Tango::DeviceImpl::push_data_ready_event,
             push_data_ready_event_overload())
 
+        .def("push_att_conf_event", &Tango::DeviceImpl::push_att_conf_event)
+
         .def("get_logger", &Tango::DeviceImpl::get_logger, return_internal_reference<>())
         .def("__debug_stream", &PyDeviceImpl::debug)
         .def("__info_stream", &PyDeviceImpl::info)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pytango.git



More information about the debian-science-commits mailing list