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/common/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() [1/3]

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

◆ MirrorDef() [2/3]

MirrorDef ( MirrorDef< A, B > &&  )
delete

◆ MirrorDef() [3/3]

MirrorDef ( A a,
B *  b 
)

Member Function Documentation

◆ def()

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

Calls def for both a and b.

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

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