SST  6.0.0
StructuralSimulationToolkit
sstmodel.h
1 // Copyright 2009-2016 Sandia Corporation. Under the terms
2 // of Contract DE-AC04-94AL85000 with Sandia Corporation, the U.S.
3 // Government retains certain rights in this software.
4 //
5 // Copyright (c) 2009-2016, Sandia Corporation
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 #include <sst/core/configGraph.h>
17 
18 namespace SST {
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:202
Definition: action.cc:17
Base class for Model Generation.
Definition: sstmodel.h:22