opensdkAPI.h

Go to the documentation of this file.
00001 /*
00002  * This file is part of openSDK.
00003  *
00004  * Copyright (C) 2006-2007 openSDK team
00005  *
00006  * openSDK is free software; you can redistribute it and/or modify
00007  * it under the terms of the GNU General Public License as published by
00008  * the Free Software Foundation; version 2.
00009  *
00010  * openSDK is distributed in the hope that it will be useful,
00011  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
00013  * GNU General Public License for more details.
00014  *
00015  * You should have received a copy of the GNU General Public License
00016  * along with openSDK; if not, write to the Free Software
00017  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
00018  *
00019  *     $Id: opensdkAPI.h,v 1.6 2007/07/16 15:21:43 nuno-lopes Exp $
00020  */
00021 
00022 #ifndef __opensdkAPI_h__
00023 #define __opensdkAPI_h__
00024 
00025 #include <map>
00026 #include <vector>
00027 #include <string>
00028 #include <pthread.h>
00029 #include <OPENR/OPENR.h>
00030 #include <OPENR/ODataFormats.h>
00031 #include <SystemTime.h>
00032 #include <OPENR/OTime.h>
00033 
00034 extern pthread_key_t perThreadKey;
00035 extern bool __in_shutdown;
00036 extern bool __DoInitCompleted;
00037 extern bool __DoStopCompleted;
00038 
00039 
00040 OStatus RegisterServiceEntry(const OServiceEntry& entry, const char *name);
00041 OStatus _sendMessage(OServiceEntry entry, void *msg);
00042 OStatus GetJointValue(OPrimitiveID id, OJointValue* value);
00043 OStatus GetSensorValue(OPrimitiveID id, OSensorValue* value);
00044 char* resolve_case_insensitive_path(const char *path);
00045 sbyte GetTimeDifference(void);
00046 OStatus SetTimeDifference(sbyte timeDifference);
00047 OStatus SetTime(const OTime& time);
00048 SystemTime getSystemTime(void);
00049 
00050 #endif

Generated on Sun Dec 2 23:04:30 2007 for openSDK by  doxygen 1.3.9.1