Logo SoCRocket

Transaction-Level Modeling Framework for Space Applications

Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
PythonModule Class Reference

#include <module.h>

Inheritance diagram for PythonModule:
Collaboration diagram for PythonModule:

Public Member Functions

 PythonModule (sc_core::sc_module_name name, const char *script_filename=0, int argc=0, char **argv=NULL)
 
virtual ~PythonModule ()
 
void load (std::string script)
 
void exec (std::string statement)
 runs a Python command in a module-specific namespace More...
 
void add_to_pythonpath (std::string path)
 Adds a path to the load/import search path. More...
 
void start_of_initialization ()
 
void end_of_initialization ()
 
void start_of_elaboration ()
 
void end_of_elaboration ()
 
void start_of_simulation ()
 
void pause_of_simulation ()
 
void end_of_simulation ()
 
void start_of_evaluation ()
 
void end_of_evaluation ()
 

Static Public Member Functions

static void block_threads ()
 
static void unblock_threads ()
 Unblock our singleton thread. More...
 

Static Public Attributes

static PythonModuleglobalInstance = NULL
 Global PythonModule Instance (The last created one) More...
 
static void(*)(intsignal (int sig, void(*handler)(int))
 

Member Data Documentation

void(*)(int) PythonModule::signal(int sig, void(*handler)(int))
static

Referenced by pysc_start().


The documentation for this class was generated from the following files: