Skip to content

Commit

Permalink
Merge pull request #94 from Jmeyer1292/format_fixes
Browse files Browse the repository at this point in the history
Clang-Format on All Source Files
resolve #89
  • Loading branch information
jrgnicho committed Jan 15, 2016
2 parents 354936e + f9e64d9 commit 1b2d13b
Show file tree
Hide file tree
Showing 152 changed files with 22,607 additions and 17,405 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,41 +39,46 @@

#include <simple_message/smpl_msg_connection.h>


namespace industrial
{
namespace tcp_client
{


/**
* \brief Defines TCP client functions.
*
* public industrial::tcp_socket::TcpSocket
*/
class Keyence_TcpClient : public industrial::tcp_client::TcpClient, public industrial::byte_array::ByteArray
class Keyence_TcpClient : public industrial::tcp_client::TcpClient,
public industrial::byte_array::ByteArray
{
public:

// Provides SimpleSerialize access to byte array internals
//friend class SimpleSerialize;
// friend class SimpleSerialize;

/**
* \brief Constructor
*/
Keyence_TcpClient(){}
Keyence_TcpClient() {}

/**
* \brief Destructor
*/
~Keyence_TcpClient(){}
~Keyence_TcpClient() {}

bool init(char *buff, int port_num){return industrial::tcp_client::TcpClient::init(buff,port_num);}
bool my_sendBytes(industrial::byte_array::ByteArray& buf){return sendBytes(buf);}
bool my_receiveBytes(industrial::byte_array::ByteArray& buf, industrial::shared_types::shared_int num_bytes){return receiveBytes(buf, num_bytes);}
bool init(char* buff, int port_num)
{
return industrial::tcp_client::TcpClient::init(buff, port_num);
}
bool my_sendBytes(industrial::byte_array::ByteArray& buf) { return sendBytes(buf); }
bool my_receiveBytes(industrial::byte_array::ByteArray& buf,
industrial::shared_types::shared_int num_bytes)
{
return receiveBytes(buf, num_bytes);
}
};

} //tcp_client
} //industrial
} // tcp_client
} // industrial

#endif /* GODEL_KEYENCE_LJV_DRIVER_TCP_CLIENT_H */
Loading

0 comments on commit 1b2d13b

Please sign in to comment.