13 #include "../src/matrix/matrix-constant-command.h" 25 MatrixConstant::MatrixConstant(
const std::string &
name)
29 SOUT(
"sotMatrixConstant(" + name +
")::output(matrix)::sout") {
36 std::string docstring;
39 " Resize the matrix and set it to zero.\n" 41 " - unsigned int: number of lines.\n" 42 " - unsigned int: number of columns.\n" 48 " Set value of output signal\n" 55 new ::dynamicgraph::command::Setter<MatrixConstant, dynamicgraph::Matrix>(
void signalRegistration(const SignalArray< int > &signals)
virtual void setConstant(const T &t)
void setDependencyType(DependencyType dep)
void setValue(const dynamicgraph::Matrix &inValue)
SignalTimeDependent< dynamicgraph::Matrix, int > SOUT
void addCommand(const std::string &name, command::Command *command)
DYNAMICGRAPH_FACTORY_ENTITY_PLUGIN(MatrixConstant, "MatrixConstant")