Public Member Functions | Protected Attributes | List of all members
SensorPortHandler< T, S > Class Template Reference

#include <PortHandler.h>

Inheritance diagram for SensorPortHandler< T, S >:
Inheritance graph
[legend]

Public Member Functions

 SensorPortHandler (RTC::DataFlowComponentBase *i_rtc, const char *i_portName, T *i_sensor)
 
- Public Member Functions inherited from OutPortHandler< S >
virtual void inputDataFromSimulator (Controller_impl *controller)=0
 
 OutPortHandler (PortInfo &info)
 
 OutPortHandler (RTC::DataFlowComponentBase *i_rtc, const char *i_portName)
 
void setTime (S &value, double _time)
 
void write (double time)
 
virtual void writeDataToPort ()=0
 
- Public Member Functions inherited from OutPortHandlerBase
virtual void update (double time)=0
 
- Public Member Functions inherited from PortHandler
 PortHandler (PortInfo &info)
 
virtual ~PortHandler ()
 

Protected Attributes

T * m_sensor
 
- Protected Attributes inherited from OutPortHandler< S >
m_data
 
RTC::OutPort< S > m_port
 

Additional Inherited Members

- Public Attributes inherited from OutPortHandler< S >
double stepTime
 
- Public Attributes inherited from PortHandler
std::string portName
 
Port_Service_Var_Type portRef
 

Detailed Description

template<class T, class S>
class SensorPortHandler< T, S >

Definition at line 255 of file PortHandler.h.

Constructor & Destructor Documentation

◆ SensorPortHandler()

template<class T, class S>
SensorPortHandler< T, S >::SensorPortHandler ( RTC::DataFlowComponentBase i_rtc,
const char *  i_portName,
T *  i_sensor 
)
inline

Definition at line 258 of file PortHandler.h.

Member Data Documentation

◆ m_sensor

template<class T, class S>
T* SensorPortHandler< T, S >::m_sensor
protected

Definition at line 264 of file PortHandler.h.


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


hrpsys
Author(s): AIST, Fumio Kanehiro
autogenerated on Sat Dec 17 2022 03:52:22