Warrior_EA/Expert/ConfigLock/IConfigLockView.mqh

21 lines
1.1 KiB
MQL5
Raw Permalink Normal View History

//+------------------------------------------------------------------+
//| 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;
};
//+------------------------------------------------------------------+