gem5  v21.2.1.1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
sc_core::sc_fifo_out< T > Class Template Reference

#include <sc_fifo_out.hh>

Inheritance diagram for sc_core::sc_fifo_out< T >:
sc_core::sc_port< sc_fifo_out_if< T >, 0 > sc_core::sc_port_b< sc_fifo_out_if< T > > sc_core::sc_port_base sc_core::sc_object

Public Member Functions

 sc_fifo_out ()
 
 sc_fifo_out (const char *name)
 
virtual ~sc_fifo_out ()
 
 sc_fifo_out (const sc_fifo_out_if< T > &interface)
 
 sc_fifo_out (const char *name, const sc_fifo_out_if< T > &interface)
 
 sc_fifo_out (sc_port_b< sc_fifo_out_if< T > > &parent)
 
 sc_fifo_out (const char *name, sc_port_b< sc_fifo_out_if< T > > &parent)
 
 sc_fifo_out (sc_port< sc_fifo_out_if< T >, 0 > &parent)
 
 sc_fifo_out (const char *name, sc_port< sc_fifo_out_if< T >, 0 > &parent)
 
void write (const T &t)
 
bool nb_write (const T &t)
 
const sc_eventdata_read_event () const
 
sc_event_finderdata_read () const
 
int num_free () const
 
virtual const char * kind () const
 
- Public Member Functions inherited from sc_core::sc_port< sc_fifo_out_if< T >, 0 >
 sc_port ()
 
 sc_port (const char *name)
 
 sc_port (const sc_fifo_out_if< T > &interface)
 
 sc_port (const char *name, const sc_fifo_out_if< T > &interface)
 
 sc_port (sc_port_b< sc_fifo_out_if< T > > &parent)
 
 sc_port (const char *name, sc_port_b< sc_fifo_out_if< T > > &parent)
 
 sc_port (sc_port< sc_fifo_out_if< T >, N, SC_ONE_OR_MORE_BOUND > &parent)
 
 sc_port (const char *name, sc_port< sc_fifo_out_if< T >, N, SC_ONE_OR_MORE_BOUND > &parent)
 
virtual ~sc_port ()
 
virtual const char * kind () const override
 
- Public Member Functions inherited from sc_core::sc_port_b< sc_fifo_out_if< T > >
void operator() (sc_fifo_out_if< T > &i)
 
void operator() (sc_port_b< sc_fifo_out_if< T > > &p)
 
virtual void bind (sc_fifo_out_if< T > &i)
 
virtual void bind (sc_port_b< sc_fifo_out_if< T > > &p)
 
sc_fifo_out_if< T > * operator-> ()
 
const sc_fifo_out_if< T > * operator-> () const
 
sc_fifo_out_if< T > * operator[] (int n)
 
const sc_fifo_out_if< T > * operator[] (int n) const
 
sc_interfaceget_interface ()
 
const sc_interfaceget_interface () const
 
- Public Member Functions inherited from sc_core::sc_port_base
 sc_port_base (const char *name, int n, sc_port_policy p)
 
virtual ~sc_port_base ()
 
void warn_port_constructor () const
 
int maxSize () const
 
int size () const
 
const char * kind () const
 
- Public Member Functions inherited from sc_core::sc_object
const char * name () const
 
const char * basename () const
 
virtual void print (std::ostream &=std::cout) const
 
virtual void dump (std::ostream &=std::cout) const
 
virtual const std::vector< sc_object * > & get_child_objects () const
 
virtual const std::vector< sc_event * > & get_child_events () const
 
sc_objectget_parent_object () const
 
bool add_attribute (sc_attr_base &)
 
sc_attr_baseget_attribute (const std::string &)
 
sc_attr_baseremove_attribute (const std::string &)
 
void remove_all_attributes ()
 
int num_attributes () const
 
sc_attr_cltnattr_cltn ()
 
const sc_attr_cltnattr_cltn () const
 
sc_simcontextsimcontext () const
 

Private Member Functions

 sc_fifo_out (const sc_fifo_out< T > &)
 
sc_fifo_out< T > & operator= (const sc_fifo_out< T > &)
 

Private Attributes

sc_event_finder_t< sc_fifo_out_if< T > > _dataReadFinder
 

Additional Inherited Members

- Protected Member Functions inherited from sc_core::sc_port_b< sc_fifo_out_if< T > >
void before_end_of_elaboration () override
 
void end_of_elaboration () override
 
void start_of_simulation () override
 
void end_of_simulation () override
 
 sc_port_b (int n, sc_port_policy p)
 
 sc_port_b (const char *name, int n, sc_port_policy p)
 
virtual ~sc_port_b ()
 
int vbind (sc_interface &i) override
 
int vbind (sc_port_base &pb) override
 
- Protected Member Functions inherited from sc_core::sc_port_base
void bind (sc_interface &)
 
void bind (sc_port_base &)
 
void report_error (const char *id, const char *add_msg) const
 
- Protected Member Functions inherited from sc_core::sc_object
 sc_object ()
 
 sc_object (const char *)
 
 sc_object (const sc_object &)
 
sc_objectoperator= (const sc_object &)
 
virtual ~sc_object ()
 

Detailed Description

template<class T>
class sc_core::sc_fifo_out< T >

Definition at line 41 of file sc_fifo_out.hh.

Constructor & Destructor Documentation

◆ sc_fifo_out() [1/9]

template<class T >
sc_core::sc_fifo_out< T >::sc_fifo_out ( )
inline

Definition at line 44 of file sc_fifo_out.hh.

◆ sc_fifo_out() [2/9]

template<class T >
sc_core::sc_fifo_out< T >::sc_fifo_out ( const char *  name)
inlineexplicit

Definition at line 47 of file sc_fifo_out.hh.

◆ ~sc_fifo_out()

template<class T >
virtual sc_core::sc_fifo_out< T >::~sc_fifo_out ( )
inlinevirtual

Definition at line 51 of file sc_fifo_out.hh.

◆ sc_fifo_out() [3/9]

template<class T >
sc_core::sc_fifo_out< T >::sc_fifo_out ( const sc_fifo_out_if< T > &  interface)
inlineexplicit

Definition at line 54 of file sc_fifo_out.hh.

◆ sc_fifo_out() [4/9]

template<class T >
sc_core::sc_fifo_out< T >::sc_fifo_out ( const char *  name,
const sc_fifo_out_if< T > &  interface 
)
inline

Definition at line 58 of file sc_fifo_out.hh.

◆ sc_fifo_out() [5/9]

template<class T >
sc_core::sc_fifo_out< T >::sc_fifo_out ( sc_port_b< sc_fifo_out_if< T > > &  parent)
inlineexplicit

Definition at line 62 of file sc_fifo_out.hh.

◆ sc_fifo_out() [6/9]

template<class T >
sc_core::sc_fifo_out< T >::sc_fifo_out ( const char *  name,
sc_port_b< sc_fifo_out_if< T > > &  parent 
)
inline

Definition at line 66 of file sc_fifo_out.hh.

◆ sc_fifo_out() [7/9]

template<class T >
sc_core::sc_fifo_out< T >::sc_fifo_out ( sc_port< sc_fifo_out_if< T >, 0 > &  parent)
inlineexplicit

Definition at line 70 of file sc_fifo_out.hh.

◆ sc_fifo_out() [8/9]

template<class T >
sc_core::sc_fifo_out< T >::sc_fifo_out ( const char *  name,
sc_port< sc_fifo_out_if< T >, 0 > &  parent 
)
inline

Definition at line 74 of file sc_fifo_out.hh.

◆ sc_fifo_out() [9/9]

template<class T >
sc_core::sc_fifo_out< T >::sc_fifo_out ( const sc_fifo_out< T > &  )
inlineprivate

Definition at line 92 of file sc_fifo_out.hh.

Member Function Documentation

◆ data_read()

template<class T >
sc_event_finder& sc_core::sc_fifo_out< T >::data_read ( ) const
inline

Definition at line 86 of file sc_fifo_out.hh.

References sc_core::sc_fifo_out< T >::_dataReadFinder.

◆ data_read_event()

template<class T >
const sc_event& sc_core::sc_fifo_out< T >::data_read_event ( ) const
inline

Definition at line 82 of file sc_fifo_out.hh.

◆ kind()

template<class T >
virtual const char* sc_core::sc_fifo_out< T >::kind ( ) const
inlinevirtual

Reimplemented from sc_core::sc_object.

Definition at line 88 of file sc_fifo_out.hh.

◆ nb_write()

template<class T >
bool sc_core::sc_fifo_out< T >::nb_write ( const T &  t)
inline

Definition at line 80 of file sc_fifo_out.hh.

References gem5::ArmISA::t.

◆ num_free()

template<class T >
int sc_core::sc_fifo_out< T >::num_free ( ) const
inline

Definition at line 87 of file sc_fifo_out.hh.

◆ operator=()

template<class T >
sc_fifo_out<T>& sc_core::sc_fifo_out< T >::operator= ( const sc_fifo_out< T > &  )
inlineprivate

Definition at line 93 of file sc_fifo_out.hh.

◆ write()

template<class T >
void sc_core::sc_fifo_out< T >::write ( const T &  t)
inline

Definition at line 79 of file sc_fifo_out.hh.

References gem5::ArmISA::t.

Member Data Documentation

◆ _dataReadFinder

template<class T >
sc_event_finder_t<sc_fifo_out_if<T> > sc_core::sc_fifo_out< T >::_dataReadFinder
mutableprivate

Definition at line 95 of file sc_fifo_out.hh.

Referenced by sc_core::sc_fifo_out< T >::data_read().


The documentation for this class was generated from the following file:

Generated on Wed May 4 2022 12:16:38 for gem5 by doxygen 1.8.17