Drake
Drake C++ Documentation
drake::pydrake::pysystems::pylcm Namespace Reference

Functions

void BindCppSerializers ()
 
template<typename CppType >
py::object BindCppSerializer (const std::string &lcm_package)
 Provides a Python binding of C++ LCM type serializers. More...
 

Function Documentation

◆ BindCppSerializer()

py::object drake::pydrake::pysystems::pylcm::BindCppSerializer ( const std::string &  lcm_package)

Provides a Python binding of C++ LCM type serializers.

This registers the binding using the Python LCM type in pydrake.systems.lcm.CppSerializer, so that the type is easily indexed.

Template Parameters
CppTypeC++ message type.
Parameters
lcm_packageThe package that the LCM type belongs to. The C++ message type name is used to retrieve the relevant Python LCM type.
See also
The use_cpp_serializer parameter in the factory methods in _lcm_extra.py.

◆ BindCppSerializers()

void drake::pydrake::pysystems::pylcm::BindCppSerializers ( )