OpenWalnut  1.5.0dev
Public Member Functions | Static Public Member Functions | Static Public Attributes | Static Protected Attributes | List of all members
WRecording Class Reference

Base class for all recorded data and results with events and sensor positions. More...

#include <WRecording.h>

+ Inheritance diagram for WRecording:
+ Collaboration diagram for WRecording:

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< WDataSetVectorisVectorDataSet ()
 Checks if this dataset is a vector dataset. More...
 
virtual osg::ref_ptr< WDataTexture3DgetTexture () const
 Returns the texture- representation of the dataset. More...
 
std::shared_ptr< WPropertiesgetProperties () const
 Return a pointer to the properties object of the dataset. More...
 
std::shared_ptr< WPropertiesgetInformationProperties () 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< WPrototypedgetPrototype ()
 Returns a prototype instantiated with the true type of the deriving class. More...
 
- Static Public Member Functions inherited from WDataSet
static std::shared_ptr< WPrototypedgetPrototype ()
 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< WPrototypedm_prototype = std::shared_ptr< WPrototyped >()
 The prototype as singleton. More...
 
- Static Protected Attributes inherited from WDataSet
static std::shared_ptr< WPrototypedm_prototype = std::shared_ptr< WPrototyped >()
 The prototype as singleton. More...
 

Additional Inherited Members

- Public Types inherited from WDataSet
typedef std::shared_ptr< WDataSetSPtr
 Shared pointer abbreviation to a instance of this class. More...
 
typedef std::shared_ptr< const WDataSetConstSPtr
 Shared pointer abbreviation to a const instance of this class. More...
 
- Protected Attributes inherited from WDataSet
std::shared_ptr< WPropertiesm_properties
 The property object for the dataset. More...
 
std::shared_ptr< WPropertiesm_infoProperties
 The property object for the dataset containing only props whose purpose is "PV_PURPOSE_INFORMNATION". More...
 

Detailed Description

Base class for all recorded data and results with events and sensor positions.

Definition at line 40 of file WRecording.h.

Constructor & Destructor Documentation

◆ WRecording()

WRecording::WRecording ( )
explicit

Empty standard constructor for recordings.

Definition at line 34 of file WRecording.cpp.

Referenced by getPrototype().

+ Here is the caller graph for this function:

Member Function Documentation

◆ getDescription()

const std::string WRecording::getDescription ( ) const
virtual

Gets the description for this prototype.

Returns
the description

Reimplemented from WDataSet.

Reimplemented in WEEG2, and WEEG.

Definition at line 44 of file WRecording.cpp.

◆ getName()

const std::string WRecording::getName ( ) const
virtual

Gets the name of this prototype.

Returns
the name.

Reimplemented from WDataSet.

Reimplemented in WEEG2, and WEEG.

Definition at line 39 of file WRecording.cpp.

◆ getPrototype()

std::shared_ptr< WPrototyped > WRecording::getPrototype ( )
static

Returns a prototype instantiated with the true type of the deriving class.

Returns
the prototype.

Definition at line 49 of file WRecording.cpp.

References m_prototype, and WRecording().

+ Here is the call graph for this function:

Member Data Documentation

◆ m_prototype

std::shared_ptr< WPrototyped > WRecording::m_prototype = std::shared_ptr< WPrototyped >()
staticprotected

The prototype as singleton.

Definition at line 94 of file WRecording.h.

Referenced by getPrototype().

◆ MAX_RECORDING_CHANNELS

const unsigned int WRecording::MAX_RECORDING_CHANNELS = 1024
static

Maximum number of channels for a certain modality.

Definition at line 72 of file WRecording.h.

Referenced by WEEG::WEEG(), and WEEG2::WEEG2().

◆ MAX_RECORDING_SAMPLES

const unsigned int WRecording::MAX_RECORDING_SAMPLES = 4294967295U
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().

◆ MAX_RECORDING_SAMPLING_FREQUENCY

const unsigned int WRecording::MAX_RECORDING_SAMPLING_FREQUENCY = 20000
static

Maximum samplimg frequency of a recording.

Definition at line 88 of file WRecording.h.

Referenced by WEEG2::WEEG2().

◆ MAX_RECORDING_SEGMENTS

const unsigned int WRecording::MAX_RECORDING_SEGMENTS = 128
static

Maximum number of segments of a recording.

Definition at line 83 of file WRecording.h.

Referenced by WEEG::WEEG(), and WEEG2::WEEG2().


The documentation for this class was generated from the following files: