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

_scv_ext_callbacks.h File Reference

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_callbacks_base
class  _scv_extension_callbacks_enum
class  scv_extension_callbacks
class  scv_extension_callbacks< T * >
class  scv_extension_callbacks< T[N]>

Defines

#define _SCV_EXT_CALLBACKS_FC_D(basic_type, type_id)
#define _SCV_EXT_CALLBACKS_FC_1_D(basic_type, type_id)   _SCV_EXT_CALLBACKS_FC_D(basic_type,type_id);
#define _SCV_EXT_CALLBACKS_FC_N_D(basic_type)
#define _SCV_INTROSPECTION_BASE   scv_extension_callbacks<T>
#define _SCV_INTROSPECTION_BASE1   scv_extension_callbacks<T*>
#define _SCV_INTROSPECTION_BASE2   scv_extension_callbacks<T[N]>
#define _SCV_INTROSPECTION_BASE_ENUM   _scv_extension_callbacks_enum

Functions

 _SCV_EXT_CALLBACKS_FC_D (bool, bool)
 _SCV_EXT_CALLBACKS_FC_D (char, char)
 _SCV_EXT_CALLBACKS_FC_D (unsigned char, unsigned_char)
 _SCV_EXT_CALLBACKS_FC_D (short, short)
 _SCV_EXT_CALLBACKS_FC_D (int, int)
 _SCV_EXT_CALLBACKS_FC_D (long, long)
 _SCV_EXT_CALLBACKS_FC_D (float, float)
 _SCV_EXT_CALLBACKS_FC_D (double, double)
 _SCV_EXT_CALLBACKS_FC_N_D (test_uint)


Define Documentation

#define _SCV_EXT_CALLBACKS_FC_1_D basic_type,
type_id       _SCV_EXT_CALLBACKS_FC_D(basic_type,type_id);
 

Definition at line 246 of file _scv_ext_callbacks.h.

#define _SCV_EXT_CALLBACKS_FC_D basic_type,
type_id   
 

Value:

class _scv_extension_callbacks_ ## type_id  \
: public scv_extension_rand<basic_type> {  \
public:  \
  _scv_extension_callbacks_ ## type_id();  \
  virtual ~_scv_extension_callbacks_ ## type_id();  \
  \
  virtual scv_extensions_if::callback_h _register_cb(scv_extensions_if::callback_base * c);  \
  virtual void remove_cb(scv_extensions_if::callback_h id);  \
  \
     \
     \
};  \
  \
template<>                                                   \
class scv_extension_callbacks<basic_type>                    \
  : public _scv_extension_callbacks_ ## type_id {};     \

Definition at line 227 of file _scv_ext_callbacks.h.

#define _SCV_EXT_CALLBACKS_FC_N_D basic_type   
 

Value:

template<int N>                                              \
class scv_extension_callbacks<basic_type<N> >                \
  : public scv_extension_rand<basic_type<N> > {  \
public:  \
  scv_extension_callbacks() {}  \
  virtual ~scv_extension_callbacks() {  \
    if (this->_has_dynamic_data() && !this->get_parent())  \
  this->_get_dynamic_data()->execute_callbacks(this, scv_extensions_if::DELETE);  \
  }  \
  \
  virtual scv_extensions_if::callback_h _register_cb(scv_extensions_if::callback_base * c) {  \
    return s_add_callback(this->_get_dynamic_data(),c);   \
  }  \
  virtual void remove_cb(scv_extensions_if::callback_h id) {   \
    s_remove_callback(this->_get_dynamic_data(),id);   \
  }  \
  \
     \
     \
}; \

Definition at line 250 of file _scv_ext_callbacks.h.

#define _SCV_INTROSPECTION_BASE   scv_extension_callbacks<T>
 

Definition at line 323 of file _scv_ext_callbacks.h.

#define _SCV_INTROSPECTION_BASE1   scv_extension_callbacks<T*>
 

Definition at line 325 of file _scv_ext_callbacks.h.

#define _SCV_INTROSPECTION_BASE2   scv_extension_callbacks<T[N]>
 

Definition at line 327 of file _scv_ext_callbacks.h.

#define _SCV_INTROSPECTION_BASE_ENUM   _scv_extension_callbacks_enum
 

Definition at line 330 of file _scv_ext_callbacks.h.


Function Documentation

_SCV_EXT_CALLBACKS_FC_D double   ,
double   
 

_SCV_EXT_CALLBACKS_FC_D float   ,
float   
 

_SCV_EXT_CALLBACKS_FC_D long   ,
long   
 

_SCV_EXT_CALLBACKS_FC_D int   ,
int   
 

_SCV_EXT_CALLBACKS_FC_D short   ,
short   
 

_SCV_EXT_CALLBACKS_FC_D unsigned    char,
unsigned_char   
 

_SCV_EXT_CALLBACKS_FC_D char   ,
char   
 

_SCV_EXT_CALLBACKS_FC_D bool   ,
bool   
 

_SCV_EXT_CALLBACKS_FC_N_D test_uint   
 


Generated on Sun Dec 12 19:21:01 2004 for SystemC2.0.1(excludingMSLib)(IncludingSCV) by doxygen1.2.18