My Project
Annwvyn::AnnUserSpaceEvent Class Reference

Base class of an event created by user space code. More...

#include <AnnUserSpaceEvent.hpp>

Collaboration diagram for Annwvyn::AnnUserSpaceEvent:

Public Types

using AnnUserSpaceEventTypeHash = size_t
 Define hash type. More...

Public Member Functions

 AnnUserSpaceEvent (const std::string &typeName)
 Create the event. More...
virtual ~AnnUserSpaceEvent ()=default
 Destruct the event. More...
AnnUserSpaceEventTypeHash getType () const
 Get the hash of the type of this event. More...

Private Attributes

const std::string eventTypeName
 Name of the type. More...
const AnnUserSpaceEventTypeHash eventTypeHash
 Hash of the type. More...

Detailed Description

Base class of an event created by user space code.

Definition at line 12 of file AnnUserSpaceEvent.hpp.

Member Typedef Documentation

◆ AnnUserSpaceEventTypeHash

Define hash type.

Definition at line 22 of file AnnUserSpaceEvent.hpp.

Constructor & Destructor Documentation

◆ AnnUserSpaceEvent()

AnnUserSpaceEvent::AnnUserSpaceEvent ( const std::string typeName)

Create the event.

Definition at line 8 of file AnnUserSpaceEvent.cpp.

◆ ~AnnUserSpaceEvent()

virtual Annwvyn::AnnUserSpaceEvent::~AnnUserSpaceEvent ( )

Destruct the event.

Member Function Documentation

◆ getType()

AnnUserSpaceEvent::AnnUserSpaceEventTypeHash AnnUserSpaceEvent::getType ( ) const

Get the hash of the type of this event.

Definition at line 19 of file AnnUserSpaceEvent.cpp.

Member Data Documentation

◆ eventTypeHash

const AnnUserSpaceEventTypeHash Annwvyn::AnnUserSpaceEvent::eventTypeHash

Hash of the type.

Definition at line 32 of file AnnUserSpaceEvent.hpp.

◆ eventTypeName

const std::string Annwvyn::AnnUserSpaceEvent::eventTypeName

Name of the type.

Definition at line 29 of file AnnUserSpaceEvent.hpp.

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