12#ifndef SST_CORE_INTERACTIVE_ACTION_H
13#define SST_CORE_INTERACTIVE_ACTION_H
15#include "sst/core/action.h"
17#include "sst/core/interactiveConsole.h"
18#include "sst/core/simulation.h"
55 RankInfo num_ranks = sim_->getNumRanks();
57 sim_->insertActivity(time,
this);
64 sim_->enter_interactive_ =
true;
65 sim_->interactive_msg_ = msg_;
void setPriority(uint64_t priority)
Set the priority of the Activity.
Definition activity.h:200
to trigger interactive mode.
Definition interactiveAction.h:29
void insertIntoTimeVortex(SimTime_t time)
Indicates InteractiveAction should be inserted into the TimeVortex.
Definition interactiveAction.h:50
InteractiveAction(Simulation *sim, const std::string &msg)
Create a new InteractiveAction object for the simulation core to initiate interactive mode.
Definition interactiveAction.h:34
void execute() override
Called by TimeVortex to trigger interactive mode.
Definition interactiveAction.h:62
Main control class for a SST Simulation.
Definition simulation.h:121