Index: /trunk/FACT++/src/DimDescriptionService.h
===================================================================
--- /trunk/FACT++/src/DimDescriptionService.h	(revision 11134)
+++ /trunk/FACT++/src/DimDescriptionService.h	(revision 11135)
@@ -3,4 +3,5 @@
 
 #include <string>
+#include <vector>
 
 class DimService;
@@ -22,5 +23,5 @@
 
 #include "dis.hxx"
-
+#include <iostream>
 class DimDescribedService : public DimDescriptionService, public DimService
 {
@@ -43,4 +44,23 @@
         // FIXME: compare number of ; with number of |
     }
+
+    template<class T>
+    void Update(const T &data)
+    {
+        //cout << "Update: " << svc.getName() << " (" << sizeof(T) << ")" << endl;
+        setData(const_cast<T*>(&data), sizeof(T));
+        updateService();
+    }
+
+    template<typename T>
+    void Update(const std::vector<T> &data)
+    {
+        std::cout << "Update: " << getName() << " " << data.size() << " " << sizeof(T) << std::endl;
+        setData(const_cast<T*>(data.data()), data.size()*sizeof(T));
+        updateService();
+    }
+
+    // FIXME: Implement callback with boost::function instead of Pointer to this
+
 };
 
