Safir SDK Core
|
Interface for handling PI commands. More...
#include <Safir/Application/Backdoor.h>
Public Member Functions | |
virtual | ~Backdoor () |
Destructor. More... | |
virtual void | HandleCommand (const std::vector< std::wstring > &cmdTokens)=0 |
Called when a 'Program Info' command aimed for this handler is received. More... | |
virtual std::wstring | GetHelpText ()=0 |
Called when a 'help' command aimed for this handler is received. More... | |
Interface for handling PI commands.
Provides the interface needed for classes that want to handle PI commands. The class must use a BackdoorKeeper class to set up the subscriptions, and pass "itself" to its Start-routine. After this the abstract methods in the class will be called when a PI command is received.
|
virtual |
Destructor.
|
pure virtual |
Called when a 'help' command aimed for this handler is received.
To be implemented by subclasses.
|
pure virtual |
Called when a 'Program Info' command aimed for this handler is received.
To be implemented by subclasses.
cmdTokens | [in] - Tokenized command string. |