Public Member Functions

HostSink Class Reference

Output bus messages via printf. More...

Inheritance diagram for HostSink:
StaticReceiver< HostSink > Device

List of all members.

Public Member Functions

bool receive (MessageSerial &msg)
 HostSink (unsigned hdev, unsigned size, unsigned head_char, unsigned cont_char)

Detailed Description

Output bus messages via printf.

Copyright (C) 2007-2009, Bernhard Kauer <bk@vmmon.org> Economic rights: Technische Universitaet Dresden (Germany)

This file is part of Vancouver.

Vancouver is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.

Vancouver is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License version 2 for more details. A HostSink receives data over a serial bus, buffers them and outputs the buffer later via printf.

State: stable Features: printf output, buffering, overflow indication


Constructor & Destructor Documentation

HostSink::HostSink ( unsigned  hdev,
unsigned  size,
unsigned  head_char,
unsigned  cont_char 
) [inline]

Member Function Documentation

bool HostSink::receive ( MessageSerial msg  )  [inline]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines