Drake
Drake C++ Documentation
Loading...
Searching...
No Matches
AddMultibodyPlantSceneGraphResult< T > Struct Template Reference

Detailed Description

template<typename T>
struct drake::multibody::AddMultibodyPlantSceneGraphResult< T >

Temporary result from AddMultibodyPlantSceneGraph.

This cannot be constructed outside of this method.

Warning
Do NOT use this as a function argument or member variable. The lifetime of this object should be as short as possible.
Template Parameters
TThe scalar type, which must be one of the default scalars.

#include <drake/multibody/plant/multibody_plant.h>

Public Member Functions

 operator MultibodyPlant< T > & ()
 For assignment to a plant reference (ignoring the scene graph).
 operator std::tuple< MultibodyPlant< T > *&, geometry::SceneGraph< T > *& > ()
 For assignment to a std::tie of pointers.

Public Attributes

MultibodyPlant< T > & plant
geometry::SceneGraph< T > & scene_graph

Friends

AddMultibodyPlantSceneGraphResult internal::AddMultibodyPlantSceneGraphFromShared (systems::DiagramBuilder< T > *, std::shared_ptr< MultibodyPlant< T > >, std::shared_ptr< geometry::SceneGraph< T > >)

Member Function Documentation

◆ operator MultibodyPlant< T > &()

template<typename T>
operator MultibodyPlant< T > & ( )

For assignment to a plant reference (ignoring the scene graph).

◆ operator std::tuple< MultibodyPlant< T > *&, geometry::SceneGraph< T > *& >()

template<typename T>
operator std::tuple< MultibodyPlant< T > *&, geometry::SceneGraph< T > *& > ( )

For assignment to a std::tie of pointers.

◆ internal::AddMultibodyPlantSceneGraphFromShared

template<typename T>
AddMultibodyPlantSceneGraphResult internal::AddMultibodyPlantSceneGraphFromShared ( systems::DiagramBuilder< T > * ,
std::shared_ptr< MultibodyPlant< T > > ,
std::shared_ptr< geometry::SceneGraph< T > >  )
friend

Member Data Documentation

◆ plant

template<typename T>
MultibodyPlant<T>& plant

◆ scene_graph

template<typename T>
geometry::SceneGraph<T>& scene_graph

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