Urbi SDK Remote for C++  2.7.5
compatibility.hh
Go to the documentation of this file.
00001 /*
00002  * Copyright (C) 2009-2010, Gostai S.A.S.
00003  *
00004  * This software is provided "as is" without warranty of any kind,
00005  * either expressed or implied, including but not limited to the
00006  * implied warranties of fitness for a particular purpose.
00007  *
00008  * See the LICENSE file for more information.
00009  */
00010 
00011 #ifndef LIBUOBJECT_COMPATIBILITY_HH
00012 # define LIBUOBJECT_COMPATIBILITY_HH
00013 
00014 #include <boost/preprocessor/stringize.hpp>
00015 
00016 #include <urbi/kernel-version.hh>
00017 
00018 namespace urbi
00019 {
00020   namespace compatibility
00021   {
00055     std::string evaluate_in_channel_open(const std::string& name,
00056                                          unsigned major);
00057     std::string evaluate_in_channel_close(const std::string& name,
00058                                           unsigned major);
00059 
00061     std::string emit(const std::string& event, unsigned major
00062                      = kernelMajor());
00063 
00065     std::string isvoid(const std::string& exp, unsigned major
00066                        = kernelMajor());
00067 
00069     std::string stop(const std::string& tag, unsigned major
00070                      = kernelMajor());
00071   }
00072 }
00073 
00074 # include "compatibility.hxx"
00075 
00076 #endif // LIBUOBJECT_COMPATIBILITY_HH