forké depuis animatedread/Warrior_EA
21 lignes
1,1 Kio
MQL5
21 lignes
1,1 Kio
MQL5
//+------------------------------------------------------------------+
| |||
//| Warrior_EA |
| |||
//| AnimateDread |
| |||
//| |
| |||
//| The read surface CConfigLock needs from the signal. Same shape |
| |||
//| as BarrierHorizon\IBarrierHorizonView.mqh - abstract, no signal |
| |||
//| include. Read-only: this collaborator never writes back into the |
| |||
//| signal's own state. |
| |||
//+------------------------------------------------------------------+
| |||
class CConfigLockView
| |||
{
| |||
public:
| |||
virtual ~CConfigLockView(void) { }
| |||
//--- AcquireConfigLock()'s log lines and the WarriorAI_<id>_<hash> global-variable name - adapter
| |||
//--- forwards to the signal's existing DataId()/OnlineActiveFileName().
| |||
virtual string Id(void) = 0;
| |||
virtual string ActiveFileName(void) = 0;
| |||
//--- The one field this collaborator needs that had no existing getter.
| |||
virtual string ShortId(void) = 0;
| |||
};
| |||
//+------------------------------------------------------------------+
|