ewmscp  ..
Public Member Functions | Private Attributes | List of all members
commandSender::flushDomain Class Reference

class to flush output on scope basis. More...

Collaboration diagram for commandSender::flushDomain:
[legend]

Public Member Functions

 flushDomain (commandSender &aSender)
 
 ~flushDomain ()
 

Private Attributes

commandSendersender
 

Detailed Description

class to flush output on scope basis.

Definition at line 625 of file inotify_watch.cpp.

Constructor & Destructor Documentation

◆ flushDomain()

commandSender::flushDomain::flushDomain ( commandSender aSender)
inline

Definition at line 628 of file inotify_watch.cpp.

628  : sender(aSender) {
629  sender.needFlush = false;
630  };

References commandSender::needFlush, and sender.

◆ ~flushDomain()

commandSender::flushDomain::~flushDomain ( )
inline

Definition at line 631 of file inotify_watch.cpp.

631  {
632  if (sender.needFlush) {
633  sender.flush();
634  }
635  }

References commandSender::flush(), commandSender::needFlush, and sender.

Here is the call graph for this function:

Member Data Documentation

◆ sender

commandSender& commandSender::flushDomain::sender
private

Definition at line 626 of file inotify_watch.cpp.

Referenced by flushDomain(), and ~flushDomain().


The documentation for this class was generated from the following file:
commandSender::flushDomain::sender
commandSender & sender
Definition: inotify_watch.cpp:626
commandSender::flush
void flush()
Definition: inotify_watch.cpp:613
commandSender::needFlush
bool needFlush
Definition: inotify_watch.cpp:596