Interface of an object creating data to be tested on. More...
Public Types | |
typedef std::vector< short > | InputData_t |
Public Member Functions | |
DataCreatorBase (std::string new_name) | |
Constructor: just assigns a name to this data set. More... | |
std::string | name () const |
Returns the name of this set. More... | |
virtual | ~DataCreatorBase () |
Virtual destructor. More... | |
virtual InputData_t | create (size_t size)=0 |
Creates and returns the data sample; pure virtual. More... | |
Static Public Attributes | |
static std::default_random_engine | random_engine |
Random engine shared by all the data creators. More... | |
Private Attributes | |
std::string | test_name |
internal storage for test name More... | |
Interface of an object creating data to be tested on.
Definition at line 61 of file raw_test.cc.
typedef std::vector<short> DataCreatorBase::InputData_t |
Definition at line 63 of file raw_test.cc.
|
inline |
Constructor: just assigns a name to this data set.
Definition at line 69 of file raw_test.cc.
|
inlinevirtual |
|
pure virtual |
Creates and returns the data sample; pure virtual.
Implemented in RandomDataCreator, SineWaveCreator, GaussianNoiseCreator, and UniformNoiseCreator.
|
inline |
Returns the name of this set.
Definition at line 72 of file raw_test.cc.
|
static |
Random engine shared by all the data creators.
Definition at line 66 of file raw_test.cc.
|
private |
internal storage for test name
Definition at line 81 of file raw_test.cc.