The arbitrator class controls the authorized instruments and returns the appropiated pointer to the IIF.
More...
#include <LbtoIIFArbitrator.h>
The arbitrator class controls the authorized instruments and returns the appropiated pointer to the IIF.
- Author
- Jose Borelli borel.nosp@m.li@m.nosp@m.pia.d.nosp@m.e
- Todo:
- This class needs also a logger object.
◆ Arbitrator()
lbto::Arbitrator::Arbitrator |
( |
| ) |
|
◆ ~Arbitrator()
lbto::Arbitrator::~Arbitrator |
( |
| ) |
|
Destructor. Frees all the resources.
◆ DeRegister()
bool lbto::Arbitrator::DeRegister |
( |
const std::string |
_proxyName | ) |
|
Remove the key and destroy the corresponding IIF instance.
- Parameters
-
_proxyName | the proxy name. |
- Returns
- true/false success or fail
◆ getIIFServer()
Get the IIFServerPtr object mapped to the passed proxy name.
- Parameters
-
_proxyName | the proxy name to be created or searched for. |
_comm | the Ice communicator pointer |
- Returns
- the IIFServerPtr object mapped to the passed proxy name
◆ ProxyExist()
bool lbto::Arbitrator::ProxyExist |
( |
const std::string |
_proxyName | ) |
|
Tell if the proxy already exist on the map.
- Parameters
-
_proxyName | the proxy name. |
◆ __connMutex
IceUtil::RecMutex lbto::Arbitrator::__connMutex |
|
private |
Recursive Ice Mutex protection.
◆ m_map
list of instruments vs IIF objects.
The documentation for this class was generated from the following files: