PLCnext API Documentation 23.6.0.37
|
Public Types | |
using | Programs = std::map< String, IProgram::Ptr > |
Public Member Functions | |
ProgramProviderBase (void)=default | |
Constructs an ProgramProviderBase instance. | |
ProgramProviderBase (const ProgramProviderBase &arg)=default | |
Copy constructor. | |
ProgramProviderBase & | operator= (const ProgramProviderBase &arg)=default |
Assignment operator. | |
~ProgramProviderBase (void)=default | |
Destructs this instance and frees all resources. | |
Programs & | GetPrograms (void) |
const Programs & | GetPrograms (void) const |
bool | RemoveProgram (IProgram &program) |
IProgram::Ptr | CreateProgram (const String &programName, const String &programType) override |
Creates an instance of an program type. More... | |
void | Reset (void) override |
Resets the program provider. More... | |
![]() | |
IProgramProvider (void)=default | |
Constructs an IProgram instance. | |
virtual | ~IProgramProvider (void)=default |
Destructs this instance and frees all resouces. | |
virtual IProgram::Ptr | CreateProgram (const String &programName, const String &programType)=0 |
Creates an instance of an program type. More... | |
virtual void | Reset (void)=0 |
Resets the program provider. More... | |
Public Attributes | |
event< IProgram::Ptr > | ProgramAdded |
event< IProgram::Ptr > | ProgramRemoved |
Protected Member Functions | |
virtual IProgram::Ptr | CreateProgramInternal (const String &programName, const String &programType)=0 |
|
overridevirtual |
Creates an instance of an program type.
programName | The name of the to creating program instance. |
programType | The program type of the to creating program instance. |
Implements Arp::Plc::Commons::Esm::IProgramProvider.
|
overridevirtual |
Resets the program provider.
Implements Arp::Plc::Commons::Esm::IProgramProvider.