#include <event.h>
The EventINT class
The events are objects of this class internally in the library.
Definition at line 115 of file event.h.
◆ EventINT() [1/4]
EVENTSINTERNAL::EventINT::EventINT |
( |
idNum |
id | ) |
|
◆ EventINT() [2/4]
EVENTSINTERNAL::EventINT::EventINT |
( |
idNum |
id, |
|
|
int |
iSample, |
|
|
idNum |
groupId |
|
) |
| |
EventINT constructor.
- Parameters
-
[in] | id | Id of the new event. |
[in] | iSample | Sample of the new created event. |
[in] | groupId | GroupId to which the created event will belong. |
Definition at line 91 of file event.cpp.
◆ EventINT() [3/4]
EVENTSINTERNAL::EventINT::EventINT |
( |
const EventINT & |
rhs | ) |
|
◆ EventINT() [4/4]
EVENTSINTERNAL::EventINT::EventINT |
( |
EventINT && |
other | ) |
|
Move constructor
- Parameters
-
Definition at line 109 of file event.cpp.
◆ fromSample()
EventINT EVENTSLIB::EVENTSINTERNAL::EventINT::fromSample |
( |
int |
sample | ) |
|
|
inlinestatic |
Create an event at sample iSample
- Parameters
-
[in] | iSample | Create an EventINT event from a specific sample. |
[in] | sample | Sample of the new event. |
- Returns
- new event created.
Definition at line 269 of file event.h.
◆ getDescription()
std::string EVENTSINTERNAL::EventINT::getDescription |
( |
| ) |
const |
Retrieve this event's description.
- Returns
- Event Description.
Definition at line 153 of file event.cpp.
◆ getGroupId()
idNum EVENTSINTERNAL::EventINT::getGroupId |
( |
| ) |
const |
◆ getId()
idNum EVENTSINTERNAL::EventINT::getId |
( |
| ) |
const |
Retrieve this event's id.
- Returns
- Id Event Id.
Definition at line 146 of file event.cpp.
◆ getSample()
int EVENTSINTERNAL::EventINT::getSample |
( |
| ) |
const |
◆ operator<()
bool EVENTSINTERNAL::EventINT::operator< |
( |
const EventINT & |
rhs | ) |
const |
Overriden < operator. This operator helps the organization of events in standard library containers.
- Parameters
-
- Returns
- Bool value with the result of the comparison.
Definition at line 160 of file event.cpp.
◆ operator=()
Overriden = operator in case of need to copy assing an event.
- Parameters
-
- Returns
- a new EventINT created.
Definition at line 172 of file event.cpp.
◆ operator==()
bool EVENTSINTERNAL::EventINT::operator== |
( |
const EventINT & |
rhs | ) |
const |
Overriden == operator. This operator helps the organization of events in standard library containers.
- Parameters
-
- Returns
- Bool value with the result of the comparison.
Definition at line 167 of file event.cpp.
◆ setDescription() [1/2]
void EVENTSLIB::EVENTSINTERNAL::EventINT::setDescription |
( |
const std::string & |
description | ) |
|
Set this event's description.
- Parameters
-
[in] | description | The new description text. |
◆ setDescription() [2/2]
void EVENTSLIB::EVENTSINTERNAL::EventINT::setDescription |
( |
std::string && |
description | ) |
|
Set this event's description from a rvalue string.
- Parameters
-
[in] | description | The new description. |
◆ setGroupId()
void EVENTSINTERNAL::EventINT::setGroupId |
( |
idNum |
iGroup | ) |
|
Set the value of the group of this event.
- Parameters
-
Definition at line 139 of file event.cpp.
◆ setSample()
void EVENTSINTERNAL::EventINT::setSample |
( |
int |
iSample | ) |
|
setSample Set the value of the event sample.
- Parameters
-
Definition at line 125 of file event.cpp.
The documentation for this class was generated from the following files: