#include <oscillator.hh>
Public Member Functions | |
Oscillator (const std::string name) | |
![]() | |
virtual void | display (std::ostream &os) const |
std::ostream & | displaySignalList (std::ostream &os) const |
Entity (const std::string &name) | |
virtual const std::string & | getClassName () const |
const std::string & | getCommandList () const |
virtual std::string | getDocString () const |
LoggerVerbosity | getLoggerVerbosityLevel () |
LoggerVerbosity | getLoggerVerbosityLevel () |
const std::string & | getName () const |
command::Command * | getNewStyleCommand (const std::string &cmdName) |
CommandMap_t | getNewStyleCommandMap () |
SignalBase< sigtime_t > & | getSignal (const std::string &signalName) |
const SignalBase< sigtime_t > & | getSignal (const std::string &signalName) const |
SignalMap | getSignalMap () const |
double | getStreamPrintPeriod () |
double | getStreamPrintPeriod () |
double | getTimeSample () |
double | getTimeSample () |
bool | hasSignal (const std::string &signame) const |
Logger & | logger () |
Logger & | logger () |
const Logger & | logger () const |
const Logger & | logger () const |
void | sendMsg (const std::string &msg, MsgType t=MSG_TYPE_INFO, const std::string &lineId="") |
void | sendMsg (const std::string &msg, MsgType t=MSG_TYPE_INFO, const std::string &lineId="") |
void | setLoggerVerbosityLevel (LoggerVerbosity lv) |
void | setLoggerVerbosityLevel (LoggerVerbosity lv) |
bool | setStreamPrintPeriod (double t) |
bool | setStreamPrintPeriod (double t) |
bool | setTimeSample (double t) |
bool | setTimeSample (double t) |
virtual SignalBase< sigtime_t > * | test () |
virtual void | test2 (SignalBase< sigtime_t > *) |
virtual std::ostream & | writeCompletionList (std::ostream &os) const |
virtual std::ostream & | writeGraph (std::ostream &os) const |
virtual | ~Entity () |
Protected Member Functions | |
double & | computeSignal (double &sout, const sigtime_t &t) |
dynamicgraph::Vector & | computeVectorSignal (dynamicgraph::Vector &vsout, const sigtime_t &t) |
double | value (double dt, double time, double omega, double phase, double amplitude, double bias) |
![]() | |
void | addCommand (const std::string &name, command::Command *command) |
void | entityDeregistration () |
void | entityRegistration () |
void | signalDeregistration (const std::string &name) |
void | signalRegistration (const SignalArray< sigtime_t > &signals) |
Protected Attributes | |
SignalPtr< double, sigtime_t > | angularFrequencySIN_ |
SignalPtr< double, sigtime_t > | biasSIN_ |
bool | continuous_ |
double | dt_ |
double | epsilon_ |
double | lastValue_ |
SignalPtr< double, sigtime_t > | magnitudeSIN_ |
SignalPtr< double, sigtime_t > | phaseSIN_ |
SignalTimeDependent< double, sigtime_t > | soutSOUT_ |
bool | started_ |
SignalTimeDependent< dynamicgraph::Vector, sigtime_t > | vectorSoutSOUT_ |
![]() | |
CommandMap_t | commandMap |
Logger | logger_ |
std::string | name |
SignalMap | signalMap |
Private Member Functions | |
DYNAMIC_GRAPH_ENTITY_DECL () | |
Additional Inherited Members | |
![]() | |
typedef std::map< const std::string, command::Command * > | CommandMap_t |
typedef std::map< std::string, SignalBase< sigtime_t > * > | SignalMap |
Definition at line 25 of file oscillator.hh.
dynamicgraph::sot::tools::Oscillator::Oscillator | ( | const std::string | name | ) |
epsilon is used to ensure there is no discontinuity when starting or stopping the oscillator. It defines the sensitivity to discontinuities
Definition at line 22 of file oscillator.cc.
|
protected |
Definition at line 113 of file oscillator.cc.
|
protected |
Definition at line 106 of file oscillator.cc.
|
private |
|
protected |
Definition at line 100 of file oscillator.cc.
Definition at line 38 of file oscillator.hh.
Definition at line 41 of file oscillator.hh.
|
protected |
Definition at line 47 of file oscillator.hh.
|
protected |
Definition at line 48 of file oscillator.hh.
|
protected |
Definition at line 45 of file oscillator.hh.
|
protected |
Definition at line 49 of file oscillator.hh.
Definition at line 39 of file oscillator.hh.
Definition at line 40 of file oscillator.hh.
|
protected |
Definition at line 42 of file oscillator.hh.
|
protected |
Definition at line 46 of file oscillator.hh.
|
protected |
Definition at line 43 of file oscillator.hh.