Public Member Functions | Private Attributes
IrTransWrapper Class Reference

#include <irtrans_wrapper.h>

Inheritance diagram for IrTransWrapper:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

Definition at line 35 of file irtrans_wrapper.h.


Constructor & Destructor Documentation

Empty constructor.

Definition at line 28 of file irtrans_wrapper.cpp.

Destructor.

Definition at line 35 of file irtrans_wrapper.cpp.


Member Function Documentation

int IrTransWrapper::connect ( ) [virtual]

Method to connect with a socket.

Parameters:
@returnerror: -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.

Parameters:
@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.

Parameters:
rem,theremote host.
com,thecommand to send.
Returns:
error: -1 or successful: 0.

Implements IrDriverInterface.

Definition at line 66 of file irtrans_wrapper.cpp.


Member Data Documentation

SOCKET IrTransWrapper::_irt_server [private]

Definition at line 70 of file irtrans_wrapper.h.


The documentation for this class was generated from the following files:


ir_drivers
Author(s): Raul Perula-Martinez
autogenerated on Thu Apr 2 2015 03:06:05