#include <omc_communicator.hpp>
Public Member Functions | |
| ~OmcCommunicator () | |
| Destroys the Omc communicator. | |
| bool | establishConnection () |
| Attempts to establish a connection to Omc. | |
| void | closeConnection () |
| Closes the connection to Omc. Omc is not terminated by closing the connection. | |
| bool | isConnected () const |
| Returns true if a connection has been established to Omc, false otherwise. | |
| QString | callOmc (const QString &fnCall) |
| Executes the specified Omc function and returns the return value received from Omc. | |
Static Public Member Functions | |
| static OmcCommunicator & | getInstance () |
| Returns a reference to the Omc communicator. | |
This class is a singleton class, use the static getInstance() member function to obtain a reference to its instance.
|
|
Executes the specified Omc function and returns the return value received from Omc.
|
|
|
Attempts to establish a connection to Omc.
|
1.4.6-NO