Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

_scv_ext_rw.h File Reference

#include <assert.h>
#include <string>

Include dependency graph for _scv_ext_rw.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Compounds

class  _scv_extension_rw_base
class  _scv_extension_rw_enum
class  scv_extension_rw
class  scv_extension_rw< T * >
class  scv_extension_rw< T[N]>

Defines

#define _SCV_DEFAULT_RW_SYSC
#define _SCV_DEFAULT_RW
#define _SCV_INTROSPECTION_RW_FC_D_SYSC
#define _SCV_INTROSPECTION_RW_FC_D
#define _SCV_IMPLEMENT_RW(type_id)
#define _SCV_IMPLEMENT_RW_FULL(type_id)
#define _SCV_EXT_RW_FC_COMMON_SYSC_D
#define _SCV_EXT_RW_FC_D(basic_type, type_id)
#define _SCV_INTROSPECTION_BASE   scv_extension_rw<T>
#define _SCV_INTROSPECTION_BASE1   scv_extension_rw<T*>
#define _SCV_INTROSPECTION_BASE2   scv_extension_rw<T[N]>
#define _SCV_INTROSPECTION_BASE_ENUM   _scv_extension_rw_enum


Define Documentation

#define _SCV_DEFAULT_RW
 

Value:

virtual void assign(bool) { assert(0); } \
  virtual void assign(char) { assert(0); } \
  virtual void assign(unsigned char) { assert(0); } \
  virtual void assign(short) { assert(0); }          \
  virtual void assign(unsigned short) { assert(0); }         \
  virtual void assign(int) { assert(0); }          \
  virtual void assign(unsigned) { assert(0); }           \
  virtual void assign(long) { assert(0); }           \
  virtual void assign(unsigned long) { assert(0); }        \
  virtual void assign(long long) { assert(0); }          \
  virtual void assign(unsigned long long) { assert(0); } \
  virtual void assign(float) { assert(0); }          \
  virtual void assign(double) { assert(0); }           \
  virtual void assign(const string&) { assert(0); }        \
  virtual void assign(const sc_string&) { assert(0); }         \
  virtual void assign(const char *) { assert(0); }         \
                     \
  virtual bool get_bool() const  { assert(0); return false; } \
  virtual long long get_integer() const  { assert(0); return 0; }    \
  virtual unsigned long long get_unsigned() const { assert(0); return 0; } \
  virtual double get_double() const { assert(0); return 0; }       \
  virtual sc_string get_string() const { assert(0); return sc_string(""); } \
                     \
  _SCV_DEFAULT_RW_SYSC                 \

Definition at line 66 of file _scv_ext_rw.h.

#define _SCV_DEFAULT_RW_SYSC
 

Definition at line 64 of file _scv_ext_rw.h.

#define _SCV_EXT_RW_FC_COMMON_SYSC_D
 

Definition at line 350 of file _scv_ext_rw.h.

#define _SCV_EXT_RW_FC_D basic_type,
type_id   
 

Definition at line 358 of file _scv_ext_rw.h.

#define _SCV_IMPLEMENT_RW type_id   
 

Value:

const type_id& read() const { return *_get_instance(); } \
  void write(const type_id& rhs) { *_get_instance() = rhs; this->trigger_value_change_cb(); } \
  void _set_instance(type_id * p) { _instance = p; _set_instance_core_wrap(p); } \
  void _set_as_field(_scv_extension_util_record * parent,              \
          type_id * p, const string& name) { \
    if (p) _set_instance(p); \
    else if ( ! this->_get_parent() ) { this->_set_parent(parent,name); parent->_add_field(this); } \
  } \
  type_id* _get_instance() const { return _instance; } \
  type_id* get_instance() { \
    _scv_message::message(_scv_message::INTROSPECTION_GET_INSTANCE_USAGE); \
    return _instance; \
  } \
  const type_id* get_instance() const { return _instance; } \

Definition at line 127 of file _scv_ext_rw.h.

#define _SCV_IMPLEMENT_RW_FULL type_id   
 

Value:

_SCV_IMPLEMENT_RW(type_id); \
  virtual void _set_instance_core_wrap(void * p) {} \
  type_id * _instance; \

Definition at line 143 of file _scv_ext_rw.h.

#define _SCV_INTROSPECTION_BASE   scv_extension_rw<T>
 

Definition at line 775 of file _scv_ext_rw.h.

#define _SCV_INTROSPECTION_BASE1   scv_extension_rw<T*>
 

Definition at line 777 of file _scv_ext_rw.h.

#define _SCV_INTROSPECTION_BASE2   scv_extension_rw<T[N]>
 

Definition at line 779 of file _scv_ext_rw.h.

#define _SCV_INTROSPECTION_BASE_ENUM   _scv_extension_rw_enum
 

Definition at line 782 of file _scv_ext_rw.h.

#define _SCV_INTROSPECTION_RW_FC_D
 

Value:

virtual void assign(bool); \
  virtual void assign(char); \
  virtual void assign(unsigned char); \
  virtual void assign(short); \
  virtual void assign(unsigned short); \
  virtual void assign(int); \
  virtual void assign(unsigned); \
  virtual void assign(long); \
  virtual void assign(unsigned long); \
  virtual void assign(long long); \
  virtual void assign(unsigned long long); \
  virtual void assign(float); \
  virtual void assign(double); \
  virtual void assign(const string&); \
  virtual void assign(const sc_string&); \
  virtual void assign(const char *); \
  \
  virtual bool get_bool() const; \
  virtual long long get_integer() const; \
  virtual unsigned long long get_unsigned() const; \
  virtual double get_double() const; \
  virtual sc_string get_string() const; \
  \
  _SCV_INTROSPECTION_RW_FC_D_SYSC \

Definition at line 101 of file _scv_ext_rw.h.

#define _SCV_INTROSPECTION_RW_FC_D_SYSC
 

Definition at line 99 of file _scv_ext_rw.h.


Generated on Fri Jan 14 08:29:17 2005 for SystemC2.1beta11(excludingMSLib)(IncludingSCV)\nProvidedby:www.openverificationfoundation.org by doxygen1.2.18