@@ -849,9 +849,9 @@ void TritonRoute::sendDesignDist()
849849
850850 db_->write (utl::OutStreamHandler (design_path.c_str (), true ).getStream ());
851851 writeGlobals (router_cfg_path);
852- dst::JobMessage msg (dst::JobMessage::UPDATE_DESIGN ,
853- dst::JobMessage::BROADCAST ),
854- result (dst::JobMessage::NONE );
852+ dst::JobMessage msg (dst::JobMessage::kUpdateDesign ,
853+ dst::JobMessage::kBroadcast ),
854+ result (dst::JobMessage::kNone );
855855 std::unique_ptr<dst::JobDescription> desc
856856 = std::make_unique<RoutingJobDescription>();
857857 RoutingJobDescription* rjd
@@ -885,9 +885,9 @@ void TritonRoute::sendGlobalsUpdates(const std::string& router_cfg_path,
885885 return ;
886886 }
887887 ProfileTask task (" DIST: SENDING GLOBALS" );
888- dst::JobMessage msg (dst::JobMessage::UPDATE_DESIGN ,
889- dst::JobMessage::BROADCAST ),
890- result (dst::JobMessage::NONE );
888+ dst::JobMessage msg (dst::JobMessage::kUpdateDesign ,
889+ dst::JobMessage::kBroadcast ),
890+ result (dst::JobMessage::kNone );
891891 std::unique_ptr<dst::JobDescription> desc
892892 = std::make_unique<RoutingJobDescription>();
893893 RoutingJobDescription* rjd = static_cast <RoutingJobDescription*>(desc.get ());
@@ -931,9 +931,9 @@ void TritonRoute::sendDesignUpdates(const std::string& router_cfg_path,
931931 } else {
932932 task = std::make_unique<ProfileTask>(" DIST: SENDING_UDPATES" );
933933 }
934- dst::JobMessage msg (dst::JobMessage::UPDATE_DESIGN ,
935- dst::JobMessage::BROADCAST ),
936- result (dst::JobMessage::NONE );
934+ dst::JobMessage msg (dst::JobMessage::kUpdateDesign ,
935+ dst::JobMessage::kBroadcast ),
936+ result (dst::JobMessage::kNone );
937937 std::unique_ptr<dst::JobDescription> desc
938938 = std::make_unique<RoutingJobDescription>();
939939 RoutingJobDescription* rjd = static_cast <RoutingJobDescription*>(desc.get ());
@@ -976,8 +976,8 @@ int TritonRoute::main()
976976 if (router_cfg_->DO_PA ) {
977977 pa_thread = std::make_unique<std::thread>([this ]() {
978978 sendDesignDist ();
979- dst::JobMessage msg (dst::JobMessage::PIN_ACCESS ,
980- dst::JobMessage::BROADCAST ),
979+ dst::JobMessage msg (dst::JobMessage::kPinAccess ,
980+ dst::JobMessage::kBroadcast ),
981981 result;
982982 auto uDesc = std::make_unique<PinAccessJobDescription>();
983983 uDesc->setType (PinAccessJobDescription::INIT_PA);
@@ -1021,8 +1021,8 @@ int TritonRoute::main()
10211021 }
10221022 if (distributed_) {
10231023 asio::post (*dist_pool_, [this ]() {
1024- dst::JobMessage msg (dst::JobMessage::GRDR_INIT ,
1025- dst::JobMessage::BROADCAST ),
1024+ dst::JobMessage msg (dst::JobMessage::kGrdrInit ,
1025+ dst::JobMessage::kBroadcast ),
10261026 result;
10271027 dist_->sendJob (msg, dist_ip_.c_str (), dist_port_, result);
10281028 });
@@ -1062,8 +1062,8 @@ void TritonRoute::pinAccess(const std::vector<odb::dbInst*>& target_insts)
10621062 if (distributed_) {
10631063 asio::post (*dist_pool_, [this ]() {
10641064 sendDesignDist ();
1065- dst::JobMessage msg (dst::JobMessage::PIN_ACCESS ,
1066- dst::JobMessage::BROADCAST ),
1065+ dst::JobMessage msg (dst::JobMessage::kPinAccess ,
1066+ dst::JobMessage::kBroadcast ),
10671067 result;
10681068 auto uDesc = std::make_unique<PinAccessJobDescription>();
10691069 uDesc->setType (PinAccessJobDescription::INIT_PA);
0 commit comments