14#ifndef SST_CORE_MODEL_PYTHON_PYMODEL_PORTMODULE_H
15#define SST_CORE_MODEL_PYTHON_PYMODEL_PORTMODULE_H
17#include "sst/core/sst_types.h"
18#include "sst/core/warnmacros.h"
20DISABLE_WARN_DEPRECATED_REGISTER
39 SST::ComponentId_t id;
43 PyPortModule(
PortModulePy_t* pobj, SST::ComponentId_t
id,
unsigned lkup,
const char* port) :
49 ~PyPortModule() =
default;
50 int compare(PyPortModule* other);
53 PyPortModule(
const PyPortModule&) =
delete;
54 PyPortModule& operator=(
const PyPortModule&) =
delete;
62extern PyTypeObject PyModel_PortModuleType;
65getPortModule(PyObject* pobj)
68 if ( pm ==
nullptr ) {
69 PyErr_SetString(PyExc_RuntimeError,
"Failed to find ConfigPortModule");
Class that represents a PortModule in ConfigGraph.
Definition configComponent.h:50
Definition pymodel_portmodule.h:58
Definition pymodel_portmodule.h:37