20 #ifndef _HYDRAULIC_SENSOR_H_
21 #define _HYDRAULIC_SENSOR_H_
23 #include "mbsimControl/sensor.h"
25 namespace MBSimHydraulics {
33 std::string getType()
const {
return "FlowSensor"; }
34 int getSignalSize()
const {
return 1; }
36 void initializeUsingXML(xercesc::DOMElement *element);
37 void init(InitStage stage);
38 void setHLine(
HLine * line_) {line=line_; }
41 std::string lineString;
47 std::string getType()
const {
return "PressureSensor"; }
48 int getSignalSize()
const {
return 1; }
50 void initializeUsingXML(xercesc::DOMElement *element);
51 void init(InitStage stage);
52 void setHNode(
HNode * node_) {node=node_; }
55 std::string nodeString;
61 std::string getType()
const {
return "TemperatureSensor"; }
62 int getSignalSize()
const {
return 1; }
63 void init(InitStage stage);
69 std::string getType()
const {
return "KinematicViscositySensor"; }
70 int getSignalSize()
const {
return 1; }
71 void init(InitStage stage);
Definition: hydraulic_sensor.h:58
Definition: hydraulic_sensor.h:66
Definition: hydraulic_sensor.h:30
Definition: hydraulic_sensor.h:44