i_activity
Last update: 16.07.2025Interface for simulation activities.
Definition i_activity.h:30
virtual void SetUpCommunication()=0
Sets up the Pub/Sub communication for the activity.
virtual void Shutdown()=0
Shuts down the activity.
virtual std::chrono::milliseconds GetCycleTime() const =0
Retrieves the cycle time of the activity.
virtual void WaitForPubSubConnection()=0
Waits until Pub/Sub pairing is complete.
virtual std::vector< File > GetInputFiles() const =0
Retrieves the list of input files required for the simulation.
virtual void Step()=0
Executes one step of the activity.
virtual ~IActivity()=default
Virtual destructor for proper cleanup of derived classes.
virtual std::string GetName() const =0
Retrieves the name of the activity.
virtual std::string GetSimulationOutputDirectory() const =0
Retrieves the output directory for simulation results.
virtual void Init()=0
Initializes the activity.
virtual time::Timestamp GetCurrentTimestamp() const =0
Retrieves the current simulation timestamp.
The namespace for all core functionalities under namespace simulation_framework.
The top namespace for simulation framework.