8#include "Arp/Plc/Commons/Esm/IProgram.hpp"
9namespace Arp {
namespace Plc {
namespace Commons {
namespace Esm
43 bool abortRequested =
false;
This class represents the Arp String. The implementation is based on std::string.
Definition: String.hpp:39
Interface to implement PLC program to be executed in realtime context.
Definition: IProgram.hpp:19
This class implements the base functionality of a program.
Definition: ProgramBase.hpp:15
void SetTaskName(const String &taskNameArg) override
Set the task name in which is this program will be executed.
Definition: ProgramBase.cpp:40
bool IsAbortRequested(void) const override
Determines if this program is requested to abort.
Definition: ProgramBase.cpp:52
virtual void Execute(void)=0
Executes this program.
virtual ~ProgramBase(void)=default
Destructs this instance and frees all resouces.
ProgramBase(const String &programName)
Constructs an ProgramBase instance.
Definition: ProgramBase.cpp:12
const String & GetFullName(void) const override
Returns the program name with full namespace.
Definition: ProgramBase.cpp:19
void AbortRequest(void) override
Request a abort of program execution.
Definition: ProgramBase.cpp:46
const String & GetTaskName(void) const override
Returns the task name in which is this program will be executed.
Definition: ProgramBase.cpp:33
void SetInitialValues(void) override
Set the initial values of all containing variables of this program.
Definition: ProgramBase.cpp:25
Root namespace for the PLCnext API