OpenWalnut
1.5.0dev
|
Base class for all recorded data and results with events and sensor positions. More...
#include <WRecording.h>
Public Member Functions | |
WRecording () | |
Empty standard constructor for recordings. More... | |
virtual const std::string | getName () const |
Gets the name of this prototype. More... | |
virtual const std::string | getDescription () const |
Gets the description for this prototype. More... | |
Public Member Functions inherited from WDataSet | |
WDataSet () | |
This constructor should be used if a dataSet does not stem from a file. More... | |
virtual | ~WDataSet () |
Since WDataSet is a base class and thus should be polymorphic we add virtual destructor. More... | |
void | setFilename (const std::string filename) |
Set the name of the file that this data set stems from. More... | |
std::string | getFilename () const |
Get the name of the file that this data set stems from. More... | |
OW_API_DEPRECATED void | setFileName (const std::string filename) |
Set the name of the file that this data set stems from. More... | |
OW_API_DEPRECATED std::string | getFileName () const |
Get the name of the file that this data set stems from. More... | |
virtual bool | isTexture () const |
Determines whether this dataset can be used as a texture. More... | |
virtual std::shared_ptr< WDataSetVector > | isVectorDataSet () |
Checks if this dataset is a vector dataset. More... | |
virtual osg::ref_ptr< WDataTexture3D > | getTexture () const |
Returns the texture- representation of the dataset. More... | |
std::shared_ptr< WProperties > | getProperties () const |
Return a pointer to the properties object of the dataset. More... | |
std::shared_ptr< WProperties > | getInformationProperties () const |
Return a pointer to the information properties object of the dataset. More... | |
Public Member Functions inherited from WTransferable | |
WTransferable () | |
Default constructor. More... | |
virtual | ~WTransferable () |
Destructor. More... | |
Public Member Functions inherited from WPrototyped | |
WPrototyped () | |
Default constructor. More... | |
virtual | ~WPrototyped () |
Destructor. More... | |
template<typename T > | |
bool | isA () |
Checks whether the actual prototype has the specified runtime type. More... | |
Static Public Member Functions | |
static std::shared_ptr< WPrototyped > | getPrototype () |
Returns a prototype instantiated with the true type of the deriving class. More... | |
Static Public Member Functions inherited from WDataSet | |
static std::shared_ptr< WPrototyped > | getPrototype () |
Returns a prototype instantiated with the true type of the deriving class. More... | |
Static Public Attributes | |
static const unsigned int | MAX_RECORDING_CHANNELS = 1024 |
Maximum number of channels for a certain modality. More... | |
static const unsigned int | MAX_RECORDING_SAMPLES = 4294967295U |
Maximum number of samples of a recording. More... | |
static const unsigned int | MAX_RECORDING_SEGMENTS = 128 |
Maximum number of segments of a recording. More... | |
static const unsigned int | MAX_RECORDING_SAMPLING_FREQUENCY = 20000 |
Maximum samplimg frequency of a recording. More... | |
Static Protected Attributes | |
static std::shared_ptr< WPrototyped > | m_prototype = std::shared_ptr< WPrototyped >() |
The prototype as singleton. More... | |
Static Protected Attributes inherited from WDataSet | |
static std::shared_ptr< WPrototyped > | m_prototype = std::shared_ptr< WPrototyped >() |
The prototype as singleton. More... | |
Additional Inherited Members | |
Public Types inherited from WDataSet | |
typedef std::shared_ptr< WDataSet > | SPtr |
Shared pointer abbreviation to a instance of this class. More... | |
typedef std::shared_ptr< const WDataSet > | ConstSPtr |
Shared pointer abbreviation to a const instance of this class. More... | |
Protected Attributes inherited from WDataSet | |
std::shared_ptr< WProperties > | m_properties |
The property object for the dataset. More... | |
std::shared_ptr< WProperties > | m_infoProperties |
The property object for the dataset containing only props whose purpose is "PV_PURPOSE_INFORMNATION". More... | |
Base class for all recorded data and results with events and sensor positions.
Definition at line 40 of file WRecording.h.
|
explicit |
Empty standard constructor for recordings.
Definition at line 34 of file WRecording.cpp.
Referenced by getPrototype().
|
virtual |
Gets the description for this prototype.
Reimplemented from WDataSet.
Reimplemented in WEEG2, and WEEG.
Definition at line 44 of file WRecording.cpp.
|
virtual |
Gets the name of this prototype.
Reimplemented from WDataSet.
Reimplemented in WEEG2, and WEEG.
Definition at line 39 of file WRecording.cpp.
|
static |
Returns a prototype instantiated with the true type of the deriving class.
Definition at line 49 of file WRecording.cpp.
References m_prototype, and WRecording().
|
staticprotected |
The prototype as singleton.
Definition at line 94 of file WRecording.h.
Referenced by getPrototype().
|
static |
Maximum number of channels for a certain modality.
Definition at line 72 of file WRecording.h.
Referenced by WEEG::WEEG(), and WEEG2::WEEG2().
|
static |
Maximum number of samples of a recording.
(2^32)-1 this is often equal to UINT_MAX
Definition at line 78 of file WRecording.h.
Referenced by WEEG::WEEG(), and WEEG2Segment::WEEG2Segment().
|
static |
Maximum samplimg frequency of a recording.
Definition at line 88 of file WRecording.h.
Referenced by WEEG2::WEEG2().
|
static |
Maximum number of segments of a recording.
Definition at line 83 of file WRecording.h.
Referenced by WEEG::WEEG(), and WEEG2::WEEG2().