Index: /trunk/FACT++/src/Dim.h
===================================================================
--- /trunk/FACT++/src/Dim.h	(revision 13895)
+++ /trunk/FACT++/src/Dim.h	(revision 13896)
@@ -26,4 +26,8 @@
     {
         return DimClient::sendCommand(command.c_str(), NULL, 0);
+    }
+    inline void SendCommandNB(const std::string &command)
+    {
+        DimClient::sendCommandNB(command.c_str(), NULL, 0);
     }
 
@@ -66,4 +70,23 @@
         return DimClient::sendCommand(command.c_str(), const_cast<void*>(d), s);
     }
+
+    // -------------------------------------------------------------------------
+
+    template<typename T>
+        inline void SendCommandNB(const std::string &command, const T &t)
+    {
+        DimClient::sendCommandNB(command.c_str(), const_cast<T*>(&t), sizeof(t));
+    }
+
+    template<>
+        inline void SendCommandNB(const std::string &command, const std::string &t)
+    {
+        DimClient::sendCommandNB(command.c_str(), const_cast<char*>(t.c_str()), t.length()+1);
+    }
+
+    inline void SendCommandNB(const std::string &command, const void *d, size_t s)
+    {
+        DimClient::sendCommandNB(command.c_str(), const_cast<void*>(d), s);
+    }
 }
 
