Public Types | Public Member Functions | Protected Attributes
Any_Session Class Reference

abstract connection handler to process incoming data (independent of protocol) More...

#include <network.h>

Inheritance diagram for Any_Session:
Inheritance graph
[legend]

List of all members.

Public Types

typedef
boost::signals2::signal< void(const
char *data, const size_t size,
Any_Session *writer) 
SIG_ON_DATA )
 incoming data with "data" of size "size" and handler to write back ("writer")

Public Member Functions

 Any_Session (SIG_ON_DATA &cb)
 every session needs a data handler
virtual void write (const std::string &buffer)=0
 write a string to the network connection
virtual ~Any_Session ()

Protected Attributes

SIG_ON_DATAon_data_
 signal handler for incoming data

Detailed Description

abstract connection handler to process incoming data (independent of protocol)

Definition at line 53 of file network.h.


Member Typedef Documentation

typedef boost::signals2::signal<void (const char *data, const size_t size, Any_Session *writer) Any_Session::SIG_ON_DATA)

incoming data with "data" of size "size" and handler to write back ("writer")

Definition at line 57 of file network.h.


Constructor & Destructor Documentation

every session needs a data handler

Definition at line 60 of file network.h.

virtual Any_Session::~Any_Session ( ) [inline, virtual]

Definition at line 65 of file network.h.


Member Function Documentation

virtual void Any_Session::write ( const std::string &  buffer) [pure virtual]

write a string to the network connection

Implemented in TCP_Session.


Member Data Documentation

signal handler for incoming data

Reimplemented in Driver_3DCS::Streaming, Streaming, Driver_3DCS::Control, and Control.

Definition at line 72 of file network.h.


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


sick_visionary_t_driver
Author(s): Joshua Hampp
autogenerated on Sat Jun 8 2019 19:04:06