#include <irtrans_wrapper.h>

Public Member Functions | |
| int | connect () |
| Method to connect with a socket. | |
| void | disconnect () |
| Method to disconnect from a socket. | |
| IrTransWrapper () | |
| Empty constructor. | |
| int | send_remote_command (std::string remote, std::string command) |
| Method that send remote commands by a socket. | |
| ~IrTransWrapper () | |
| Destructor. | |
Private Attributes | |
| SOCKET | _irt_server |
Definition at line 35 of file irtrans_wrapper.h.
Empty constructor.
Definition at line 28 of file irtrans_wrapper.cpp.
Destructor.
Definition at line 35 of file irtrans_wrapper.cpp.
| int IrTransWrapper::connect | ( | ) | [virtual] |
Method to connect with a socket.
| @return | error: -1 or successful: 0. |
Implements IrDriverInterface.
Definition at line 41 of file irtrans_wrapper.cpp.
| void IrTransWrapper::disconnect | ( | ) | [virtual] |
Method to disconnect from a socket.
| @return |
Implements IrDriverInterface.
Definition at line 59 of file irtrans_wrapper.cpp.
| int IrTransWrapper::send_remote_command | ( | std::string | remote, |
| std::string | command | ||
| ) | [virtual] |
Method that send remote commands by a socket.
| rem,the | remote host. |
| com,the | command to send. |
Implements IrDriverInterface.
Definition at line 66 of file irtrans_wrapper.cpp.
SOCKET IrTransWrapper::_irt_server [private] |
Definition at line 70 of file irtrans_wrapper.h.