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

#include <Process.h>

+ Collaboration diagram for Process::FileContextLease:

Public Member Functions

File * get () const
 
SharedPointer< ControllingTerminal > context () const
 
File * operator-> () const
 
 operator bool () const
 
void reset ()
 

Private Member Functions

 FileContextLease (const FileContextLease &)=delete
 
FileContextLease & operator= (const FileContextLease &)=delete
 
 FileContextLease (FileContextLease &&)=delete
 
FileContextLease & operator= (FileContextLease &&)=delete
 

Private Attributes

File * m_pFile
 
TerminationDeferral m_TerminationDeferral
 
SharedPointer< ControllingTerminal > m_Context
 

Friends

class Process
 

Detailed Description

Retains the acquired terminal context for a thread-affine lexical operation.

Definition at line 226 of file Process.h.

Constructor & Destructor Documentation

◆ FileContextLease()

Process::FileContextLease::FileContextLease ( )

Definition at line 483 of file Process.cc.

Member Function Documentation

◆ context()

SharedPointer< ControllingTerminal > Process::FileContextLease::context ( ) const
inline

Definition at line 234 of file Process.h.

◆ get()

File * Process::FileContextLease::get ( ) const
inline

Definition at line 231 of file Process.h.

◆ operator bool()

Process::FileContextLease::operator bool ( ) const
inlineexplicit

Definition at line 242 of file Process.h.

◆ operator->()

File * Process::FileContextLease::operator-> ( ) const
inline

Definition at line 238 of file Process.h.

◆ reset()

void Process::FileContextLease::reset ( )

Definition at line 488 of file Process.cc.

Friends And Related Symbol Documentation

◆ Process

friend class Process
friend

Definition at line 249 of file Process.h.

Member Data Documentation

◆ m_Context

SharedPointer<ControllingTerminal> Process::FileContextLease::m_Context
private

Definition at line 258 of file Process.h.

◆ m_pFile

File* Process::FileContextLease::m_pFile
private

Definition at line 256 of file Process.h.

◆ m_TerminationDeferral

TerminationDeferral Process::FileContextLease::m_TerminationDeferral
private

Definition at line 257 of file Process.h.


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