Urbi SDK Remote for C++  2.7.5
input-port.hh
Go to the documentation of this file.
00001 /*
00002  * Copyright (C) 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 URBI_INPUT_PORT_HH
00012 # define URBI_INPUT_PORT_HH
00013 
00014 # include <urbi/uvar.hh>
00015 
00016 namespace urbi
00017 {
00022   class URBI_SDK_API InputPort: private UVar
00023   {
00024   public:
00025     InputPort();
00026     InputPort(const std::string& objname, const std::string& name,
00027               impl::UContextImpl* = 0);
00028     InputPort(UObject* owner, const std::string& name, impl::UContextImpl* = 0);
00029     InputPort(const InputPort& b);
00030     InputPort& operator=(const InputPort& b);
00031     void init(UObject* owner, const std::string& name, impl::UContextImpl* = 0);
00032     void init(const std::string& obj, const std::string& name,
00033               impl::UContextImpl* = 0);
00035     void unnotify();
00036   private:
00037     friend class UObject;
00038   };
00039 }
00040 #include <urbi/input-port.hxx>
00041 #endif