#include <opensdkAPI.h>
#include <OVirtualRobotComm.h>
#include <main.h>
#include <Platform.h>
#include <pthread.h>
#include <ctype.h>
#include <glob.h>
#include <sys/time.h>
Go to the source code of this file.
Functions | |
OStatus | RegisterServiceEntry (const OServiceEntry &entry, const char *name) |
OStatus | _sendMessage (OServiceEntry entry, void *msg) |
OStatus | GetJointValue (OPrimitiveID id, OJointValue *value) |
OStatus | GetSensorValue (OPrimitiveID id, OSensorValue *value) |
char * | resolve_case_insensitive_path (const char *path) |
sbyte | GetTimeDifference (void) |
OStatus | SetTimeDifference (sbyte timeDifference) |
OStatus | SetTime (const OTime &time) |
SystemTime | getSystemTime (void) |
Variables | |
pthread_mutex_t | mutex = PTHREAD_MUTEX_INITIALIZER |
time_t | diffToSystem = 0 |
sbyte | myTimeDif = 0 |
|
send a message to a service entry Definition at line 51 of file opensdkAPI.cc. References perThreadStruct::queue, perThreadStruct::queue_mutex, perThreadStruct::sem, and ThreadsList. Referenced by dnsGetHostByNameThreadFunc(), sendConnectMessages(), tcpCloseThreadFunc(), tcpConnectThreadFunc(), tcpListenThreadFunc(), tcpReceiveThreadFunc(), tcpSendThreadFunc(), udpCloseThreadFunc(), udpReceiveThreadFunc(), and udpSendThreadFunc(). |
|
|
Definition at line 75 of file opensdkAPI.cc. References VirtualRobotComm_get_sensor_reading(). Referenced by ImageObserver::Notify(). |
|
Definition at line 154 of file opensdkAPI.cc. References diffToSystem, and TIME_DIFF_SYSTEM. Referenced by ConvertToRelativeTime(), ConvertToSystemTime(), and SetTime(). |
|
Definition at line 125 of file opensdkAPI.cc. References sbyte. Referenced by NTP::ReceiveCont(). |
|
register a service (associate a name with an entry) Definition at line 34 of file opensdkAPI.cc. References _objectsEntryList, MOD_DATA, and mutex. Referenced by VirtualRobotComm(), VirtualRobotComm_image(), and VirtualRobotComm_sensor(). |
|
resolve a case insensitive path. returns a dinamically allocated string, which you are responsible to free() Definition at line 84 of file opensdkAPI.cc. Referenced by __wrap_fopen(), __wrap_open(), load_module(), parse_connect_cfg(), and parse_object_cfg(). |
|
Definition at line 142 of file opensdkAPI.cc. References diffToSystem, getSystemTime(), and SetTimeDifference(). Referenced by NTP::ReceiveCont(). |
|
Definition at line 131 of file opensdkAPI.cc. References myTimeDif. Referenced by SetTime(). |
|
Definition at line 121 of file opensdkAPI.cc. Referenced by getSystemTime(), and SetTime(). |
|
Definition at line 31 of file opensdkAPI.cc. Referenced by RegisterServiceEntry(). |
|
Definition at line 122 of file opensdkAPI.cc. Referenced by SetTimeDifference(). |