Public Member Functions | Private Member Functions | Private Attributes | List of all members
denso_robot_core::DensoTask Class Reference

#include <denso_task.h>

Inheritance diagram for denso_robot_core::DensoTask:
Inheritance graph
[legend]

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
 
DensoBasem_parent
 
bool m_serving
 
Handle_Vec m_vecHandle
 
Service_Vec m_vecService
 

Detailed Description

Definition at line 35 of file denso_task.h.

Constructor & Destructor Documentation

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.

denso_robot_core::DensoTask::~DensoTask ( )
virtual

Definition at line 37 of file denso_task.cpp.

Member Function Documentation

HRESULT denso_robot_core::DensoTask::AddVariable ( const std::string &  name)

Definition at line 113 of file denso_task.cpp.

HRESULT denso_robot_core::DensoTask::AddVariable ( XMLElement xmlElem)
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.

HRESULT denso_robot_core::DensoTask::StartService ( ros::NodeHandle node)
virtual

Implements denso_robot_core::DensoBase.

Definition at line 47 of file denso_task.cpp.

HRESULT denso_robot_core::DensoTask::StopService ( )
virtual

Reimplemented from denso_robot_core::DensoBase.

Definition at line 62 of file denso_task.cpp.

bool denso_robot_core::DensoTask::Update ( )
virtual

Reimplemented from denso_robot_core::DensoBase.

Definition at line 79 of file denso_task.cpp.

Member Data Documentation

DensoVariable_Vec denso_robot_core::DensoTask::m_vecVar
private

Definition at line 59 of file denso_task.h.


The documentation for this class was generated from the following files:


denso_robot_core
Author(s): DENSO WAVE INCORPORATED
autogenerated on Mon Jun 10 2019 13:12:28