Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
dynamicgraph::python::SignalWrapper< T, Time > Class Template Reference

#include <signal-wrapper.hh>

Inheritance diagram for dynamicgraph::python::SignalWrapper< T, Time >:
Inheritance graph
[legend]

Public Types

typedef Signal< T, Time > parent_t
 
typedef boost::python::object pyobject
 
- Public Types inherited from dynamicgraph::Signal< T, Time >
typedef int * Mutex
 
typedef int * MutexError
 

Public Member Functions

 SignalWrapper (std::string name, pyobject callable)
 
virtual ~SignalWrapper ()
 
- Public Member Functions inherited from dynamicgraph::Signal< T, Time >
virtual const T & access (const Time &t)
 
virtual const T & accessCopy () const
 
virtual std::ostream & display (std::ostream &os) const
 
virtual void get (std::ostream &value) const
 
virtual void getClassName (std::string &aClassName) const
 
bool getKeepReference ()
 
 operator const T & () const
 
virtual const T & operator() (const Time &t)
 
virtual Signal< T, Time > & operator= (const T &t)
 
virtual void recompute (const Time &t)
 
virtual void set (std::istringstream &value)
 
virtual void setConstant (const T &t)
 
virtual void setFunction (boost::function2< T &, T &, Time > t, Mutex *mutexref=NULL)
 
void setKeepReference (const bool &b)
 
virtual void setReference (const T *t, Mutex *mutexref=NULL)
 
virtual void setReferenceNonConstant (T *t, Mutex *mutexref=NULL)
 
 Signal (std::string name)
 
virtual void trace (std::ostream &os) const
 
virtual ~Signal ()
 

Static Public Member Functions

static bool checkCallable (pyobject c, std::string &error)
 

Private Member Functions

T & call (T &value, Time t)
 

Private Attributes

pyobject callable
 

Additional Inherited Members

- Protected Types inherited from dynamicgraph::Signal< T, Time >
enum  SignalType
 
- Protected Attributes inherited from dynamicgraph::Signal< T, Time >
 CONSTANT
 
bool copyInit
 
 FUNCTION
 
bool keepReference
 
MutexproviderMutex
 
 REFERENCE
 
 REFERENCE_NON_CONST
 
SignalType signalType
 
T * Tcopy
 
Tcopy1
 
Tcopy2
 
boost::function2< T &, T &, Time > Tfunction
 
const T * Treference
 
T * TreferenceNonConst
 
- Static Protected Attributes inherited from dynamicgraph::Signal< T, Time >
const static bool KEEP_REFERENCE_DEFAULT
 
static const SignalType SIGNAL_TYPE_DEFAULT
 

Detailed Description

template<class T, class Time>
class dynamicgraph::python::SignalWrapper< T, Time >

Definition at line 31 of file signal-wrapper.hh.

Member Typedef Documentation

◆ parent_t

template<class T , class Time >
typedef Signal<T, Time> dynamicgraph::python::SignalWrapper< T, Time >::parent_t

Definition at line 33 of file signal-wrapper.hh.

◆ pyobject

template<class T , class Time >
typedef boost::python::object dynamicgraph::python::SignalWrapper< T, Time >::pyobject

Definition at line 34 of file signal-wrapper.hh.

Constructor & Destructor Documentation

◆ SignalWrapper()

template<class T , class Time >
dynamicgraph::python::SignalWrapper< T, Time >::SignalWrapper ( std::string  name,
pyobject  callable 
)
inline

Definition at line 38 of file signal-wrapper.hh.

◆ ~SignalWrapper()

template<class T , class Time >
virtual dynamicgraph::python::SignalWrapper< T, Time >::~SignalWrapper ( )
inlinevirtual

Definition at line 45 of file signal-wrapper.hh.

Member Function Documentation

◆ call()

template<class T , class Time >
T& dynamicgraph::python::SignalWrapper< T, Time >::call ( T &  value,
Time  t 
)
inlineprivate

Definition at line 48 of file signal-wrapper.hh.

◆ checkCallable()

template<class T , class Time >
bool dynamicgraph::python::SignalWrapper< T, Time >::checkCallable ( pyobject  c,
std::string &  error 
)
static

Definition at line 24 of file signal-wrapper.cc.

Member Data Documentation

◆ callable

template<class T , class Time >
pyobject dynamicgraph::python::SignalWrapper< T, Time >::callable
private

Definition at line 59 of file signal-wrapper.hh.


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


dynamic-graph-python
Author(s): Nicolas Mansard, Olivier Stasse
autogenerated on Fri Oct 27 2023 02:16:37