itpp_sci  1.0.0
it++ based simulation framework for scicoslab, scilab and scipy
sci_nco.hpp
1 /*xxx
2 * \brief SCI_NCO API
3 * \author maki
4 */
5 
6 #ifndef SCI_NCO_HPP
7 #define SCI_NCO_HPP
8 
9 #include "sci\_sci_base.hpp"
10 #include "sim\sim_nco.hpp"
11 
12 using namespace itpp;
13 using namespace std;
14 using namespace SIM;
15 
16 namespace SCI
17 {
23 class sci_nco: public sci_base, public SIM::nco
24 {
25 public:
26 
27  sci_nco();
28  ~sci_nco();
29 
30  sci_nco* create(int sci_type)
31  {
32  return (this);
33  };
34 
35  void destroy()
36  {
37  return ;
38  };
39 
40  void set(int param, sci_var* p_v);
41  sci_var* get(int param);
42  void exec(int command);
43  sci_var* proc(sci_var* p_v_ce, sci_var* p_v_x);
44 };
45 
46 }// SCI
47 #endif //SCI_NCO_HPP
void destroy()
destroy SCI object
Definition: sci_nco.hpp:35
NCO - numerically controlled oscillator (fixed point) - wrapper for a SIM::nco Core function: SCI::...
Definition: sci_nco.hpp:23
SIM layer implements low level simulation models with itpp base classes as operational types...
Definition: sim_amp.hpp:15
fixed point NCO - numerically controlled oscillator Core function: SIM::nco.process() ...
Definition: sim_nco.hpp:31
virtual base class SCI_API API functions
Definition: _sci_base.hpp:40
sci_nco * create(int sci_type)
Definition: sci_nco.hpp:30
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