Veethree D7 SDK
Loading...
Searching...
No Matches
vsdk::io::event_data Class Reference

Detailed Description

The event_data class.

Interface that implements a visitor pattern for accessing data from a base class.

#include <io_event_data.h>

Public Member Functions

virtual void process (const threshold_event *e)
 Process an event object.
virtual void process (const range_event *e)
 Process an event object.
virtual void process (const state_event *e)
 Process an event object.

Detailed Description

The event_data class.

Interface that implements a visitor pattern for accessing data from a base class.

Member Function Documentation

◆ process() [1/3]

virtual void vsdk::io::event_data::process ( const range_event * e)
inlinevirtual

Process an event object.

For each type of event available, there will be a process function. It will be called by vsdk::io::event subclasses to retrieve data.

Parameters
eThe event the data will come from.
Note
Typically this will not be used by the end user. The typical use is to be called by event::get_data.

Reimplemented in vsdk::io::range_event_data.

◆ process() [2/3]

virtual void vsdk::io::event_data::process ( const state_event * e)
inlinevirtual

Process an event object.

For each type of event available, there will be a process function. It will be called by vsdk::io::event subclasses to retrieve data.

Parameters
eThe event the data will come from.
Note
Typically this will not be used by the end user. The typical use is to be called by event::get_data.

Reimplemented in vsdk::io::state_event_data.

◆ process() [3/3]

virtual void vsdk::io::event_data::process ( const threshold_event * e)
inlinevirtual

Process an event object.

For each type of event available, there will be a process function. It will be called by vsdk::io::event subclasses to retrieve data.

Parameters
eThe event the data will come from.
Note
Typically this will not be used by the end user. The typical use is to be called by event::get_data.

Reimplemented in vsdk::io::threshold_event_data.


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