|
@@ -27,6 +27,8 @@ class info_send{
|
|
|
};
|
|
|
|
|
|
typedef std::shared_ptr<info_send> info_send_ptr;
|
|
|
+class service_position;
|
|
|
+typedef boost::shared_ptr<service_position> service_position_ptr;
|
|
|
|
|
|
class service_position: public boost::enable_shared_from_this<service_position>{
|
|
|
public:
|
|
@@ -61,8 +63,7 @@ class service_position: public boost::enable_shared_from_this<service_position>{
|
|
|
virtual std::string to_str(const std::chrono::system_clock::time_point& time);
|
|
|
virtual void init_cache(info_send_ptr& p_info);
|
|
|
public:
|
|
|
- static service_position_ptr instance();
|
|
|
+ static service_position_ptr instance(int port);
|
|
|
};
|
|
|
|
|
|
-typedef boost::shared_ptr<service_position> service_position_ptr;
|
|
|
#endif
|