PLaSK library
Loading...
Searching...
No Matches
plask::ReceiverBase Struct Reference

Common non-template base for all receivers. More...

#include <plask/provider/provider.hpp>

Inheritance diagram for plask::ReceiverBase:
[legend]

Public Types

enum class  ChangeReason { REASON_DELETE , REASON_VALUE , REASON_PROVIDER }
 The reason of change of provider value. More...
 

Public Member Functions

virtual ~ReceiverBase ()
 

Detailed Description

Common non-template base for all receivers.

This class is useful for metaprogramming and also can be used for holding pointers to receivers.

Definition at line 224 of file provider.hpp.

Member Enumeration Documentation

◆ ChangeReason

The reason of change of provider value.

Enumerator
REASON_DELETE 

this receiver is being deleted

REASON_VALUE 

value of provider has just been changed

REASON_PROVIDER 

provider has just been exchanged to another one

Definition at line 227 of file provider.hpp.

Constructor & Destructor Documentation

◆ ~ReceiverBase()

virtual plask::ReceiverBase::~ReceiverBase ( )
inlinevirtual

Definition at line 233 of file provider.hpp.


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