A factory class that creates VisualStreamReceiver instances.
More...
#include <VisualStreamReceiver.h>
A factory class that creates VisualStreamReceiver instances.
This allows the code within namespace wonder to create new VisualStreamReceivers without knowing the actual implementation.
- See Also
- wonderlo::VSReceiver::getFactory
virtual wonder::VisualStreamReceiver::Factory::~Factory |
( |
| ) |
|
|
inlinevirtual |
virtual VisualStreamReceiver* wonder::VisualStreamReceiver::Factory::createVisualStreamMulticastReceiver |
( |
const std::string & |
group, |
|
|
const std::string & |
port, |
|
|
const std::string & |
iface |
|
) |
| |
|
pure virtual |
Creates a new VisualStreamReciever that listens to a mutlicast group.
- Parameters
-
group | The multicast group to join |
port | The port the new VisualStreamReceiver will listen on. A validport number or service name (what exactly is supported may depend on what OSC library is used to implement this interface). |
iface | A string specifying the name of a network interface to use. |
- Returns
- A new VisualStreamReciever or a nullptr if it could not be created (e.g. because of wrong parameters).
Creates a new VisualStreamReciever.
- Returns
- A new VisualStreamReciever or a nullptr if it could not be created.
virtual VisualStreamReceiver* wonder::VisualStreamReceiver::Factory::createVisualStreamReceiver |
( |
const std::string & |
port | ) |
|
|
pure virtual |
Creates a new VisualStreamReciever.
- Parameters
-
port | The port the new VisualStreamReceiver will listen on. A validport number or service name (what exactly is supported may depend on what OSC library is used to implement this interface). |
- Returns
- A new VisualStreamReciever or a nullptr if it could not be created (e.g. because of wrong parameter).