Urbi SDK Remote for C++  2.7.5
uexternal.hh
Go to the documentation of this file.
00001 /*
00002  * Copyright (C) 2009-2011, 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_UEXTERNAL_HH
00012 # define URBI_UEXTERNAL_HH
00013 
00014 namespace urbi
00015 {
00016 
00017   // Warning, the values are replicated in uobject.u, keep in sync.
00018   enum USystemExternalMessage
00019   {
00020     UEM_EVALFUNCTION, // K->R
00021     UEM_ASSIGNVALUE,  // K<->R
00022     UEM_EMITEVENT,    // K<->R
00023     UEM_ENDEVENT,     // K->R
00024     UEM_NEW,          // K->R
00025     UEM_DELETE,       // K->R
00026     UEM_INIT,   // Internal, force loading of all uobjects
00027     UEM_TIMER,  // Internal timer messages
00028     UEM_NORTP,  // K->R Disable RTP for this connection
00029     UEM_SETRTP, // K->R [varname, state(0:off 1:on)]: Set rtp state.
00030     UEM_REPLY,  // R->K  Function call return value from a remote
00031     UEM_EVAL,   // R->K  Request to evaluate the string argument
00032     UEM_SETLOCAL, // K->R(varname, enable) mark all uvars varname as local
00033   };
00034 
00035   static const std::string externalModuleTag = "__ExternalMessage__";
00036 
00037 } // namespace urbi
00038 
00039 #endif