Wt examples
4.0.0
|
Classes | |
class | PopupChatWidget |
A popup chat widget. More... | |
class | ChatApplication |
A chat demo application. More... | |
class | ChatWidget |
A chat application widget. More... | |
class | ChatEvent |
Encapsulate a chat event. More... | |
class | SimpleChatServer |
A simple chat server. More... | |
class | SimpleChatWidget |
A self-contained chat widget. More... | |
Typedefs | |
typedef std::function< void(const ChatEvent &)> | ChatEventCallback |
Functions | |
std::unique_ptr< Wt::WApplication > | createApplication (const Wt::WEnvironment &env, SimpleChatServer &server) |
std::unique_ptr< Wt::WApplication > | createWidget (const Wt::WEnvironment &env, SimpleChatServer &server) |
int | main (int argc, char **argv) |
ChatApplication::ChatApplication (const Wt::WEnvironment &env, SimpleChatServer &server) | |
Create a new instance. More... | |
void | ChatApplication::javaScriptTest () |
void | ChatApplication::emptyFunc () |
void | ChatApplication::addChatWidget () |
Add another chat client. More... | |
ChatWidget::ChatWidget (const Wt::WEnvironment &env, SimpleChatServer &server) | |
typedef std::function<void (const ChatEvent&)> ChatEventCallback |
Definition at line 82 of file SimpleChatServer.h.
|
private |
Add another chat client.
Definition at line 90 of file simpleChat.C.
ChatApplication::ChatApplication | ( | const Wt::WEnvironment & | env, |
SimpleChatServer & | server | ||
) |
Create a new instance.
Definition at line 45 of file simpleChat.C.
ChatWidget::ChatWidget | ( | const Wt::WEnvironment & | env, |
SimpleChatServer & | server | ||
) |
Definition at line 108 of file simpleChat.C.
std::unique_ptr<Wt::WApplication> createApplication | ( | const Wt::WEnvironment & | env, |
SimpleChatServer & | server | ||
) |
Definition at line 142 of file simpleChat.C.
std::unique_ptr<Wt::WApplication> createWidget | ( | const Wt::WEnvironment & | env, |
SimpleChatServer & | server | ||
) |
Definition at line 148 of file simpleChat.C.
|
private |
Definition at line 87 of file simpleChat.C.
|
private |
Definition at line 72 of file simpleChat.C.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 153 of file simpleChat.C.