itpp_sci  1.0.0
it++ based simulation framework for scicoslab, scilab and scipy
sci_amp.hpp
1 /*xxx
2 * \brief SCI_AMP API
3 * \author maki
4 */
5 
6 
7 #ifndef SCI_AMP_HPP
8 #define SCI_AMP_HPP
9 
10 #include "sci\_sci_base.hpp"
11 #include "sim\sim_amp.hpp"
12 
13 using namespace itpp;
14 using namespace std;
15 using namespace SIM;
16 
20 namespace SCI
21 {
22 
28 class sci_amp: public sci_base, public SIM::amp
29 {
30 public:
31 
32  sci_amp();
33  ~sci_amp();
34 
35  sci_amp* create(int sci_type)
36  {
37  return (this);
38  };
39 
40  void destroy()
41  {
42  return ;
43  };
44 
45  void set(int param, sci_var* p_v);
46  sci_var* get(int param);
47  void exec(int command);
48  sci_var* proc(sci_var* p_v_ce, sci_var* p_v_x);
49 };
50 
51 }// SCI
52 #endif //SCI_AMP_HPP
void destroy()
destroy SCI object
Definition: sci_amp.hpp:40
SIM layer implements low level simulation models with itpp base classes as operational types...
Definition: sim_amp.hpp:15
virtual base class SCI_API API functions
Definition: _sci_base.hpp:40
gain block with offset Core function SIM::amp.process()
Definition: sim_amp.hpp:27
Definition: _sci_assert.cpp:35
gain stage - wrapper for a SIM::amp Core function: SCI::sci_amp.proc()
Definition: sci_amp.hpp:28
SCI layer implements SCI_API interface as wrappers for SIM layer models.
Definition: _sci_create_sci_var.cpp:8
Abstract base for encapsulation of sci_variables.
Definition: _sci_var.hpp:23
sci_amp * create(int sci_type)
Definition: sci_amp.hpp:35