Drake
Group Class Referenceabstract

A group of Connections. More...

#include <drake/automotive/maliput/multilane/connection.h>

Public Member Functions

 Group ()=default
 
virtual ~Group ()=default
 
virtual void Add (const Connection *connection)=0
 Adds a connection to the group. More...
 
virtual const std::string & id () const =0
 Returns the ID string. More...
 
virtual const std::vector< const Connection * > & connections () const =0
 Returns the grouped Connections. More...
 
Does not allow copy, move, or assignment
 Group (const Group &)=delete
 
Groupoperator= (const Group &)=delete
 
 Group (Group &&)=delete
 
Groupoperator= (Group &&)=delete
 

Detailed Description

A group of Connections.

Upon building the RoadGeometry, a Group yields a Junction containing the corresponding Segments specified by all the Connections in the Group.

Users should construct Groups via a Builder using one of the Builder::MakeGroup() methods.

Constructor & Destructor Documentation

◆ Group() [1/3]

Group ( const Group )
delete

◆ Group() [2/3]

Group ( Group &&  )
delete

◆ Group() [3/3]

Group ( )
default

◆ ~Group()

virtual ~Group ( )
virtualdefault

Member Function Documentation

◆ Add()

virtual void Add ( const Connection connection)
pure virtual

Adds a connection to the group.

◆ connections()

virtual const std::vector<const Connection*>& connections ( ) const
pure virtual

Returns the grouped Connections.

◆ id()

virtual const std::string& id ( ) const
pure virtual

Returns the ID string.

◆ operator=() [1/2]

Group& operator= ( const Group )
delete

◆ operator=() [2/2]

Group& operator= ( Group &&  )
delete

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