Drake
MirrorDef< A, B > Class Template Reference

Defines a function in object a and mirrors def calls to object b. More...

#include <drake/bindings/pydrake/util/wrap_pybind.h>

Public Member Functions

 MirrorDef (A *a, B *b)
 
template<typename... Args>
MirrorDefdef (const char *name, Args &&...args)
 Calls def for both a and b. More...
 
Does not allow copy, move, or assignment
 MirrorDef (const MirrorDef &)=delete
 
MirrorDefoperator= (const MirrorDef &)=delete
 
 MirrorDef (MirrorDef &&)=delete
 
MirrorDefoperator= (MirrorDef &&)=delete
 

Detailed Description

template<typename A, typename B>
class drake::pydrake::MirrorDef< A, B >

Defines a function in object a and mirrors def calls to object b.

Template Parameters
AType of object a
BType of object b

Constructor & Destructor Documentation

MirrorDef ( const MirrorDef< A, B > &  )
delete
MirrorDef ( MirrorDef< A, B > &&  )
delete
MirrorDef ( A a,
B *  b 
)
inline

Member Function Documentation

MirrorDef& def ( const char *  name,
Args &&...  args 
)
inline

Calls def for both a and b.

Here is the caller graph for this function:

MirrorDef& operator= ( const MirrorDef< A, B > &  )
delete
MirrorDef& operator= ( MirrorDef< A, B > &&  )
delete

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