Skip to main content

canInitiateInteractive

virtual bool canInitiateInteractive() { return false; }

Real time actions must implement this function and return true if they may trigger the interactive console using initiateInteractive(). SST uses this function to determine if it needs to set up the interactive console infrastructure.

Parameters​

  • returns Whether the action can initiate the interactive console

Example​

bool canInitiateInteractive() override { return true; }
#include <sst/core/realtimeAction.h>