SST  8.0.0
StructuralSimulationToolkit
sstmodel.h
1 // Copyright 2009-2018 NTESS. Under the terms
2 // of Contract DE-NA0003525 with NTESS, the U.S.
3 // Government retains certain rights in this software.
4 //
5 // Copyright (c) 2009-2018, NTESS
6 // All rights reserved.
7 //
8 // This file is part of the SST software package. For license
9 // information, see the LICENSE file in the top level directory of the
10 // distribution.
11 
12 
13 #ifndef SST_CORE_MODEL_H
14 #define SST_CORE_MODEL_H
15 
16 namespace SST {
17 
18 class ConfigGraph;
19 
20 /** Base class for Model Generation
21  */
23 
24  public:
26  virtual ~SSTModelDescription() {};
27  /** Create the ConfigGraph
28  *
29  * This function should be overridden by subclasses.
30  *
31  * This function is responsible for reading any configuration
32  * files and generating a ConfigGraph object.
33  */
34  virtual ConfigGraph* createConfigGraph() = 0;
35 
36 };
37 
38 }
39 
40 #endif
virtual ConfigGraph * createConfigGraph()=0
Create the ConfigGraph.
A Configuration Graph A graph representing Components and Links.
Definition: configGraph.h:294
Base class for Model Generation.
Definition: sstmodel.h:22