Revision ea068cf1 src/client/middleware.cpp
src/client/middleware.cpp | ||
---|---|---|
37 | 37 |
//! constructor |
38 | 38 |
//! open a new Middleware instance. |
39 | 39 |
Middleware::Middleware(std::string scope) { |
40 |
base_scope = scope; |
|
40 |
base_scope_ = scope;
|
|
41 | 41 |
} |
42 | 42 |
|
43 | 43 |
//! destructor |
... | ... | |
49 | 49 |
//! \param MouthState m to set |
50 | 50 |
//! \param send data to server (optional, use manual call to send_*() to trigger update on server) |
51 | 51 |
void Middleware::update_mouth_target(MouthState m, bool send) { |
52 |
mouth_state = m; |
|
52 |
mouth_state_ = m;
|
|
53 | 53 |
if (send) { |
54 | 54 |
send_mouth_target(); |
55 | 55 |
} |
... | ... | |
59 | 59 |
//! \param GazeState m to set |
60 | 60 |
//! \param send data to server (optional, use manual call to send_*() to trigger update on server) |
61 | 61 |
void Middleware::update_gaze_target(GazeState s, bool send) { |
62 |
gaze_state = s; |
|
62 |
gaze_state_ = s;
|
|
63 | 63 |
if (send) { |
64 | 64 |
send_gaze_target(); |
65 | 65 |
} |
Also available in: Unified diff