#include <ir_driver_interface.h>
Public Member Functions | |
virtual int | connect ()=0 |
Method to connect with a socket. | |
virtual void | disconnect ()=0 |
Method to disconnect from a socket. | |
IrDriverInterface () | |
Constructor. | |
virtual int | send_remote_command (std::string remote, std::string command)=0 |
Method that send remote commands by a socket. | |
virtual | ~IrDriverInterface () |
Abstract destructor. |
Definition at line 27 of file ir_driver_interface.h.
IrDriverInterface::IrDriverInterface | ( | ) | [inline] |
Constructor.
Definition at line 32 of file ir_driver_interface.h.
virtual IrDriverInterface::~IrDriverInterface | ( | ) | [inline, virtual] |
Abstract destructor.
Definition at line 39 of file ir_driver_interface.h.
virtual int IrDriverInterface::connect | ( | ) | [pure virtual] |
Method to connect with a socket.
@@return | error: -1 or successful: 0. |
Implemented in IrTransWrapper.
virtual void IrDriverInterface::disconnect | ( | ) | [pure virtual] |
virtual int IrDriverInterface::send_remote_command | ( | std::string | remote, |
std::string | command | ||
) | [pure virtual] |
Method that send remote commands by a socket.
rem,the | remote host. |
com,the | command to send. |
Implemented in IrTransWrapper.