rc_accessor< sc_signal_inout_if< bool > > Class Template Reference

#include <rc_signal_accessors.h>

Inheritance diagram for rc_accessor< sc_signal_inout_if< bool > >:

rc_signal_accessor_edged_base< bool > rc_reset_channel_if rc_signal_accessor_base< bool > rc_abstract_accessor< sc_signal_inout_if< bool > > rc_abstract_accessor_b rc_interface_wrapper::accessor rc_interface_wrapper_base::accessor_base rc_interface_wrapper_base::accessor_base rc_interface_filter rc_event_filter rc_interface_filter rc_event_filter

List of all members.


Detailed Description

template<>
class ReChannel::rc_accessor< sc_signal_inout_if< bool > >

Accessor for signal<bool> (input+output).

Definition at line 358 of file rc_signal_accessors.h.


Public Types

typedef
sc_signal_inout_if
< bool > 
if_type

Public Member Functions

 rc_accessor ()
virtual sc_reset * is_reset () const

Protected Member Functions

virtual void register_process_control (rc_process_control &pctrl, bool active_level) const
 Registers a process control at the channel's reset list.
virtual void unregister_process_control (rc_process_control &pctrl) const
 Unregisters a process control from the channel's reset list.
virtual bool get_current_level () const
 Returns the reset channel's current level.
virtual const
sc_signal< bool > * 
get_underlying_reset_signal () const
 Returns the underlying SystemC signal (if such exists).

Private Types

typedef rc_accessor
< sc_signal_inout_if
< bool > > 
this_type
typedef
internals::reset_signal 
reset_signal_type

Private Member Functions

reset_signal_type_rc_get_reset_signal () const
void _rc_reset_updater_proc ()

Private Attributes

reset_signal_typep_reset_signal

Member Typedef Documentation

typedef rc_accessor<sc_signal_inout_if<bool> > this_type [private]

Reimplemented from rc_abstract_accessor< sc_signal_inout_if< bool > >.

Definition at line 363 of file rc_signal_accessors.h.

typedef internals::reset_signal reset_signal_type [private]

Definition at line 364 of file rc_signal_accessors.h.

typedef sc_signal_inout_if<bool> if_type

Reimplemented from rc_signal_accessor_edged_base< bool >.

Definition at line 367 of file rc_signal_accessors.h.


Constructor & Destructor Documentation

rc_accessor (  )  [inline]

Definition at line 369 of file rc_signal_accessors.h.


Member Function Documentation

virtual sc_reset* is_reset (  )  const [inline, virtual]

Definition at line 374 of file rc_signal_accessors.h.

void register_process_control ( rc_process_control pctrl,
bool  active_level 
) const [protected, virtual]

Registers a process control at the channel's reset list.

Parameters:
pctrl The process control object that shall be deactivated in case of a reset.
active_level The reset trigger level (high or low).
See also:
rc_process_control

Implements rc_reset_channel_if.

Definition at line 87 of file rc_signal_accessors.cpp.

void unregister_process_control ( rc_process_control pctrl  )  const [protected, virtual]

Unregisters a process control from the channel's reset list.

Parameters:
pctrl The process control object that shall be unregistered
The opposite of register_process_control().

See also:
rc_process_control

Implements rc_reset_channel_if.

Definition at line 94 of file rc_signal_accessors.cpp.

virtual bool get_current_level (  )  const [inline, protected, virtual]

Returns the reset channel's current level.

Returns:
the current level of the channel.

Implements rc_reset_channel_if.

Definition at line 392 of file rc_signal_accessors.h.

virtual const sc_signal<bool>* get_underlying_reset_signal (  )  const [inline, protected, virtual]

Returns the underlying SystemC signal (if such exists).

Returns:
a SystemC signal this channel is based on.
Note:
SystemC's reset mechanism is not standardised. Hence for some SystemC implementations (e.g. OSCI SystemC) it may be useful to have access to a native channel.
See also:
sc_core::sc_signal_inout_if::reset_is()

Implements rc_reset_channel_if.

Definition at line 395 of file rc_signal_accessors.h.

rc_accessor< sc_signal_inout_if< bool > >::reset_signal_type & _rc_get_reset_signal (  )  const [private]

Definition at line 101 of file rc_signal_accessors.cpp.

void _rc_reset_updater_proc (  )  [private]

Definition at line 121 of file rc_signal_accessors.cpp.


Member Data Documentation

reset_signal_type* p_reset_signal [mutable, private]

Definition at line 405 of file rc_signal_accessors.h.


The documentation for this class was generated from the following files:
Generated on Tue Jan 1 23:14:09 2008 for ReChannel by  doxygen 1.5.3