Drake
drake::pydrake::pysystems Namespace Reference

Typedefs

using CommonScalarPack = type_pack< double, AutoDiffXd, symbolic::Expression >
 Type pack defining common scalar types. More...
 
using NonSymbolicScalarPack = type_pack< double, AutoDiffXd >
 Type pack for non-symbolic common scalar types. More...
 

Functions

template<typename PyClass >
void DefClone (PyClass *ppy_class)
 Binds Clone and Pythonic __copy__ and __deepcopy__ for a class. More...
 
template<typename T , typename Class = systems::Value<T>>
py::object AddValueInstantiation (py::module scope)
 Defines an instantiation of pydrake.systems.framework.Value[...]. More...
 

Typedef Documentation

Type pack defining common scalar types.

Type pack for non-symbolic common scalar types.

Function Documentation

py::object drake::pydrake::pysystems::AddValueInstantiation ( py::module  scope)

Defines an instantiation of pydrake.systems.framework.Value[...].

This is only meant to bind Value<T> (or specializations thereof). T must have already been exposed to pybind11.

Parameters
scopeParent scope.
Template Parameters
TInner parameter of Value<T>.
ClassClass to be bound. By default, Value<T> is used.
Returns
Reference to the registered Python type.

Here is the call graph for this function:

void drake::pydrake::pysystems::DefClone ( PyClass *  ppy_class)

Binds Clone and Pythonic __copy__ and __deepcopy__ for a class.

Here is the caller graph for this function: