Otawa  0.10
otawa::hard::Bus Class Reference

A bus that tie together several memory banks. More...

#include <otawa/hard/Memory.h>

Public Types

enum  type_t { LOCAL = 0, SHARED = 1 }
 Type of used bus. More...
 
typedef enum
otawa::hard::Bus::type_t 
type_t
 

Public Member Functions

 Bus (void)
 Default bus building: More...
 
const stringname (void) const
 
type_t type (void) const
 

Private Member Functions

 SERIALIZABLE (Bus, field("name", _name)&field("type", _type))
 

Private Attributes

string _name
 
type_t _type
 

Detailed Description

A bus that tie together several memory banks.

Author
H. Cassé casse.nosp@m.@iri.nosp@m.t.fr

Member Typedef Documentation

Member Enumeration Documentation

Type of used bus.

Either otawa::hard::Bus::LOCAL for an in-chip bus or otawa::hard::Bus::SHARED for a bus by different active parts.

Enumerator
LOCAL 
SHARED 

Constructor & Destructor Documentation

otawa::hard::Bus::Bus ( void  )
inline

Default bus building:

Member Function Documentation

const string& otawa::hard::Bus::name ( void  ) const
inline
otawa::hard::Bus::SERIALIZABLE ( Bus  ,
field("name", _name)&field("type", _type)   
)
private
type_t otawa::hard::Bus::type ( void  ) const
inline

Member Data Documentation

string otawa::hard::Bus::_name
private
type_t otawa::hard::Bus::_type
private

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