I want to use strategy pattern, but I wander if it is correct to use "this pointer" with the strategy pattern interface.
This is required in order to get internal information which is required for the algorithm, but in all examples I've seen for Strategy pattern, there is no use of this pointer, so I'm not sure if this a correct thing to do.
EDIT: Why do I need this pointer parameter ? For example I have filemanager class which contain several parameters of files and folder state, and the strategy algorithm is used for decision making of files to be deleted and opened and to return current file handler. using this and getters and setters make it easy to handle the algorithm input and output.