#include <denso_task.h>
Public Member Functions | |
HRESULT | AddVariable (const std::string &name) |
DensoTask (DensoBase *parent, Service_Vec &service, Handle_Vec &handle, const std::string &name, const int *mode) | |
HRESULT | get_Variable (const std::string &name, DensoVariable_Ptr *var) |
HRESULT | InitializeBCAP (XMLElement *xmlElem) |
HRESULT | StartService (ros::NodeHandle &node) |
HRESULT | StopService () |
bool | Update () |
virtual | ~DensoTask () |
Public Member Functions inherited from denso_robot_core::DensoBase | |
DensoBase (const std::string &name, const int *mode) | |
DensoBase (DensoBase *parent, Service_Vec &service, Handle_Vec &handle, const std::string &name, const int *mode) | |
virtual HRESULT | InitializeBCAP () |
const std::string & | Name () const |
std::string | RosName () const |
virtual HRESULT | TerminateBCAP () |
virtual | ~DensoBase () |
Private Member Functions | |
HRESULT | AddVariable (XMLElement *xmlElem) |
Private Attributes | |
DensoVariable_Vec | m_vecVar |
Additional Inherited Members | |
Public Types inherited from denso_robot_core::DensoBase | |
enum | { SRV_MIN = 0, SRV_ACT = SRV_MIN, SRV_WATCH, SRV_MAX = SRV_WATCH } |
Static Public Member Functions inherited from denso_robot_core::DensoBase | |
static std::string | ConvertBSTRToString (const BSTR bstr) |
static BSTR | ConvertStringToBSTR (const std::string &str) |
Protected Member Functions inherited from denso_robot_core::DensoBase | |
HRESULT | AddObject (int32_t get_id, const std::string &name, Handle_Vec &vecHandle) |
HRESULT | AddVariable (int32_t get_id, const std::string &name, std::vector< boost::shared_ptr< class DensoVariable > > &vecVar, int16_t vt=VT_EMPTY, bool bRead=false, bool bWrite=false, bool bID=false, int iDuration=BCAP_VAR_DEFAULT_DURATION) |
HRESULT | AddVariable (int32_t get_id, const XMLElement *xmlVar, std::vector< boost::shared_ptr< class DensoVariable > > &vecVar) |
HRESULT | get_Object (const std::vector< boost::shared_ptr< DensoBase > > &vecBase, int index, boost::shared_ptr< DensoBase > *obj) |
HRESULT | get_Object (const std::vector< boost::shared_ptr< DensoBase > > &vecBase, const std::string &name, boost::shared_ptr< DensoBase > *obj) |
HRESULT | GetObjectNames (int32_t func_id, Name_Vec &vecName) |
Protected Attributes inherited from denso_robot_core::DensoBase | |
const int * | m_mode |
boost::mutex | m_mtxSrv |
std::string | m_name |
DensoBase * | m_parent |
bool | m_serving |
Handle_Vec | m_vecHandle |
Service_Vec | m_vecService |
Definition at line 35 of file denso_task.h.
denso_robot_core::DensoTask::DensoTask | ( | DensoBase * | parent, |
Service_Vec & | service, | ||
Handle_Vec & | handle, | ||
const std::string & | name, | ||
const int * | mode | ||
) |
Definition at line 29 of file denso_task.cpp.
|
virtual |
Definition at line 37 of file denso_task.cpp.
HRESULT denso_robot_core::DensoTask::AddVariable | ( | const std::string & | name | ) |
Definition at line 113 of file denso_task.cpp.
|
private |
Definition at line 119 of file denso_task.cpp.
HRESULT denso_robot_core::DensoTask::get_Variable | ( | const std::string & | name, |
DensoVariable_Ptr * | var | ||
) |
Definition at line 95 of file denso_task.cpp.
HRESULT denso_robot_core::DensoTask::InitializeBCAP | ( | XMLElement * | xmlElem | ) |
Definition at line 42 of file denso_task.cpp.
|
virtual |
Implements denso_robot_core::DensoBase.
Definition at line 47 of file denso_task.cpp.
|
virtual |
Reimplemented from denso_robot_core::DensoBase.
Definition at line 62 of file denso_task.cpp.
|
virtual |
Reimplemented from denso_robot_core::DensoBase.
Definition at line 79 of file denso_task.cpp.
|
private |
Definition at line 59 of file denso_task.h.