itpp_sci  1.0.0
it++ based simulation framework for scicoslab, scilab and scipy
sci_rms.hpp
1 /*xxx
2 * \brief - SCI_RMS API
3 * \author maki
4 */
5 
6 #ifndef SCI_RMS_HPP
7 #define SCI_RMS_HPP
8 
9 #include "sci\_sci_base.hpp"
10 #include "sim\sim_rms.hpp"
11 
12 
13 using namespace itpp;
14 using namespace std;
15 using namespace SIM;
16 
22 namespace SCI
23 {
29 class sci_rms : public sci_base, public SIM::rms
30 {
31 public:
32 
33  sci_rms();
34  ~sci_rms();
35 
36  sci_rms* create(int sci_type)
37  {
38  return (this);
39  };
40 
41  void destroy()
42  {
43  return;
44  };
45 
46  void set(int param, sci_var* p_v);
47  sci_var* get(int param);
48  void exec(int command);
49  sci_var* proc(sci_var* p_v_ce, sci_var* p_v_x);
50 
51 };
52 
53 }// SCI
54 #endif //SCI_RMS_HPP
RMS calculator for real-value signals Core function: SIM::rms.process() .
Definition: sim_rms.hpp:29
SIM layer implements low level simulation models with itpp base classes as operational types...
Definition: sim_amp.hpp:15
sci_rms * create(int sci_type)
Definition: sci_rms.hpp:36
void destroy()
destroy SCI object
Definition: sci_rms.hpp:41
virtual base class SCI_API API functions
Definition: _sci_base.hpp:40
RMS measurment block - wrapper for a SIM::rms Core function: SCI::sci_rms.proc() ...
Definition: sci_rms.hpp:29
Definition: _sci_assert.cpp:35
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