EEROS  1.0.0.0
API for the EEROS Real-Time Robotics Framework
eeros::sockets::SocketClient< BufInLen, inT, 0, std::nullptr_t > Class Template Reference

#include <SocketClient.hpp>

Inheritance diagram for eeros::sockets::SocketClient< BufInLen, inT, 0, std::nullptr_t >:
Collaboration diagram for eeros::sockets::SocketClient< BufInLen, inT, 0, std::nullptr_t >:

Public Member Functions

 SocketClient (std::string serverIP, uint16_t port, double period=0.01)
 
virtual ~SocketClient ()
 
virtual void stop ()
 
virtual bool isRunning ()
 
virtual void setSendBuffer (std::array< inT, BufInLen > &data)
 
- Public Member Functions inherited from eeros::Thread
 Thread ()
 
virtual ~Thread ()
 
virtual std::string getId () const
 
virtual void join ()
 

Additional Inherited Members

- Protected Member Functions inherited from eeros::Thread
 Thread (std::function< void()> t)
 
- Protected Attributes inherited from eeros::Thread
std::thread t
 
eeros::logger::Logger log
 

Constructor & Destructor Documentation

template<uint32_t BufInLen, typename inT >
eeros::sockets::SocketClient< BufInLen, inT, 0, std::nullptr_t >::SocketClient ( std::string  serverIP,
uint16_t  port,
double  period = 0.01 
)
inline
template<uint32_t BufInLen, typename inT >
virtual eeros::sockets::SocketClient< BufInLen, inT, 0, std::nullptr_t >::~SocketClient ( )
inlinevirtual

Member Function Documentation

template<uint32_t BufInLen, typename inT >
virtual bool eeros::sockets::SocketClient< BufInLen, inT, 0, std::nullptr_t >::isRunning ( )
inlinevirtual
template<uint32_t BufInLen, typename inT >
virtual void eeros::sockets::SocketClient< BufInLen, inT, 0, std::nullptr_t >::setSendBuffer ( std::array< inT, BufInLen > &  data)
inlinevirtual
template<uint32_t BufInLen, typename inT >
virtual void eeros::sockets::SocketClient< BufInLen, inT, 0, std::nullptr_t >::stop ( )
inlinevirtual

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