| | |
| | | |
| | | int main(int argc, char **argv) { |
| | | SAVE_APP_ARGS |
| | | |
| | | std::cout<<__DATE__<<" "<<__TIME__<<std::endl; |
| | | #ifdef GLOG |
| | | ENABLEGLOG(GET_STR_CONFIG("logPath").c_str()); |
| | | #endif |
| | | |
| | | appPref.setLongData("gpu.index", 1); |
| | | appPref.setLongData("gpu.index", 0); |
| | | appPref.setIntData("show.image", 0); |
| | | |
| | | //todo |
| | | appPref.setIntData("CamStart", atoi(argv[1])); |
| | | appPref.setIntData("CamStep", atoi(argv[2])); |
| | | appPref.setIntData("RpcServerPort",atoi(argv[3])); |
| | | |
| | | //#todo get from config File |
| | | // appPref.setStringData("ipAdd", "192.168.1.185"); |
| | | // appPref.setIntData("ipPort", 9200); |