添加职责链模式
parent
9a8f818518
commit
be3e09a06f
|
@ -27,5 +27,14 @@ protected:
|
|||
T *mBridgeData;
|
||||
|
||||
};
|
||||
|
||||
template <typename T>
|
||||
class ResponsabilityChan{
|
||||
public:
|
||||
int AddNext(ResponsabilityChan *p){
|
||||
|
||||
}
|
||||
private:
|
||||
ResponsabilityChan *mHead;
|
||||
ResponsabilityChan *mTail;
|
||||
};
|
||||
#endif //GENERAL_ADAPTER_H
|
||||
|
|
Loading…
Reference in New Issue