- Main Page
- Related Pages
- Classes
- Files

- Class List
- Class Hierarchy
- Class Members

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 >:
[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:

  msg | pointer to data to send
  bytes | sizeof data to send

Implemented in SCS::ASIOConnector.

template<typename Packet>

virtual void SCS::NetworkConnector< Packet >::setListener | ( | BusConnector< Packet > * | connector | ) | `[pure virtual]`

Parameters:

  connector | pointer 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:

- connector.h