Home
last modified time | relevance | path

Searched refs:_funcMap (Results 1 – 1 of 1) sorted by relevance

/packages/apps/Test/connectivity/sl4n/utils/
Dcommand_receiver.cpp29 function_map* _funcMap = NULL; variable
41 if (_funcMap == NULL) { in CommandReceiver()
42 _funcMap = new function_map(); in CommandReceiver()
44 _funcMap->insert(std::make_pair("initiate", &initiate)); in CommandReceiver()
45 _funcMap->insert(std::make_pair("continue", &initiate)); in CommandReceiver()
56 function_map::const_iterator iter = _funcMap->find(cmd); in Call()
57 if (iter != _funcMap->end()) { in Call()
64 if (_funcMap == NULL) { in RegisterCommand()
65 _funcMap = new function_map(); in RegisterCommand()
68 _funcMap->insert(std::make_pair(name, command)); in RegisterCommand()