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