usystem.cc

Go to the documentation of this file.
00001 
00021 #include "urbi/uobject.hh" // echo
00022 #include "urbi/usystem.hh"
00023 
00024 namespace urbi
00025 {
00026 
00028   USystemMessage::USystemMessage()
00029   {
00030   }
00031 
00033   USystemMessage::~USystemMessage()
00034   {
00035   }
00036 
00037   // **************************************************************************
00038   // UStringSystemMessage
00039 
00041   UStringSystemMessage::UStringSystemMessage (const std::string& s)
00042     : msg (s)
00043   {
00044   }
00045 
00047   UStringSystemMessage::~UStringSystemMessage()
00048   {
00049   }
00050 
00051   const std::string&
00052   UStringSystemMessage::getMessage () const
00053   {
00054     return msg;
00055   };
00056 
00057   // **************************************************************************
00058   // USystem
00059 
00061   USystem::USystem()
00062   {
00063     echo("Warning: USystem is not available for components in remote mode.\n");
00064   }
00065 
00067   USystem::~USystem()
00068   {
00069   }
00070 
00071   void
00072   USystem::register_channel (const USystemChannel&)
00073   {
00074     // nothing to do in remote mode.
00075   }
00076 
00077   int
00078   USystem::receive_message (const USystemChannel&,
00079                             const USystemMessage&)
00080   {
00081     // user defined.
00082     return 0;
00083   }
00084 
00085 } // namespace urbi

Generated on Tue Apr 10 17:45:45 2007 for URBISDK by  doxygen 1.5.1