SST/macro
api_fwd.h
Go to the documentation of this file.
1 #ifndef _sstmac_software_api_fwd_h
2 #define _sstmac_software_api_fwd_h
3 
4 namespace sstmac {
5 namespace sw {
6 
7 class api;
8 
9 api*
10 static_get_api(const char* name);
11 
12 template <class T>
13 T*
15  return dynamic_cast<T*>(static_get_api(T::api_name));
16 }
17 
18 } }
19 
20 #endif
T * get_api()
Definition: api_fwd.h:14
SUMI = Simulator unified messagine interface It is also the name for a solid ink in Japanese - i...
api * static_get_api(const char *name)