Wt examples  4.0.3
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ChatApplication Class Reference

A chat demo application. More...

Inheritance diagram for ChatApplication:
Inheritance graph
[legend]

Public Member Functions

 ChatApplication (const Wt::WEnvironment &env, SimpleChatServer &server)
 Create a new instance. More...
 

Private Member Functions

void addChatWidget ()
 Add another chat client. More...
 
void javaScriptTest ()
 
void emptyFunc ()
 

Private Attributes

SimpleChatServerserver_
 
Wt::WText * javaScriptError_
 
const Wt::WEnvironment & env_
 
std::unique_ptr< Wt::WTimer > timer_
 

Detailed Description

A chat demo application.

Definition at line 25 of file simpleChat.C.

Member Data Documentation

◆ env_

const Wt::WEnvironment& ChatApplication::env_
private

Definition at line 35 of file simpleChat.C.

◆ javaScriptError_

Wt::WText* ChatApplication::javaScriptError_
private

Definition at line 34 of file simpleChat.C.

◆ server_

SimpleChatServer& ChatApplication::server_
private

Definition at line 33 of file simpleChat.C.

◆ timer_

std::unique_ptr<Wt::WTimer> ChatApplication::timer_
private

Definition at line 36 of file simpleChat.C.


The documentation for this class was generated from the following file:

Generated on Mon Jan 14 2019 for the C++ Web Toolkit (Wt) by doxygen 1.8.14