Created
November 22, 2015 14:09
-
-
Save yasuakiohama/fefb89db5428222150eb to your computer and use it in GitHub Desktop.
FunctionPointer.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef FunctionPointer_hpp | |
#define FunctionPointer_hpp | |
#include <stdio.h> | |
class FunctionPointer | |
{ | |
private: | |
void func1(); | |
void func2(); | |
void func3(); | |
void SetFunc(void (FunctionPointer::*pFunc)()); | |
public: | |
void run1(); | |
void run2(); | |
void (FunctionPointer::*m_pFunc)(); | |
}; | |
#endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment