maliput
MockJunction Class Referencefinal

#include <include/maliput/test_utilities/mock.h>

Inheritance diagram for MockJunction:
[legend]

Public Member Functions

 MockJunction (const JunctionId &id)
 
void set_road_geometry (RoadGeometry *road_geometry)
 
void set_segment (std::unique_ptr< MockSegment > segment)
 
- Public Member Functions inherited from Junction
virtual ~Junction ()=default
 
JunctionId id () const
 Returns the persistent identifier. More...
 
const RoadGeometryroad_geometry () const
 Returns the RoadGeometry to which this Junction belongs. More...
 
int num_segments () const
 Returns the number of Segments in the Junction. More...
 
const Segmentsegment (int index) const
 Returns the Segment indexed by index. More...
 

Additional Inherited Members

- Protected Member Functions inherited from Junction
 Junction ()=default
 

Constructor & Destructor Documentation

◆ MockJunction()

MockJunction ( const JunctionId id)

Member Function Documentation

◆ set_road_geometry()

void set_road_geometry ( RoadGeometry road_geometry)

◆ set_segment()

void set_segment ( std::unique_ptr< MockSegment segment)

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