MNE-CPP
0.1.9
A Framework for Electrophysiology
|
#include <eventsharedmemmanager.h>
Public Member Functions | |
EventUpdate () | |
EventUpdate (int sample, int creator, enum EventUpdateType t) | |
long long | getCreationTime () const |
int | getSample () const |
int | getCreatorId () const |
enum EventUpdateType | getType () const |
void | setType (enum EventUpdateType t) |
std::string | eventTypeToText () |
Protected Attributes | |
int | m_EventSample |
int | m_CreatorId |
long long | m_CreationTime |
enum EventUpdateType | m_TypeOfUpdate |
The EventUpdate class serves as a minimal class definition to store updates in the shared memory buffer. The updates are events that happened and need to be processed by a shared memory reader object.
Definition at line 90 of file eventsharedmemmanager.h.
EVENTSINTERNAL::EventUpdate::EventUpdate | ( | ) |
Constructor.
Definition at line 80 of file eventsharedmemmanager.cpp.
EVENTSINTERNAL::EventUpdate::EventUpdate | ( | int | sample, |
int | creator, | ||
enum EventUpdateType | t | ||
) |
Constructor with members defined.
[in] | sample | |
[in] | creator | |
[in] | t |
Definition at line 86 of file eventsharedmemmanager.cpp.
std::string EVENTSINTERNAL::EventUpdate::eventTypeToText | ( | ) |
Retrieve a text descriptive tag for each option in the type of update variable.
Definition at line 131 of file eventsharedmemmanager.cpp.
long long EVENTSINTERNAL::EventUpdate::getCreationTime | ( | ) | const |
Retrieve the creation time.
Definition at line 96 of file eventsharedmemmanager.cpp.
int EVENTSINTERNAL::EventUpdate::getCreatorId | ( | ) | const |
retrieve the creator's id.
Definition at line 110 of file eventsharedmemmanager.cpp.
int EVENTSINTERNAL::EventUpdate::getSample | ( | ) | const |
Retrieve the sample number.
Definition at line 103 of file eventsharedmemmanager.cpp.
EVENTSINTERNAL::EventUpdateType EVENTSINTERNAL::EventUpdate::getType | ( | ) | const |
void EVENTSINTERNAL::EventUpdate::setType | ( | enum EventUpdateType | t | ) |
set the type of the event update.
[in] | t |
Definition at line 124 of file eventsharedmemmanager.cpp.
|
protected |
Creation time point.
Definition at line 153 of file eventsharedmemmanager.h.
|
protected |
Id of the creator.
Definition at line 152 of file eventsharedmemmanager.h.
|
protected |
Sample for the event.
Definition at line 151 of file eventsharedmemmanager.h.
|
protected |
Type of update.
Definition at line 154 of file eventsharedmemmanager.h.