#include <bcap_service.h>
Public Member Functions | |
BCAPService () | |
HRESULT | Connect () |
HRESULT | Disconnect () |
HRESULT | ExecFunction (int32_t func_id, VARIANT_Vec &vntArgs, VARIANT_Ptr &vntRet) |
unsigned int | get_Retry () const |
uint32_t | get_Timeout () const |
const std::string & | get_Type () const |
void | parseParams () |
void | put_Retry (unsigned int value) |
void | put_Timeout (uint32_t value) |
void | put_Type (const std::string &type) |
HRESULT | StartService (ros::NodeHandle &node) |
HRESULT | StopService () |
virtual | ~BCAPService () |
Private Member Functions | |
bool | CallFunction (bcap::Request &req, bcap::Response &res) |
Private Attributes | |
std::string | m_addr |
int | m_fd |
int | m_invoke |
int | m_port |
int | m_retry |
ros::ServiceServer | m_svr |
int | m_timeout |
std::string | m_type |
KeyHandle_Vec | m_vecKH |
int | m_wait |
int | m_wdt |
Definition at line 51 of file bcap_service.h.
Definition at line 60 of file bcap_service.cpp.
bcap_service::BCAPService::~BCAPService | ( | ) | [virtual] |
Definition at line 68 of file bcap_service.cpp.
bool bcap_service::BCAPService::CallFunction | ( | bcap::Request & | req, |
bcap::Response & | res | ||
) | [private] |
Definition at line 238 of file bcap_service.cpp.
HRESULT bcap_service::BCAPService::Connect | ( | ) |
Definition at line 119 of file bcap_service.cpp.
HRESULT bcap_service::BCAPService::Disconnect | ( | ) |
Definition at line 139 of file bcap_service.cpp.
HRESULT bcap_service::BCAPService::ExecFunction | ( | int32_t | func_id, |
VARIANT_Vec & | vntArgs, | ||
VARIANT_Ptr & | vntRet | ||
) |
Definition at line 279 of file bcap_service.cpp.
unsigned int bcap_service::BCAPService::get_Retry | ( | ) | const |
Definition at line 222 of file bcap_service.cpp.
Definition at line 206 of file bcap_service.cpp.
const std::string & bcap_service::BCAPService::get_Type | ( | ) | const |
Definition at line 194 of file bcap_service.cpp.
Definition at line 74 of file bcap_service.cpp.
void bcap_service::BCAPService::put_Retry | ( | unsigned int | value | ) |
Definition at line 231 of file bcap_service.cpp.
void bcap_service::BCAPService::put_Timeout | ( | uint32_t | value | ) |
Definition at line 215 of file bcap_service.cpp.
void bcap_service::BCAPService::put_Type | ( | const std::string & | type | ) |
Definition at line 199 of file bcap_service.cpp.
HRESULT bcap_service::BCAPService::StartService | ( | ros::NodeHandle & | node | ) |
Definition at line 182 of file bcap_service.cpp.
HRESULT bcap_service::BCAPService::StopService | ( | ) |
Definition at line 188 of file bcap_service.cpp.
std::string bcap_service::BCAPService::m_addr [private] |
Definition at line 84 of file bcap_service.h.
int bcap_service::BCAPService::m_fd [private] |
Definition at line 88 of file bcap_service.h.
int bcap_service::BCAPService::m_invoke [private] |
Definition at line 91 of file bcap_service.h.
int bcap_service::BCAPService::m_port [private] |
Definition at line 85 of file bcap_service.h.
int bcap_service::BCAPService::m_retry [private] |
Definition at line 85 of file bcap_service.h.
Definition at line 97 of file bcap_service.h.
int bcap_service::BCAPService::m_timeout [private] |
Definition at line 85 of file bcap_service.h.
std::string bcap_service::BCAPService::m_type [private] |
Definition at line 84 of file bcap_service.h.
Definition at line 94 of file bcap_service.h.
int bcap_service::BCAPService::m_wait [private] |
Definition at line 85 of file bcap_service.h.
int bcap_service::BCAPService::m_wdt [private] |
Definition at line 91 of file bcap_service.h.