|
@@ -83,11 +83,11 @@ private://execute_msg创建各线程进行处理
|
|
|
int allocate_parkspace(message::Parkspace_allocation_status_msg parkspace_status, message::Car_info car_info, int terminal_id);
|
|
|
|
|
|
private:
|
|
|
- parkspace_proto::garage_config m_config; //车位配置文件
|
|
|
- parkspace_allocator_status m_current_status; //分配器当前状态
|
|
|
- Thread_pool m_thread_pool; //执行多任务的线程池
|
|
|
- std::mutex m_mutex; //车位变动锁
|
|
|
- Parkspace_db_manager* mp_db_manager; //车位模块数据库管理句柄
|
|
|
+ parkspace_proto::garage_config m_config; //车位配置文件
|
|
|
+ parkspace_allocator_status m_current_status; //分配器当前状态
|
|
|
+ Thread_pool m_thread_pool; //执行多任务的线程池
|
|
|
+ std::mutex m_mutex; //车位变动锁
|
|
|
+ Parkspace_db_manager* mp_db_manager; //车位模块数据库管理句柄
|
|
|
message::Parkspace_allocation_status_msg m_parkspace_status_msg;
|
|
|
std::mutex m_status_mutex;
|
|
|
|