// $Id$
//
-// Copyright (C) 2007
-// Fraunhofer Institute for Open Communication Systems (FOKUS)
-// Competence Center NETwork research (NET), St. Augustin, GERMANY
+// Copyright (C) 2007
+// Fraunhofer Institute for Open Communication Systems (FOKUS)
+// Competence Center NETwork research (NET), St. Augustin, GERMANY
// Stefan Bund <g0dil@berlios.de>
//
// This program is free software; you can redistribute it and/or modify
namespace {
- class GenericPassiveInputTest
+ class PassiveInputTest
: public ppi::module::Module
{
- SENF_PPI_MODULE(GenericPassiveInputTest);
+ SENF_PPI_MODULE(PassiveInputTest);
public:
- ppi::connector::GenericPassiveInput input;
+ ppi::connector::PassiveInput<> input;
- GenericPassiveInputTest() : counter() {
+ PassiveInputTest() : counter() {
noroute(input);
- input.onRequest(&GenericPassiveInputTest::request);
+ input.onRequest(&PassiveInputTest::request);
}
void request() {
BOOST_AUTO_UNIT_TEST(passiveInput)
{
debug::ActiveSource source;
- GenericPassiveInputTest target;
+ PassiveInputTest target;
ppi::connect(source,target);
ppi::init();