The Pedigree Project 0.1
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
Event::SendLease Class Reference

#include <Event.h>

+ Collaboration diagram for Event::SendLease:

Public Member Functions

 SendLease (SendLease &&other) noexcept
 
SendLeaseoperator= (SendLease &&other) noexcept
 
 operator bool () const
 

Private Member Functions

 SendLease (Event *event)
 
void reset ()
 
 SendLease (const SendLease &)=delete
 
SendLeaseoperator= (const SendLease &)=delete
 

Private Attributes

Eventm_pEvent
 

Friends

class Event
 
class Thread
 

Detailed Description

Pins Event storage across one Thread::sendEvent admission attempt.

Definition at line 65 of file Event.h.

Constructor & Destructor Documentation

◆ SendLease() [1/3]

Event::SendLease::SendLease ( )

Definition at line 50 of file Event.cc.

◆ SendLease() [2/3]

Event::SendLease::SendLease ( SendLease &&  other)
noexcept

Definition at line 54 of file Event.cc.

◆ ~SendLease()

Event::SendLease::~SendLease ( )

Definition at line 58 of file Event.cc.

◆ SendLease() [3/3]

Event::SendLease::SendLease ( Event event)
explicitprivate

Definition at line 52 of file Event.cc.

Member Function Documentation

◆ operator bool()

Event::SendLease::operator bool ( ) const
inlineexplicit

Definition at line 73 of file Event.h.

◆ operator=()

Event::SendLease & Event::SendLease::operator= ( SendLease &&  other)
noexcept

Definition at line 62 of file Event.cc.

◆ reset()

void Event::SendLease::reset ( )
private

Definition at line 71 of file Event.cc.

Friends And Related Symbol Documentation

◆ Event

friend class Event
friend

Definition at line 78 of file Event.h.

◆ Thread

friend class Thread
friend

Definition at line 79 of file Event.h.

Member Data Documentation

◆ m_pEvent

Event* Event::SendLease::m_pEvent
private

Definition at line 87 of file Event.h.


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