iCub-main
|
#include <ethManager.h>
#include <IethResource.h>
#include <abstractEthResource.h>
#include <theNVmanager.h>
#include <yarp/os/Time.h>
#include <yarp/os/LogStream.h>
#include <ace/ACE.h>
#include <ace/config.h>
#include <ace/Recursive_Thread_Mutex.h>
#include "EOYtheSystem.h"
#include "EOYmutex.h"
#include "diagnosticLowLevelFormatter.h"
#include "FeatureInterface.h"
#include "FeatureInterface_hid.h"
Go to the source code of this file.
Functions | |
void | feat_Initialise (void *handleOfTheEthManager) |
void | feat_DeInitialise () |
const eOysystem_cfg_t * | feat_getSYSconfig () |
eObool_t | feat_manage_motioncontrol_data (eOipv4addr_t ipv4, eOprotID32_t id32, void *rxdata) |
eObool_t | feat_manage_motioncontrol_addinfo_multienc (eOipv4addr_t ipv4, eOprotID32_t id32, void *rxdata) |
eObool_t | feat_manage_skin_data (eOipv4addr_t ipv4, eOprotID32_t id32, void *arrayofcandata) |
eObool_t | feat_manage_analogsensors_data (eOipv4addr_t ipv4, eOprotID32_t id32, void *data) |
void * | feat_MC_handler_get (eOipv4addr_t ipv4, eOprotID32_t id32) |
double | feat_yarp_time_now (void) |
eObool_t | feat_signal_network_onsay (eOipv4addr_t ipv4, eOprotID32_t id32, uint32_t signature) |
eObool_t | feat_signal_network_onsig (eOipv4addr_t ipv4, eOprotID32_t id32, uint32_t signature) |
eObool_t | feat_CANprint (eOipv4addr_t ipv4, eOmn_info_basic_t *infobasic) |
const char * | feat_GetBoardName (eOipv4addr_t ipv4) |
void | feat_PrintTrace (char *string) |
void | feat_PrintDebug (char *string) |
void | feat_PrintInfo (char *string) |
void | feat_PrintWarning (char *string) |
void | feat_PrintError (char *string) |
void | feat_PrintFatal (char *string) |
void | feat_manage_diagnostic (eOmn_info_basic_t *infobasic, uint8_t *extra, const EOnv *nv, const eOropdescriptor_t *rd) |
void * | ace_mutex_new (void) |
int8_t | ace_mutex_take (void *m, uint32_t tout_usec) |
int8_t | ace_mutex_release (void *m) |
void | ace_mutex_delete (void *m) |
Variables | |
static eth::TheEthManager * | _interface2ethManager = NULL |
static const eOysystem_cfg_t | eosys_config_ace |
void ace_mutex_delete | ( | void * | m | ) |
Definition at line 397 of file FeatureInterface.cpp.
void * ace_mutex_new | ( | void | ) |
Definition at line 360 of file FeatureInterface.cpp.
int8_t ace_mutex_release | ( | void * | m | ) |
Definition at line 383 of file FeatureInterface.cpp.
int8_t ace_mutex_take | ( | void * | m, |
uint32_t | tout_usec | ||
) |
Definition at line 368 of file FeatureInterface.cpp.
eObool_t feat_CANprint | ( | eOipv4addr_t | ipv4, |
eOmn_info_basic_t * | infobasic | ||
) |
Definition at line 281 of file FeatureInterface.cpp.
void feat_DeInitialise | ( | ) |
Definition at line 100 of file FeatureInterface.cpp.
const char * feat_GetBoardName | ( | eOipv4addr_t | ipv4 | ) |
Definition at line 295 of file FeatureInterface.cpp.
const eOysystem_cfg_t * feat_getSYSconfig | ( | ) |
Definition at line 105 of file FeatureInterface.cpp.
void feat_Initialise | ( | void * | handleOfTheEthManager | ) |
Definition at line 91 of file FeatureInterface.cpp.
eObool_t feat_manage_analogsensors_data | ( | eOipv4addr_t | ipv4, |
eOprotID32_t | id32, | ||
void * | data | ||
) |
Definition at line 213 of file FeatureInterface.cpp.
void feat_manage_diagnostic | ( | eOmn_info_basic_t * | infobasic, |
uint8_t * | extra, | ||
const EOnv * | nv, | ||
const eOropdescriptor_t * | rd | ||
) |
Definition at line 344 of file FeatureInterface.cpp.
eObool_t feat_manage_motioncontrol_addinfo_multienc | ( | eOipv4addr_t | ipv4, |
eOprotID32_t | id32, | ||
void * | rxdata | ||
) |
commented out this section thus to use the addInfo.multienc[] vector for the rawValuesPublisher IethResource* multienc = NULL;
if(NULL == _interface2ethManager) { return eobool_false; }
multienc = _interface2ethManager->ethBoards->get_interface(ipv4, iethres_analogmultienc);
if(NULL == multienc) { char ipinfo[20]; char nvinfo[128]; eo_common_ipv4addr_to_string(ipv4, ipinfo, sizeof(ipinfo)); eoprot_ID2information(id32, nvinfo, sizeof(nvinfo)); yDebug("feat_manage_motioncontrol_addinfo_multienc() fails to get a handle of embObjMotionControl for IP = %s and NV = %s", ipinfo, nvinfo); return eobool_false; }
if(false == multienc->initialised()) { return eobool_false; } else { multienc->update(id32, yarp::os::Time::now(), rxdata); }
Definition at line 144 of file FeatureInterface.cpp.
eObool_t feat_manage_motioncontrol_data | ( | eOipv4addr_t | ipv4, |
eOprotID32_t | id32, | ||
void * | rxdata | ||
) |
Definition at line 110 of file FeatureInterface.cpp.
eObool_t feat_manage_skin_data | ( | eOipv4addr_t | ipv4, |
eOprotID32_t | id32, | ||
void * | arrayofcandata | ||
) |
Definition at line 179 of file FeatureInterface.cpp.
void * feat_MC_handler_get | ( | eOipv4addr_t | ipv4, |
eOprotID32_t | id32 | ||
) |
Definition at line 246 of file FeatureInterface.cpp.
void feat_PrintDebug | ( | char * | string | ) |
Definition at line 314 of file FeatureInterface.cpp.
void feat_PrintError | ( | char * | string | ) |
Definition at line 332 of file FeatureInterface.cpp.
void feat_PrintFatal | ( | char * | string | ) |
Definition at line 338 of file FeatureInterface.cpp.
void feat_PrintInfo | ( | char * | string | ) |
Definition at line 320 of file FeatureInterface.cpp.
void feat_PrintTrace | ( | char * | string | ) |
Definition at line 308 of file FeatureInterface.cpp.
void feat_PrintWarning | ( | char * | string | ) |
Definition at line 326 of file FeatureInterface.cpp.
eObool_t feat_signal_network_onsay | ( | eOipv4addr_t | ipv4, |
eOprotID32_t | id32, | ||
uint32_t | signature | ||
) |
Definition at line 266 of file FeatureInterface.cpp.
eObool_t feat_signal_network_onsig | ( | eOipv4addr_t | ipv4, |
eOprotID32_t | id32, | ||
uint32_t | signature | ||
) |
Definition at line 273 of file FeatureInterface.cpp.
double feat_yarp_time_now | ( | void | ) |
Definition at line 261 of file FeatureInterface.cpp.
|
static |
Definition at line 76 of file FeatureInterface.cpp.
|
static |
Definition at line 78 of file FeatureInterface.cpp.