MeVisLab Toolbox Reference
asio::InputChannel< DataType > Class Template Referenceabstract

Abstract class template facilitating the definition of an input channel. More...

#include <InputChannel.h>

Inheritance diagram for asio::InputChannel< DataType >:
asio::ExecutableType< Args > asio::CommunicationChannel< DataType >

Public Member Functions

virtual void send (const DataType &value)=0
 

Detailed Description

template<typename DataType>
class asio::InputChannel< DataType >

Abstract class template facilitating the definition of an input channel.

This class template inherits the asio::Executable type definition to be compatible executable processors.

Synopsis:

class MyStringChannel : public InputChannel<std::string>
{
public:
void send(const std::string& s) override
{
// do whatever needs to be done to send the string
}
}
virtual void send(const DataType &value)=0

Definition at line 29 of file InputChannel.h.

Member Function Documentation

◆ send()

template<typename DataType >
virtual void asio::InputChannel< DataType >::send ( const DataType &  value)
pure virtual

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