![]() |
YAPOG
0.0.1
Yet Another Pokemon Online Game
|
#include <Event.hpp>
Public Member Functions | |
| Event () | |
| ~Event () | |
| Event & | operator+= (HandlerType handler) |
| void | AddHandler (const String &name, HandlerType handler) |
| void | RemoveHandler (const String &name) |
| ReturnType | operator() (SenderType sender, ArgsType args) |
Private Types | |
| typedef boost::signals2::signal < ReturnType(SenderType, ArgsType)> | SignalType |
| typedef SignalType::slot_type | HandlerType |
| typedef boost::signals2::scoped_connection | ConnectionType |
Private Member Functions | |
| DISALLOW_COPY (Event) | |
Private Attributes | |
| SignalType | sig_ |
| collection::Map< String, std::shared_ptr < ConnectionType > > | handlers_ |
|
private |
|
private |
|
private |
|
inline |
|
inline |
|
inline |
|
private |
|
inline |
|
inline |
|
inline |
|
private |
|
private |