| S3FC project page | S3FC home page | 
#include <s3_periodic_notifier.h>
Inheritance diagram for s3_periodic_notifier::event_loop:


Public Methods | |
| event_loop () | |
| ~event_loop () | |
| void | add_client (s3_periodic_notifier *n_id) | 
| void | remove_client (s3_periodic_notifier *n_id) | 
| void | set_period (s3_periodic_notifier *id, const period_t &n_period) | 
| bool | clients () const | 
Private Types | |
| typedef s3_periodic_notifier * | notifier_id_t | 
| typedef std::map< s3_periodic_notifier *, period_t >  | list_t | 
Private Methods | |
| bool | is_client (s3_periodic_notifier *n_id) | 
| virtual void | main_loop () | 
| Function that is invoked as the main loop in its own thread. More... | |
Private Attributes | |
| std::map< s3_periodic_notifier *, period_t >  | client_list | 
| s3_mutex | state_lock | 
| State lock mutex. More... | |
Definition at line 98 of file s3_periodic_notifier.h.
      
  | 
  
| 
 
 Definition at line 102 of file s3_periodic_notifier.h.  | 
  
      
  | 
  
| 
 
 Definition at line 101 of file s3_periodic_notifier.h.  | 
  
      
  | 
  
| 
 
 Definition at line 50 of file s3_periodic_notifier.cc. References s3_thread_base::start.  | 
  
      
  | 
  
| 
 
 Definition at line 57 of file s3_periodic_notifier.cc. References s3_thread_base::request_terminate, and s3_thread_base::wait_on_exit.  | 
  
      
  | 
  
| 
 
 Definition at line 65 of file s3_periodic_notifier.cc. References client_list, is_client, s3_mutex::lock, state_lock, and s3_mutex::unlock. Referenced by s3_periodic_notifier::s3_periodic_notifier.  | 
  
      
  | 
  
| 
 
 Definition at line 123 of file s3_periodic_notifier.cc. References client_list, s3_mutex::lock, state_lock, and s3_mutex::unlock. Referenced by s3_periodic_notifier::~s3_periodic_notifier.  | 
  
      
  | 
  
| 
 
 Definition at line 134 of file s3_periodic_notifier.cc. References client_list. Referenced by add_client, remove_client, and set_period.  | 
  
      
  | 
  
| 
 Function that is invoked as the main loop in its own thread. Override this in derived class. 
 
 Implements s3_thread_base. Definition at line 140 of file s3_periodic_notifier.cc. References client_list, s3_mutex::lock, state_lock, s3_thread_base::test_terminate, and s3_mutex::unlock.  | 
  
      
  | 
  
| 
 
 Definition at line 84 of file s3_periodic_notifier.cc. References client_list, is_client, s3_mutex::lock, state_lock, and s3_mutex::unlock. Referenced by s3_periodic_notifier::~s3_periodic_notifier.  | 
  
      
  | 
  ||||||||||||
| 
 
 Definition at line 103 of file s3_periodic_notifier.cc. References client_list, is_client, s3_mutex::lock, s3_periodic_notifier::period_t, state_lock, and s3_mutex::unlock. Referenced by s3_periodic_notifier::s3_periodic_notifier, and s3_periodic_notifier::set_period.  | 
  
      
  | 
  
| 
 
 Definition at line 104 of file s3_periodic_notifier.h. Referenced by add_client, clients, is_client, main_loop, remove_client, and set_period.  | 
  
      
  | 
  
| 
 State lock mutex. 
 Reimplemented from s3_thread_base. Definition at line 105 of file s3_periodic_notifier.h. Referenced by add_client, clients, main_loop, remove_client, and set_period.  | 
  
| Send comments to: s3fc@stonethree.com | 
       
       |