Public Member Functions

SCS::NetworkConnector< Packet > Class Template Reference

Interface to low-level IO provider for sending data and notification of a BusConnector on reception of new data. More...

#include <connector.h>

Inheritance diagram for SCS::NetworkConnector< Packet >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void setListener (BusConnector< Packet > *connector)=0
virtual void send (const void *msg, std::size_t bytes)=0

Detailed Description

template<typename Packet>
class SCS::NetworkConnector< Packet >

Interface to low-level IO provider for sending data and notification of a BusConnector on reception of new data.

Author:
(c) 2009, 2010 by Philipp Münzel
Version:
1.3

Member Function Documentation

template<typename Packet>
virtual void SCS::NetworkConnector< Packet >::send ( const void *  msg,
std::size_t  bytes 
) [pure virtual]
Note:
To be called synchronously.
Parameters:
msgpointer to data to send
bytessizeof data to send

Implemented in SCS::ASIOConnector.

template<typename Packet>
virtual void SCS::NetworkConnector< Packet >::setListener ( BusConnector< Packet > *  connector) [pure virtual]
Parameters:
connectorpointer to an instance to be notified when new packets arrive

Implemented in SCS::ASIOConnector.


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