Simulacrum
1.2
|
#include <salgorithm.h>
Public Member Functions | |
virtual SAlgorithm * | New () override |
SAlgorithmSLua (const std::string &) | |
virtual | ~SAlgorithmSLua () |
void | lsetInputs (int) |
void | lsetOutputs (int) |
SSpace & | linput (int) |
SSpace & | loutput (int) |
SSpace & | ldriver () |
void | lsetDriver (driver_t, int) |
void | lsetBlockSize (const SCoordinate &) |
Public Member Functions inherited from Simulacrum::SAlgorithmCPU | |
SAlgorithmCPU () | |
virtual | ~SAlgorithmCPU () |
Public Member Functions inherited from Simulacrum::SAlgorithm | |
SAlgorithm () | |
virtual | ~SAlgorithm () |
int | inputs () const |
int | outputs () const |
void | setInput (int, SSpace &, bool doconnect=true) |
void | setOutput (int, SSpace &, bool doconnect=true) |
void | reset () |
virtual bool | isReady () const |
virtual SSpace & | execute () |
SSpace & | operator() (std::initializer_list< std::reference_wrapper< SSpace > >, bool doconnect=false) |
void | refresh (bool) override |
Public Member Functions inherited from Simulacrum::SConnectable | |
SConnectable () | |
virtual | ~SConnectable () |
void | emitRefresh (sdepth_t) |
virtual void | signal (ssignal_t, void *=nullptr) |
void | emitSignal (ssignal_t, void *=nullptr) |
virtual void | progress (int) |
virtual bool | sconnect (SConnectable &) |
virtual bool | sconnect (SConnectable &, bool delondiscon) |
virtual bool | sdisconnect (SConnectable &) |
virtual void | disconnectSources () |
virtual void | disconnectListeners () |
virtual void | disconnectListeners_Refresh () |
virtual bool | isConnected (SConnectable &) const |
virtual bool | isConnected (SConnectable *) const |
virtual void | sconfigure (const std::string &) |
virtual SConnectable & | end () |
virtual SConnectable & | penum () |
virtual SConnectable & | pred () |
virtual SConnectable & | succ () |
virtual void | deleteOnDisconnect (bool) |
virtual bool | deleteOnDisconnect () |
virtual void | setName (const std::string &) |
virtual const std::string & | getName () const |
const std::map< std::string, double > & | parameters () |
const std::map< std::string, std::string > & | properties () |
bool | hasProperty (const std::string &) const |
bool | hasParameter (const std::string &) const |
void | setProperty (const std::string &, const std::string &) |
void | setParameter (const std::string &, double) |
std::string | getProperty (const std::string &) const |
double | getParameter (const std::string &) const |
Public Member Functions inherited from Simulacrum::SLockable | |
virtual void | lock () |
virtual void | unlock () |
virtual bool | try_lock () |
virtual void | wait () |
virtual void | refIncr () |
virtual void | refDecr () |
virtual int | refCount () |
SLockable () | |
SLockable (const SLockable &) | |
virtual | ~SLockable () |
Static Public Member Functions | |
static std::string | userAlgorithmsPath () |
Static Public Member Functions inherited from Simulacrum::SAlgorithm | |
static std::string | typeString () |
Protected Member Functions | |
virtual void | init () override |
virtual void | kernel (SSpaceIterator *beginc, SSpaceIterator *endc) override |
Protected Member Functions inherited from Simulacrum::SAlgorithmCPU | |
virtual void | doExecute () override |
void | bg (SPool::SFunction) |
void | bgWait () |
Protected Member Functions inherited from Simulacrum::SAlgorithm | |
void | setInputs (int) |
void | setOutputs (int) |
SSpace & | input (int) const |
SSpace & | output (int) const |
SSpace & | driver () |
void | setDriver (driver_t, int) |
void | setBlockSize (const SCoordinate &) |
const SCoordinate & | blocksize () const |
virtual void | preExecute () |
virtual void | postExecute () |
Protected Member Functions inherited from Simulacrum::SConnectable | |
virtual bool | addListener (SConnectable &) |
virtual bool | removeListener (SConnectable &) |
virtual bool | addTarget (SConnectable &) |
virtual bool | removeTarget (SConnectable &) |
Additional Inherited Members | |
Public Types inherited from Simulacrum::SAlgorithm | |
enum | driver_t { Input = true , Output = false } |
Public Types inherited from Simulacrum::SConnectable | |
typedef unsigned | ssignal_t |
typedef bool | sdepth_t |
SAlgorithmSLua::SAlgorithmSLua | ( | const std::string & | src | ) |
|
virtual |
|
overrideprotectedvirtual |
Implements Simulacrum::SAlgorithmCPU.
|
overrideprotectedvirtual |
Implements Simulacrum::SAlgorithmCPU.
SSpace & SAlgorithmSLua::ldriver | ( | ) |
SSpace & SAlgorithmSLua::linput | ( | int | num | ) |
SSpace & SAlgorithmSLua::loutput | ( | int | num | ) |
void SAlgorithmSLua::lsetBlockSize | ( | const SCoordinate & | blocks | ) |
void SAlgorithmSLua::lsetDriver | ( | driver_t | inout, |
int | num | ||
) |
void SAlgorithmSLua::lsetInputs | ( | int | num | ) |
void SAlgorithmSLua::lsetOutputs | ( | int | num | ) |
|
overridevirtual |
Implements Simulacrum::SAlgorithmCPU.
|
static |