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 void checkCompatibility ()
 
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 ()
 
- Public Member Functions inherited from dynamicgraph::SignalBase< Time >
virtual void addDependency (const SignalBase< Time > &)
 
virtual void addDependency (const SignalBase< Time > &)
 
virtual void clearDependencies ()
 
virtual void clearDependencies ()
 
virtual std::ostream & displayDependencies (std::ostream &os, const int=-1, std::string space="", std::string next1="", std::string="") const
 
virtual std::ostream & displayDependencies (std::ostream &os, const int=-1, std::string space="", std::string next1="", std::string="") const
 
virtual void ExtractNodeAndLocalNames (std::string &LocalName, std::string &NodeName) const
 
virtual void ExtractNodeAndLocalNames (std::string &LocalName, std::string &NodeName) const
 
void getClassName (std::string &aClassName) const
 
void getClassName (std::string &aClassName) const
 
const std::string & getName () const
 
const std::string & getName () const
 
virtual Time getPeriodTime () const
 
virtual Time getPeriodTime () const
 
virtual SignalBase< Time > * getPluged () const
 
virtual SignalBase< Time > * getPluged () const
 
const bool & getReady () const
 
const bool & getReady () const
 
virtual const Time & getTime () const
 
virtual const Time & getTime () const
 
virtual bool isPlugged () const
 
virtual bool isPlugged () const
 
virtual bool needUpdate (const Time &) const
 
virtual bool needUpdate (const Time &) const
 
virtual void plug (SignalBase< Time > *sigarg)
 
virtual void plug (SignalBase< Time > *sigarg)
 
virtual void removeDependency (const SignalBase< Time > &)
 
virtual void removeDependency (const SignalBase< Time > &)
 
virtual void setConstantDefault ()
 
virtual void setConstantDefault ()
 
virtual void setPeriodTime (const Time &)
 
virtual void setPeriodTime (const Time &)
 
void setReady (const bool sready=true)
 
void setReady (const bool sready=true)
 
virtual void setTime (const Time &t)
 
virtual void setTime (const Time &t)
 
std::string shortName () const
 
std::string shortName () const
 
 SignalBase (std::string name="")
 
virtual void unplug ()
 
virtual void unplug ()
 
virtual std::ostream & writeGraph (std::ostream &os) const
 
virtual std::ostream & writeGraph (std::ostream &os) const
 
virtual ~SignalBase ()
 

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
 
- Protected Attributes inherited from dynamicgraph::SignalBase< Time >
std::string name
 
bool ready
 
Time signalTime
 
- Static Protected Attributes inherited from dynamicgraph::Signal< T, Time >
static const 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 Sun Jun 25 2023 02:55:50