summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2014-11-27 15:14:21 -0800
committerJohn Firebaugh <john.firebaugh@gmail.com>2014-12-02 12:24:25 -0800
commit8fdf645e121034de2dd6ceca5e1c3bcd7c4c40a4 (patch)
tree6df6af724fe3b94d143a16a26b75e52c0974b04e /include
parent8f1772f18fe4ca74d66d351e3da2bf81b94c0330 (diff)
downloadqtlocation-mapboxgl-8fdf645e121034de2dd6ceca5e1c3bcd7c4c40a4.tar.gz
Adhere to naming conventions
Diffstat (limited to 'include')
-rw-r--r--include/mbgl/map/map.hpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/include/mbgl/map/map.hpp b/include/mbgl/map/map.hpp
index 5fe2ea07eb..1f4715339d 100644
--- a/include/mbgl/map/map.hpp
+++ b/include/mbgl/map/map.hpp
@@ -74,11 +74,11 @@ public:
void setAppliedClasses(const std::vector<std::string> &classes);
void toggleClass(const std::string &name);
const std::vector<std::string> &getAppliedClasses() const;
- void setDefaultTransitionDuration(uint64_t duration_milliseconds = 0);
+ void setDefaultTransitionDuration(uint64_t milliseconds = 0);
void setStyleURL(const std::string &url);
void setStyleJSON(std::string newStyleJSON, const std::string &base = "");
std::string getStyleJSON() const;
- void setAccessToken(std::string access_token);
+ void setAccessToken(std::string accessToken);
std::string getAccessToken() const;
// Transition
@@ -148,30 +148,30 @@ private:
std::unique_ptr<uv::loop> loop;
std::unique_ptr<uv::worker> workers;
std::unique_ptr<uv::thread> thread;
- std::unique_ptr<uv::async> async_terminate;
- std::unique_ptr<uv::async> async_render;
- std::unique_ptr<uv::async> async_cleanup;
+ std::unique_ptr<uv::async> asyncTerminate;
+ std::unique_ptr<uv::async> asyncRender;
+ std::unique_ptr<uv::async> asyncCleanup;
// If cleared, the next time the render thread attempts to render the map, it will *actually*
// render the map.
- std::atomic_flag is_clean = ATOMIC_FLAG_INIT;
+ std::atomic_flag isClean = ATOMIC_FLAG_INIT;
// If this flag is cleared, the current back buffer is ready for being swapped with the front
// buffer (i.e. it has rendered data).
- std::atomic_flag is_swapped = ATOMIC_FLAG_INIT;
+ std::atomic_flag isSwapped = ATOMIC_FLAG_INIT;
// This is cleared once the current front buffer has been presented and the back buffer is
// ready for rendering.
- std::atomic_flag is_rendered = ATOMIC_FLAG_INIT;
+ std::atomic_flag isRendered = ATOMIC_FLAG_INIT;
// Stores whether the map thread has been stopped already.
- std::atomic_bool is_stopped;
+ std::atomic_bool isStopped;
View &view;
#ifndef NDEBUG
- const unsigned long main_thread;
- unsigned long map_thread = -1;
+ const unsigned long mainThread;
+ unsigned long mapThread = -1;
#endif
Transform transform;