SST/macro
global.h
Go to the documentation of this file.
1 /*
2  * This file is part of SST/macroscale:
3  * The macroscale architecture simulator from the SST suite.
4  * Copyright (c) 2009 Sandia Corporation.
5  * This software is distributed under the BSD License.
6  * Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
7  * the U.S. Government retains certain rights in this software.
8  * For more information, see the LICENSE file in the top
9  * SST/macroscale directory.
10  */
11 
12 #ifndef SSTMAC_SOFTWARE_PROCESS_GLOBAL_H_INCLUDED
13 #define SSTMAC_SOFTWARE_PROCESS_GLOBAL_H_INCLUDED
14 
15 #include <sstream>
16 
17 #include <sprockit/unordered.h>
18 #include <sstmac/common/logger.h>
24 
32 
37 
38 template<typename T, int N>
40 
41 };
42 
43 
44 template<typename T, int N>
46 
47 };
48 
49 template<typename T>
50 void
52 {
53  delete x.get_val();
54 }
55 
56 template<typename T>
57 void
59 {
60  delete x.get_val();
61 }
62 
63 #endif
64 
sstmac::sw::sstmac_global_builtin< bool * > global_bool_ptr
Definition: global.h:35
sstmac::sw::sstmac_global_builtin< long * > global_long_ptr
Definition: global.h:29
sstmac::sw::sstmac_global_builtin< double * > global_double_ptr
Definition: global.h:25
sstmac::sw::sstmac_global_builtin< int * > global_int_ptr
Definition: global.h:31
virtual T *& get_val(int n=0) const
Definition: global_ptr.h:62
sstmac::sw::sstmac_global_builtin< bool > global_bool
Definition: global.h:36
void delete_global(const sstmac::sw::sstmac_global_builtin< T * > &x)
Definition: global.h:51
sstmac::sw::sstmac_global_builtin< char * > global_char_ptr
Definition: global.h:27
sstmac::sw::sstmac_global_builtin< long long > global_long_long
Definition: global.h:34
sstmac::sw::sstmac_global_builtin< char > global_char
Definition: global.h:28
sstmac::sw::sstmac_global_builtin< long > global_long
Definition: global.h:30
sstmac::sw::sstmac_global_builtin< double > global_double
Definition: global.h:26
sstmac::sw::sstmac_global_builtin< int > global_int
Definition: global.h:33