g2o
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
Sensor Struct Reference
Inheritance diagram for Sensor:
Inheritance graph
[legend]
Collaboration diagram for Sensor:
Collaboration graph
[legend]

Public Member Functions

 Sensor (Robot *robot_)
 
Robotrobot ()
 
virtual bool isVisible (const WorldItem *) const
 
virtual bool sense (WorldItem *, const Isometry3d &)
 
virtual ~Sensor ()
 
 Sensor (Robot *robot_)
 
Robotrobot ()
 
virtual bool isVisible (const WorldItem *) const
 
virtual bool sense (WorldItem *, const Isometry3d &)
 
virtual ~Sensor ()
 

Protected Attributes

Robot_robot
 

Detailed Description

Definition at line 68 of file simulator_3d_line.cpp.

Constructor & Destructor Documentation

◆ Sensor() [1/2]

Sensor::Sensor ( Robot robot_)
inline

Definition at line 69 of file simulator_3d_line.cpp.

69: _robot(robot_) {}

◆ ~Sensor() [1/2]

virtual Sensor::~Sensor ( )
inlinevirtual

Definition at line 73 of file simulator_3d_line.cpp.

73{};

◆ Sensor() [2/2]

Sensor::Sensor ( Robot robot_)
inline

Definition at line 93 of file simulator_3d_plane.cpp.

93: _robot(robot_) {}

◆ ~Sensor() [2/2]

virtual Sensor::~Sensor ( )
inlinevirtual

Definition at line 97 of file simulator_3d_plane.cpp.

97{};

Member Function Documentation

◆ isVisible() [1/2]

virtual bool Sensor::isVisible ( const WorldItem ) const
inlinevirtual

Reimplemented in LineSensor, and PlaneSensor.

Definition at line 71 of file simulator_3d_line.cpp.

71{ return false; }

◆ isVisible() [2/2]

virtual bool Sensor::isVisible ( const WorldItem ) const
inlinevirtual

Reimplemented in LineSensor, and PlaneSensor.

Definition at line 95 of file simulator_3d_plane.cpp.

95{ return false; }

◆ robot() [1/2]

Robot * Sensor::robot ( )
inline

Definition at line 70 of file simulator_3d_line.cpp.

70{ return _robot; }

References _robot.

Referenced by LineSensor::LineSensor(), PlaneSensor::PlaneSensor(), LineSensor::sense(), and PlaneSensor::sense().

◆ robot() [2/2]

Robot * Sensor::robot ( )
inline

Definition at line 94 of file simulator_3d_plane.cpp.

94{ return _robot; }

References _robot.

◆ sense() [1/2]

virtual bool Sensor::sense ( WorldItem ,
const Isometry3d &   
)
inlinevirtual

Reimplemented in LineSensor, and PlaneSensor.

Definition at line 72 of file simulator_3d_line.cpp.

72{ return false; }

Referenced by Robot::sense().

◆ sense() [2/2]

virtual bool Sensor::sense ( WorldItem ,
const Isometry3d &   
)
inlinevirtual

Reimplemented in LineSensor, and PlaneSensor.

Definition at line 96 of file simulator_3d_plane.cpp.

96{ return false; }

Member Data Documentation

◆ _robot

Robot * Sensor::_robot
protected

Definition at line 76 of file simulator_3d_line.cpp.

Referenced by robot().


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