rc_process_support.h File Reference


Detailed Description

Date
Revision

Author:
Armin Felke <felke@cs.uni-bonn.de>

Definition in file rc_process_support.h.

Go to the source code of this file.

Namespaces

namespace  ReChannel
namespace  ReChannel::internals

Classes

class  process_support
 This class provides support for resettable processes. More...
class  process_support::process_info
 This class is used to store additional process information (internally used). More...
class  rc_process_reset
 This class resets resettable processes in the same delta cycle. More...

Defines

#define RC_HAS_RECONFIGURABLE_PROCESS(user_module_name)
#define RC_RECONFIGURABLE_METHOD(func)
#define RC_RECONFIGURABLE_THREAD(func)
#define RC_RECONFIGURABLE_CTHREAD(func, edge)
#define RC_NO_RECONFIGURABLE_PROCESS_RESET(pbc_name)
#define RC_HAS_PROCESS(user_module_name)   RC_HAS_RECONFIGURABLE_PROCESS(user_module_name)
#define RC_METHOD(func)   RC_RECONFIGURABLE_METHOD(func)
#define RC_THREAD(func)   RC_RECONFIGURABLE_THREAD(func)
#define RC_CTHREAD(func, edge)   RC_RECONFIGURABLE_CTHREAD(func, edge)
#define RC_NO_RESET   RC_NO_RECONFIGURABLE_PROCESS_RESET(_rc_tmp_pbc)
#define _RC_DECLARE_TRANSACTION
#define RC_TRANSACTION   _RC_DECLARE_TRANSACTION


Define Documentation

#define _RC_DECLARE_TRANSACTION

Value:

for(rc_transaction _rc_tmp_trans( \
        this->_rc_process_support.get_reconfigurable_context()); \
        !_rc_tmp_trans.has_ended(); \
        _rc_tmp_trans.end())

Definition at line 510 of file rc_process_support.h.

#define RC_CTHREAD ( func,
edge   )     RC_RECONFIGURABLE_CTHREAD(func, edge)

Definition at line 504 of file rc_process_support.h.

#define RC_HAS_PROCESS ( user_module_name   )     RC_HAS_RECONFIGURABLE_PROCESS(user_module_name)

Definition at line 495 of file rc_process_support.h.

#define RC_HAS_RECONFIGURABLE_PROCESS ( user_module_name   ) 

Definition at line 327 of file rc_process_support.h.

#define RC_METHOD ( func   )     RC_RECONFIGURABLE_METHOD(func)

Definition at line 498 of file rc_process_support.h.

#define RC_NO_RECONFIGURABLE_PROCESS_RESET ( pbc_name   ) 

Value:

for(rc_process_behavior_change pbc_name = \
        this->_rc_process_support.disable_process_control(); \
        !pbc_name.is_released(); \
        pbc_name.release())

Definition at line 489 of file rc_process_support.h.

#define RC_NO_RESET   RC_NO_RECONFIGURABLE_PROCESS_RESET(_rc_tmp_pbc)

Definition at line 507 of file rc_process_support.h.

#define RC_RECONFIGURABLE_CTHREAD ( func,
edge   ) 

Value:

if (true) { \
        this->_rc_process_support.declare_process( \
            *this, \
            boost::bind( \
                &RC_CURRENT_USER_MODULE::_rc_declare_thread, this), \
            boost::bind( \
                &RC_CURRENT_USER_MODULE::func, this), \
            this->sensitive, true, true, true); \
        this->sensitive << edge; \
    } else (void)0

Definition at line 477 of file rc_process_support.h.

#define RC_RECONFIGURABLE_METHOD ( func   ) 

Value:

if (true) { \
        if (this->_rc_process_support.has_reconfigurable_context()) { \
            this->_rc_process_support.declare_process( \
                *this, \
                boost::bind( \
                    &RC_CURRENT_USER_MODULE::_rc_declare_method, this), \
                boost::bind( \
                    &RC_CURRENT_USER_MODULE::func, this), \
                this->sensitive); \
        } else { \
            SC_METHOD(func); \
        } \
    } else (void)0

Definition at line 451 of file rc_process_support.h.

#define RC_RECONFIGURABLE_THREAD ( func   ) 

Value:

if (true) { \
        this->_rc_process_support.declare_process( \
            *this, \
            boost::bind( \
                &RC_CURRENT_USER_MODULE::_rc_declare_thread, this), \
            boost::bind( \
                &RC_CURRENT_USER_MODULE::func, this), \
            this->sensitive, true, false, false); \
    } else (void)0

Definition at line 466 of file rc_process_support.h.

#define RC_THREAD ( func   )     RC_RECONFIGURABLE_THREAD(func)

Definition at line 501 of file rc_process_support.h.

#define RC_TRANSACTION   _RC_DECLARE_TRANSACTION

Definition at line 516 of file rc_process_support.h.


Generated on Tue Jan 1 23:14:07 2008 for ReChannel by  doxygen 1.5.3