rc_abstract_accessor.h File Reference


Detailed Description

Definition of class rc_abstract_accessor.

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

Definition in file rc_abstract_accessor.h.

Go to the source code of this file.

Namespaces

namespace  ReChannel

Classes

class  rc_abstract_accessor_b
 Base class of an abstract accessor. More...
class  rc_abstract_accessor
 Abstract base class of an accessor. More...

Defines

#define _RECHANNEL_ACCESSOR_NB_FW_(if_method_args, wrapper_call)
#define _RECHANNEL_ACCESSOR_FW_(if_method_args, wrapper_call)
#define _RECHANNEL_ACCESSOR_NB_FW(if_method_args)
#define _RECHANNEL_ACCESSOR_FW(if_method_args)
#define _RECHANNEL_ACCESSOR_NB_FW_DRV(if_method_args, drv_call_args)
#define _RECHANNEL_ACCESSOR_FW_DRV(if_method_args, drv_call_args)


Define Documentation

#define _RECHANNEL_ACCESSOR_FW ( if_method_args   ) 

Value:

_RECHANNEL_ACCESSOR_FW_( \
        if_method_args, \
        ((p_target_wrapper->get_interface_access()->*method) \
            if_method_args))

Definition at line 243 of file rc_abstract_accessor.h.

Referenced by rc_abstract_accessor< sc_signal_in_if< sc_dt::sc_logic > >::rc_forward().

#define _RECHANNEL_ACCESSOR_FW_ ( if_method_args,
wrapper_call   ) 

Value:

rc_process_handle hproc = rc_get_current_process_handle(); \
    while(true) { \
        try { \
            if (p_target_if != NULL) { \
                rc_process_behavior_change temp = \
                    this->_rc_process_behavior_change(hproc); \
                return ((p_target_if->*method)if_method_args); \
            } else if (p_target_wrapper != NULL) { \
                return (wrapper_call); \
            } \
        } catch(rc_process_cancel_exception* e) { \
            if (hproc.is_canceled()) { \
                ::ReChannel::rc_throw(e); \
            } else { \
                delete e; /* consume cancel exception */ \
            } \
        } \
        this->_rc_wait_activation(); \
    }

Definition at line 216 of file rc_abstract_accessor.h.

#define _RECHANNEL_ACCESSOR_FW_DRV ( if_method_args,
drv_call_args   ) 

Value:

_RECHANNEL_ACCESSOR_FW_( \
        if_method_args, \
        (p_target_wrapper->get_driver_access( \
            _rc_driver_process_index(hproc))->call drv_call_args))

Definition at line 256 of file rc_abstract_accessor.h.

Referenced by rc_abstract_accessor< sc_signal_in_if< sc_dt::sc_logic > >::rc_forward_driver().

#define _RECHANNEL_ACCESSOR_NB_FW ( if_method_args   ) 

Value:

_RECHANNEL_ACCESSOR_NB_FW_( \
        if_method_args, \
        ((p_target_wrapper->get_nb_interface_access()->*method) \
            if_method_args))

Definition at line 237 of file rc_abstract_accessor.h.

Referenced by rc_abstract_accessor< sc_signal_in_if< sc_dt::sc_logic > >::rc_nb_forward().

#define _RECHANNEL_ACCESSOR_NB_FW_ ( if_method_args,
wrapper_call   ) 

Value:

try { \
        if (p_target_if != NULL) { \
            return ((p_target_if->*method)if_method_args); \
        } else if (p_target_wrapper != NULL) { \
            return (wrapper_call); \
        } \
    } catch(rc_process_cancel_exception* e) { \
        rc_process_handle hproc = rc_get_current_process_handle(); \
        if (hproc.is_canceled()) { \
            ::ReChannel::rc_throw(e); \
        } else { \
            delete e; /* consume cancel exception */ \
        } \
    } \
    return ((rc_get_fallback_if().*method)if_method_args);

Definition at line 199 of file rc_abstract_accessor.h.

#define _RECHANNEL_ACCESSOR_NB_FW_DRV ( if_method_args,
drv_call_args   ) 

Value:

_RECHANNEL_ACCESSOR_NB_FW_( \
        if_method_args, \
        (p_target_wrapper->get_nb_driver_access( \
            _rc_nb_driver_process_index(sc_get_current_process_handle())) \
                ->call drv_call_args))

Definition at line 249 of file rc_abstract_accessor.h.

Referenced by rc_abstract_accessor< sc_signal_in_if< sc_dt::sc_logic > >::rc_nb_forward_driver().


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