#include <map>
#include <vector>
#include <string>
#include <pthread.h>
#include <OPENR/OPENR.h>
#include <OPENR/ODataFormats.h>
#include <SystemTime.h>
#include <OPENR/OTime.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_key_t | perThreadKey |
bool | __in_shutdown |
bool | __DoInitCompleted |
bool | __DoStopCompleted |
|
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(). |
|
true if all objects have already run its DoInit() method Definition at line 85 of file loader/main.cc. Referenced by cleanup(), main(), VirtualRobotComm(), VirtualRobotComm_image(), and VirtualRobotComm_sensor(). |
|
true if all objects have already run its DoStop() method Definition at line 88 of file loader/main.cc. Referenced by cleanup(). |
|
whether we in are in shutdown proccess. if true, modules start the shutdown procedures automatically Definition at line 82 of file loader/main.cc. Referenced by cleanup(). |
|
thread specific data Definition at line 79 of file loader/main.cc. Referenced by main(), module_executor(), VirtualRobotComm(), VirtualRobotComm_image(), and VirtualRobotComm_sensor(). |