13 #include "../src/matrix/vector-constant-command.h" 24 VectorConstant::VectorConstant(
const std::string &
name)
27 SOUT(
"sotVectorConstant(" + name +
")::output(vector)::sout") {
35 std::string docstring;
38 " Resize the vector and set it to zero.\n" 46 " Set value of output signal\n" 53 new ::dynamicgraph::command::Setter<VectorConstant, dynamicgraph::Vector>(
void signalRegistration(const SignalArray< int > &signals)
SignalTimeDependent< dynamicgraph::Vector, int > SOUT
virtual void setConstant(const T &t)
void setDependencyType(DependencyType dep)
DYNAMICGRAPH_FACTORY_ENTITY_PLUGIN(VectorConstant, "VectorConstant")
void setValue(const dynamicgraph::Vector &inValue)
Set value of vector (and therefore of output signal)
void addCommand(const std::string &name, command::Command *command)