binary circular buffer - wrapper for a SIM::binbuff
Core functions: SCI::sci_binbuff.proc(), SCI::sci_binbuff.gen()
More...
binary circular buffer - wrapper for a SIM::binbuff
Core functions: SCI::sci_binbuff.proc(), SCI::sci_binbuff.gen()
| SCI::sci_binbuff::sci_binbuff |
( |
| ) |
|
| SCI::sci_binbuff::~sci_binbuff |
( |
| ) |
|
| void SCI::sci_binbuff::destroy |
( |
| ) |
|
|
inlinevirtual |
| void SCI::sci_binbuff::exec |
( |
int |
command | ) |
|
|
virtual |
executes command in an object of a SCI_BINBUFF
Supported commands:
none
- Parameters
-
| [in] | command | - to be executed |
Reimplemented from SCI::sci_base.
| sci_var * SCI::sci_binbuff::get |
( |
int |
param | ) |
|
|
virtual |
creates new sci_var object and assigns its value to a parameter of the SCI_BINBUFF
Supported parameters:
SCI_TYPE, sci_var [int]
SCI_SIZE, sci_var [int] buffer size
SCI_SYMBOL_SIZE, sci_var [int] symbol size in bits for put()/get() in generate() and process()
SCI_N_OF_ELEM, sci_var [int] number of elements
SCI_SINGLETON, sci_var [bool] single bin value got from buffer
SCI_VEC, sci_var [bvec] vector got from buffer
SCI_PEEK_VEC, sci_var [bvec] vector peeked from buffer
SCI_PEEK_REV_VEC,sci_var [bvec] reversed vector peeked from buffer
SCI_OUTPUT, sci_var [bvec] output state
- Parameters
-
| [in] | param | - parameter to get |
- Returns
- - pointer to created sci_var, actual object type depends on input parameter
Reimplemented from SCI::sci_base.
| void SCI::sci_binbuff::set |
( |
int |
param, |
|
|
sci_var * |
p_v |
|
) |
| |
|
virtual |
sets parameters of a SCI_CIRCBUFF
Supported parameters:
SCI_SIZE, sci_var [int] buffer size in bits
SCI_SYMBOL_SIZE, sci_var [int] symbol size in bits for put()/get() in generate() and process()
SCI_SINGLETON, sci_var [bool] single bin value to be put into buffer
SCI_VEC, sci_var [bvec] vector to be put into buffer
SCI_OUTPUT, sci_var [bvec] output state
- Parameters
-
| [in] | param | - parameter to set |
| [in] | p_v | - pointer to sci_var object with the value of the parameter |
Reimplemented from SCI::sci_base.
The documentation for this class was generated from the following files:
- C:/jobs/vcc/itpp_sci/include/sci/sci_binbuff.hpp
- C:/jobs/vcc/itpp_sci/sci_lib/code/sci_binbuff.cpp