#include <Slot.h>

Public Member Functions | |
| virtual void | update (Subject &subject, const std::string &signal, const boost::any &data) const =0 |
| virtual SlotWrapper * | clone () const =0 |
| virtual bool | matches (const SlotWrapper &rhs) const =0 |
| virtual const std::type_info & | getType () const =0 |
| virtual void | callAttachMethod (Subject &subject, const std::string &signal, const Slot &slot)=0 |
| virtual void | callDetachMethod (Subject &subject, const std::string &signal, const Slot &slot)=0 |
Definition at line 273 of file Slot.h.
| virtual void Slot::SlotWrapper::update | ( | Subject & | subject, | |
| const std::string & | signal, | |||
| const boost::any & | data | |||
| ) | const [pure virtual] |
| virtual SlotWrapper* Slot::SlotWrapper::clone | ( | ) | const [pure virtual] |
Creates a copy of the object.
| virtual bool Slot::SlotWrapper::matches | ( | const SlotWrapper & | rhs | ) | const [pure virtual] |
Indicates if the supplied object matches this object.
| rhs | The object to compare with. |
true if the two objects match and false otherwise. | virtual const std::type_info& Slot::SlotWrapper::getType | ( | ) | const [pure virtual] |
Returns the type information of the concrete type of the object.
| virtual void Slot::SlotWrapper::callAttachMethod | ( | Subject & | subject, | |
| const std::string & | signal, | |||
| const Slot & | slot | |||
| ) | [pure virtual] |
Calls the attached method on the observer, if it derives from Observer.
This method is typically only called by Subject::attach.
| subject | The Subject that the slot is being attached to. | |
| signal | The name of the signal the Slot is being attached to. | |
| slot | The slot that is being attached. |
| virtual void Slot::SlotWrapper::callDetachMethod | ( | Subject & | subject, | |
| const std::string & | signal, | |||
| const Slot & | slot | |||
| ) | [pure virtual] |
Calls the detached method on the observer, if it derives from Observer.
This method is typically only called by Subject::detach.
| subject | The Subject that the slot is being detached from. | |
| signal | The name of the signal the Slot is being detached from. | |
| slot | The slot that is being detached. |