Sen API
Sen Libraries
Loading...
Searching...
No Matches
sen::db::Event Class Reference

Represents the emission of an event by some object. More...

#include <event.h>

Public Member Functions

 ~Event ()=default
ObjectId getObjectId () const noexcept
 The ID of the object that emitted the event.
const ::sen::EventgetEvent () const noexcept
 The meta information about the event.
const std::vector< Var > & getArgsAsVariants () const
 The list of arguments, as variants.
Span< const uint8_t > getArgsAsBuffer () const noexcept
 The list of arguments, as a (serialized) binary buffer.

Friends

class Input

Detailed Description

Represents the emission of an event by some object.

Constructor & Destructor Documentation

◆ ~Event()

sen::db::Event::~Event ( )
default

Member Function Documentation

◆ getObjectId()

ObjectId sen::db::Event::getObjectId ( ) const
nodiscardnoexcept

The ID of the object that emitted the event.

◆ getEvent()

const ::sen::Event * sen::db::Event::getEvent ( ) const
nodiscardnoexcept

The meta information about the event.

◆ getArgsAsVariants()

const std::vector< Var > & sen::db::Event::getArgsAsVariants ( ) const
nodiscard

The list of arguments, as variants.

◆ getArgsAsBuffer()

Span< const uint8_t > sen::db::Event::getArgsAsBuffer ( ) const
nodiscardnoexcept

The list of arguments, as a (serialized) binary buffer.

◆ Input

friend class Input
friend

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