Library: Util
Package: Options
Header: Poco/Util/OptionCallback.h
This class is used as an argument to Option::callback().
It stores a pointer to an object and a pointer to a member function of the object's class.
Direct Base Classes: AbstractOptionCallback
All Base Classes: AbstractOptionCallback
Member Functions: clone, invoke, operator =
Inherited Functions: clone, invoke
typedef void (C::* Callback)(const std::string & name, const std::string & value);
 
 OptionCallback(
    const OptionCallback & cb
);
Creates an OptionCallback from another one.
 
 OptionCallback(
    C * pObject,
    Callback method
);
Creates the OptionCallback for the given object and member function.
 
   
 ~OptionCallback();
Destroys the OptionCallback.
 
   
 AbstractOptionCallback * clone() const;
 
   
 void invoke(
    const std::string & name,
    const std::string & value
) const;
 
 OptionCallback & operator = (
    const OptionCallback & cb
);