MFMv2.0.10
Movable Feast Machine Simulator 2.0.10
Main Page
Related Pages
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
src
sim
include
GridConfig.h
Go to the documentation of this file.
1
/* -*- mode:C++ -*-
2
GridConfig.h Support for modularized compile-time grid parameters
3
Copyright (C) 2014 The Regents of the University of New Mexico. All rights reserved.
4
5
This library is free software; you can redistribute it and/or
6
modify it under the terms of the GNU Lesser General Public
7
License as published by the Free Software Foundation; either
8
version 2.1 of the License, or (at your option) any later version.
9
10
This library is distributed in the hope that it will be useful,
11
but WITHOUT ANY WARRANTY; without even the implied warranty of
12
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
Lesser General Public License for more details.
14
15
You should have received a copy of the GNU General Public License
16
along with this library; if not, write to the Free Software
17
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
18
USA
19
*/
20
27
#ifndef GRIDCONFIG_H
28
#define GRIDCONFIG_H
29
30
#include "
itype.h
"
31
32
namespace
MFM {
33
45
template
<
class
CC,
// CoreConfig
46
u32 W = 5,
// Grid width in tiles
47
u32 H = 3>
// Grid height in tiles
48
struct
GridConfig
{
49
53
typedef
CC
CORE_CONFIG
;
54
59
enum
{ GRID_WIDTH = W };
60
65
enum
{ GRID_HEIGHT = H };
66
67
};
68
69
}
/* namespace MFM */
70
71
#endif
/*GRIDCONFIG_H*/
itype.h
MFM::GridConfig::CORE_CONFIG
CC CORE_CONFIG
Definition:
GridConfig.h:53
MFM::GridConfig
Definition:
GridConfig.h:48
Generated on Wed Oct 29 2014 05:10:17 for MFMv2.0.10 by
1.8.6