24 #ifndef _VIRTUALSLOTSWITCH_H_
25 #define _VIRTUALSLOTSWITCH_H_
28 #ifdef virtualslotswitch_EXPORTS
29 #define virtualslotswitch_DECLDIR __declspec(dllexport)
32 #define virtualslotswitch_DECLDIR __declspec(dllimport)
35 #define virtualslotswitch_DECLDIR
68 std::vector< VirtualInputSlot* > _virtualInputSlots;
69 std::vector<VirtualOutputSlot*> _virtualOutputSlots;
72 void setNumberOfVirtualSlots(
int num);
This class serves to store parameters used within the Charon Project.
Parameter< int > number_of_inputs
number_of_inputs
Base class for serializable objects.
Declaration of the base class ParameteredObject.
InputSlot< bool > statement
statement to switch between input 0 and input 1
Connects its output to one of its inputs according to a statement or inputnumber. ...
VirtualOutputSlot output
output connected to one of the inputs
virtual void execute()
execute plugin code
#define virtualslotswitch_DECLDIR
Not needed without MSVC.
virtual void prepareDynamicInterface(const ParameterFile &file)
prepare interface of parameters and slots
InputSlot< int > inputnumber
connects output to according input