Definition at line 10 of file IntMsg.h.
Public Member Functions | |
CLONE (IntMsg) | |
IntMsg (BaseListener *listener, const std::string &name, int value) | |
IntMsg (const std::string &listenerName, const std::string &name, int value) | |
virtual void | sendActual (BaseListener *listener) const |
int | getValue () const |
virtual std::string | toString () const |
|
Definition at line 15 of file IntMsg.h.
|
|
Definition at line 18 of file IntMsg.h. 00020 : BaseMsg(listenerName, name), m_value(value) {}
|
|
|
|
Definition at line 26 of file IntMsg.h. 00026 { return m_value; }
|
|
Implements BaseMsg. Definition at line 22 of file IntMsg.h. 00023 { 00024 listener->receiveInt(this); 00025 }
|
|
Reimplemented from BaseMsg. Definition at line 15 of file IntMsg.cpp. 00016 { 00017 std::string result = m_listenerName; 00018 result.append("->" + m_name); 00019 result.append("(" + StringTool::toString(m_value) + ")"); 00020 return result; 00021 }
|