extend PortManager API to include 3rd argument used by backend get_connections()
Value is defaulted so this does not change behavior at all
This commit is contained in:
parent
7982d69cb3
commit
cf58a157e3
@ -151,7 +151,7 @@ public:
|
|||||||
|
|
||||||
bool connected (const std::string&);
|
bool connected (const std::string&);
|
||||||
bool physically_connected (const std::string&);
|
bool physically_connected (const std::string&);
|
||||||
int get_connections (const std::string&, std::vector<std::string>&);
|
int get_connections (const std::string&, std::vector<std::string>&, bool process_context_safe = true);
|
||||||
|
|
||||||
/* Naming */
|
/* Naming */
|
||||||
|
|
||||||
|
@ -749,7 +749,7 @@ PortManager::physically_connected (const string& port_name)
|
|||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
PortManager::get_connections (const string& port_name, std::vector<std::string>& s)
|
PortManager::get_connections (const string& port_name, std::vector<std::string>& s, bool process_context_safe)
|
||||||
{
|
{
|
||||||
if (!_backend) {
|
if (!_backend) {
|
||||||
s.clear ();
|
s.clear ();
|
||||||
@ -763,7 +763,7 @@ PortManager::get_connections (const string& port_name, std::vector<std::string>&
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
return _backend->get_connections (handle, s);
|
return _backend->get_connections (handle, s, process_context_safe);
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
|
Loading…
Reference in New Issue
Block a user