itpp_sci  1.0.0
it++ based simulation framework for scicoslab, scilab and scipy
sci_circbuff.hpp
1 /*xxx
2 * \brief - SCI_CIRCBUFF API
3 * \author maki
4 */
5 
6 #ifndef SCI_CIRCBUFF_HPP
7 #define SCI_CIRCBUFF_HPP
8 
9 #include "sci\_sci_base.hpp"
10 #include "sim\sim_circbuff.hpp"
11 
12 using namespace itpp;
13 using namespace std;
14 using namespace SIM;
15 
20 namespace SCI
21 {
22 
28 class sci_circbuff: public sci_base, public SIM::circbuff
29 {
30 public:
31 
32  sci_circbuff();
33  ~sci_circbuff();
34 
35  sci_circbuff* 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* gen(sci_var* p_v_ce);
49  sci_var* proc(sci_var* p_v_ce, sci_var* p_v_x);
50 
51 };
52 
53 }// SCI
54 #endif //SCI_CIRCBUFF_HPP
sci_circbuff * create(int sci_type)
Definition: sci_circbuff.hpp:35
circular buffer - wrapper for a SIM::circbuff Core functions: SCI::sci_cirbuff.proc(), SCI::sci_cirbuff.gen()
Definition: sci_circbuff.hpp:28
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
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
void destroy()
destroy SCI object
Definition: sci_circbuff.hpp:40
circlular buffer Core functions SIM::circbuff.process(), SIM::circbuff.generate() ...
Definition: sim_circbuff.hpp:26