Last change
on this file since 32 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.7 KB
|
Rev | Line | |
---|
[1] | 1 | /*------------------------------------------------------------\ |
---|
| 2 | | | |
---|
| 3 | | Tool : systemcass | |
---|
| 4 | | | |
---|
| 5 | | File : sc_module_name.h | |
---|
| 6 | | | |
---|
| 7 | | Author : Buchmann Richard | |
---|
| 8 | | Taktak Sami | |
---|
| 9 | | | |
---|
| 10 | | Date : 09_07_2004 | |
---|
| 11 | | | |
---|
| 12 | \------------------------------------------------------------*/ |
---|
| 13 | #ifndef __SC_MODULE_NAME_H__ |
---|
| 14 | #define __SC_MODULE_NAME_H__ |
---|
| 15 | |
---|
[27] | 16 | #include "sc_fwd.h" |
---|
[1] | 17 | |
---|
| 18 | namespace sc_core { |
---|
| 19 | |
---|
| 20 | // ---------------------------------------------------------------------------- |
---|
| 21 | // CLASS : sc_module_name |
---|
| 22 | // |
---|
| 23 | // Module name class. |
---|
| 24 | // ---------------------------------------------------------------------------- |
---|
| 25 | |
---|
| 26 | class sc_module_name |
---|
| 27 | { |
---|
| 28 | ///////////////////////// |
---|
| 29 | // SYSTEMCASS SPECIFIC // |
---|
| 30 | void init (); |
---|
| 31 | ///////////////////////// |
---|
| 32 | |
---|
| 33 | const char* m_name; |
---|
| 34 | bool m_pushed; |
---|
| 35 | friend class sc_module; |
---|
| 36 | // friend class sc_object_manager; |
---|
| 37 | public: |
---|
| 38 | sc_module_name( const char* ); |
---|
| 39 | sc_module_name( const sc_module_name & ); |
---|
| 40 | ~sc_module_name (); |
---|
| 41 | operator const char*() const { return m_name; }; |
---|
| 42 | private: |
---|
| 43 | // disabled |
---|
| 44 | sc_module_name (); |
---|
| 45 | sc_module_name & operator = (const sc_module_name &); |
---|
| 46 | }; |
---|
| 47 | |
---|
| 48 | //std::ostream& operator << (std::ostream&, const sc_core::sc_module_name &); |
---|
| 49 | |
---|
| 50 | } // end of namespace sc_core |
---|
| 51 | |
---|
| 52 | #endif /* __SC_MODULE_NAME__ */ |
---|
| 53 | |
---|
Note: See
TracBrowser
for help on using the repository browser.