EEROS  1.0.0.0
API for the EEROS Real-Time Robotics Framework
eeros::control::SocketData< SigInType, SigOutType, typename std::enable_if< std::is_same< SigInType, std::nullptr_t >::value &&std::is_compound< SigOutType >::value >::type > Class Template Reference

#include <SocketData.hpp>

Inheritance diagram for eeros::control::SocketData< SigInType, SigOutType, typename std::enable_if< std::is_same< SigInType, std::nullptr_t >::value &&std::is_compound< SigOutType >::value >::type >:
Collaboration diagram for eeros::control::SocketData< SigInType, SigOutType, typename std::enable_if< std::is_same< SigInType, std::nullptr_t >::value &&std::is_compound< SigOutType >::value >::type >:

Public Member Functions

 SocketData (std::string serverIP, uint16_t port, double period=0.01, double timeout=1.0)
 
 ~SocketData ()
 
virtual void run ()
 
virtual bool isNew ()
 
virtual void resetNew ()
 
- Public Member Functions inherited from eeros::control::Block1i1o< SigOutType >
 Block1i1o ()
 
virtual Input< SigOutType > & getIn ()
 
virtual Output< SigOutType > & getOut ()
 
- Public Member Functions inherited from eeros::control::Block
virtual void setName (std::string name)
 
virtual std::string getName ()
 
- Public Member Functions inherited from eeros::Runnable
virtual ~Runnable ()
 

Protected Types

typedef SigOutType::value_type SigOutValueType
 

Protected Attributes

eeros::sockets::SocketServer< 0, std::nullptr_t, sizeof(SigOutType)/sizeof(SigOutValueType), SigOutValueType > * server
 
eeros::sockets::SocketClient< 0, std::nullptr_t, sizeof(SigOutType)/sizeof(SigOutValueType), SigOutValueType > * client
 
uint32_t bufOutLen
 
bool isServer
 
- Protected Attributes inherited from eeros::control::Block1i1o< SigOutType >
Input< SigOutType > in
 
Output< SigOutType > out
 

Friends

template<typename X , typename Y >
std::ostream & operator<< (std::ostream &os, SocketData< X, Y > &s)
 

Member Typedef Documentation

template<typename SigInType , typename SigOutType >
typedef SigOutType::value_type eeros::control::SocketData< SigInType, SigOutType, typename std::enable_if< std::is_same< SigInType, std::nullptr_t >::value &&std::is_compound< SigOutType >::value >::type >::SigOutValueType
protected

Constructor & Destructor Documentation

template<typename SigInType , typename SigOutType >
eeros::control::SocketData< SigInType, SigOutType, typename std::enable_if< std::is_same< SigInType, std::nullptr_t >::value &&std::is_compound< SigOutType >::value >::type >::SocketData ( std::string  serverIP,
uint16_t  port,
double  period = 0.01,
double  timeout = 1.0 
)
inline
template<typename SigInType , typename SigOutType >
eeros::control::SocketData< SigInType, SigOutType, typename std::enable_if< std::is_same< SigInType, std::nullptr_t >::value &&std::is_compound< SigOutType >::value >::type >::~SocketData ( )
inline

Member Function Documentation

template<typename SigInType , typename SigOutType >
virtual bool eeros::control::SocketData< SigInType, SigOutType, typename std::enable_if< std::is_same< SigInType, std::nullptr_t >::value &&std::is_compound< SigOutType >::value >::type >::isNew ( )
inlinevirtual
template<typename SigInType , typename SigOutType >
virtual void eeros::control::SocketData< SigInType, SigOutType, typename std::enable_if< std::is_same< SigInType, std::nullptr_t >::value &&std::is_compound< SigOutType >::value >::type >::resetNew ( )
inlinevirtual
template<typename SigInType , typename SigOutType >
virtual void eeros::control::SocketData< SigInType, SigOutType, typename std::enable_if< std::is_same< SigInType, std::nullptr_t >::value &&std::is_compound< SigOutType >::value >::type >::run ( )
inlinevirtual

Implements eeros::Runnable.

Friends And Related Function Documentation

template<typename SigInType , typename SigOutType >
template<typename X , typename Y >
std::ostream& operator<< ( std::ostream &  os,
SocketData< X, Y > &  s 
)
friend

Member Data Documentation

template<typename SigInType , typename SigOutType >
uint32_t eeros::control::SocketData< SigInType, SigOutType, typename std::enable_if< std::is_same< SigInType, std::nullptr_t >::value &&std::is_compound< SigOutType >::value >::type >::bufOutLen
protected
template<typename SigInType , typename SigOutType >
eeros::sockets::SocketClient<0, std::nullptr_t, sizeof(SigOutType) / sizeof(SigOutValueType), SigOutValueType>* eeros::control::SocketData< SigInType, SigOutType, typename std::enable_if< std::is_same< SigInType, std::nullptr_t >::value &&std::is_compound< SigOutType >::value >::type >::client
protected
template<typename SigInType , typename SigOutType >
bool eeros::control::SocketData< SigInType, SigOutType, typename std::enable_if< std::is_same< SigInType, std::nullptr_t >::value &&std::is_compound< SigOutType >::value >::type >::isServer
protected
template<typename SigInType , typename SigOutType >
eeros::sockets::SocketServer<0, std::nullptr_t, sizeof(SigOutType) / sizeof(SigOutValueType), SigOutValueType>* eeros::control::SocketData< SigInType, SigOutType, typename std::enable_if< std::is_same< SigInType, std::nullptr_t >::value &&std::is_compound< SigOutType >::value >::type >::server
protected

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