Last change
on this file since 28 was
27,
checked in by buchmann, 16 years ago
|
SystemCASS now uses autoconf/automake to build the API. Regression tests still
use the old Makefiles.
(thanks to Nicolas Pouillon)
The library directory no longer is "lib-arch-system". The directory now is "lib-linux". Everyone needs to pay attention about SYSTEMCASS environment variable.
Changes:
- system header includes
- Add includes to config.h (generated by autoconf/automake)
- test:
- linux preprocessor macro instead of _WIN32
- CONFIG_DEBUG instead of DEBUG
Removes:
- Makefile
- guess_endianness.cc
- guess_os.sh
- assert.h (we now use standard assert.h)
- Options.def
|
File size:
1.5 KB
|
Line | |
---|
1 | /*------------------------------------------------------------\ |
---|
2 | | | |
---|
3 | | Tool : systemcass | |
---|
4 | | | |
---|
5 | | File : sc_event.h | |
---|
6 | | | |
---|
7 | | Author : Buchmann Richard | |
---|
8 | | | |
---|
9 | | Date : 09_07_2004 | |
---|
10 | | | |
---|
11 | \------------------------------------------------------------*/ |
---|
12 | #ifndef __SC_EVENT_H__ |
---|
13 | #define __SC_EVENT_H__ |
---|
14 | |
---|
15 | #include "sc_fwd.h" |
---|
16 | #include <iostream> |
---|
17 | #include<iostream> |
---|
18 | |
---|
19 | namespace sc_core { |
---|
20 | |
---|
21 | class sc_event { |
---|
22 | public : typedef enum { POS, NEG, VAL } flag_t; |
---|
23 | private: |
---|
24 | const sc_interface &interface; |
---|
25 | flag_t flag; |
---|
26 | public: |
---|
27 | bool pos () const; |
---|
28 | sc_event (const sc_interface &, flag_t); |
---|
29 | ~sc_event (); |
---|
30 | |
---|
31 | // methods |
---|
32 | const sc_interface& get_interface() const { return interface;}; // CASC specific |
---|
33 | flag_t get_flag () const { return flag;}; // CASC specific |
---|
34 | |
---|
35 | // operators |
---|
36 | |
---|
37 | friend std::ostream& operator << (std::ostream &, const sc_event &); |
---|
38 | |
---|
39 | sc_event (); |
---|
40 | /* |
---|
41 | // LRM |
---|
42 | sc_event (); |
---|
43 | private: |
---|
44 | // disabled |
---|
45 | sc_event (const sc_event &); |
---|
46 | sc_event& operator = (const sc_event&); |
---|
47 | */ |
---|
48 | }; |
---|
49 | |
---|
50 | } // end of sc_core namespace |
---|
51 | |
---|
52 | #endif /* __SC_EVENT_H__ */ |
---|
Note: See
TracBrowser
for help on using the repository browser.