Go to the documentation of this file. 1 #ifndef CNOID_MANIPULATOR_PLUGIN_MPR_BASIC_STATEMENTS_H
2 #define CNOID_MANIPULATOR_PLUGIN_MPR_BASIC_STATEMENTS_H
6 #include <cnoid/GeneralId>
7 #include "exportdecl.h"
11 class MprPositionList;
17 virtual std::string label(
int index)
const override;
33 virtual std::string label(
int index)
const override;
48 virtual std::string label(
int index)
const override;
50 void setComment(
const std::string& comment){ comment_ = comment; }
51 const std::string&
comment()
const {
return comment_; }
71 virtual std::string label(
int index)
const override;
73 const std::string&
groupName()
const {
return groupName_; }
84 std::string groupName_;
93 const std::string
condition()
const {
return condition_; }
94 void setCondition(
const std::string& condition) { condition_ = condition; }
104 std::string condition_;
114 virtual std::string label(
int index)
const override;
131 virtual std::string label(
int index)
const override;
148 virtual std::string label(
int index)
const override;
165 virtual std::string label(
int index)
const override;
193 std::string programName_;
200 class MprVariableSet;
207 virtual std::string label(
int index)
const override;
223 std::string variableExpression_;
224 std::string valueExpression_;
234 virtual std::string label(
int index)
const override;
239 bool on()
const {
return on_; }
262 virtual std::string label(
int index)
const override;
284 bool signalStateCondition_;
295 virtual std::string label(
int index)
const override;
297 double time()
const {
return time_; }
Definition: MprVariable.h:15
Definition: ValueTree.h:253
Definition: MprStructuredStatement.h:10
Definition: MprBasicStatements.h:161
void setConditionType(int type)
Definition: MprBasicStatements.h:267
Listing * write(Mapping *mapping, const std::string &key, const Eigen::MatrixBase< Derived > &x)
Definition: EigenArchive.h:145
const std::string valueExpression() const
Definition: MprBasicStatements.h:212
const std::string variableExpression() const
Definition: MprBasicStatements.h:209
const std::string & programName() const
Definition: MprBasicStatements.h:167
int signalIndex() const
Definition: MprBasicStatements.h:269
ref_ptr< MprCallStatement > MprCallStatementPtr
Definition: MprBasicStatements.h:196
Definition: MprBasicStatements.h:127
ref_ptr< MprEmptyStatement > MprEmptyStatementPtr
Definition: MprBasicStatements.h:26
Definition: MprBasicStatements.h:290
Definition: MprBasicStatements.h:67
int conditionType() const
Definition: MprBasicStatements.h:266
bool read(const Mapping *mapping, const std::string &key, Eigen::MatrixBase< Derived > &x)
Definition: EigenArchive.h:43
Definition: MprBasicStatements.h:230
const std::string & groupName() const
Definition: MprBasicStatements.h:73
ref_ptr< MprDummyStatement > MprDummyStatementPtr
Definition: MprBasicStatements.h:41
Definition: Referenced.h:103
ref_ptr< MprSignalStatement > MprSignalStatementPtr
Definition: MprBasicStatements.h:255
void setSignalStateCondition(bool state)
Definition: MprBasicStatements.h:272
ref_ptr< MprGroupStatement > MprGroupStatementPtr
Definition: MprBasicStatements.h:87
void setProgramName(const std::string &name)
Definition: MprBasicStatements.h:168
void setGroupName(const std::string &name)
Definition: MprBasicStatements.h:74
int signalIndex() const
Definition: MprBasicStatements.h:236
ref_ptr< MprCommentStatement > MprCommentStatementPtr
Definition: MprBasicStatements.h:64
double time() const
Definition: MprBasicStatements.h:297
Definition: MprBasicStatements.h:144
Definition: MprBasicStatements.h:110
void setCondition(const std::string &condition)
Definition: MprBasicStatements.h:94
ConditionType
Definition: MprBasicStatements.h:264
ref_ptr< MprWaitStatement > MprWaitStatementPtr
Definition: MprBasicStatements.h:287
ref_ptr< MprDelayStatement > MprDelayStatementPtr
Definition: MprBasicStatements.h:311
Definition: AbstractSceneLoader.h:11
Definition: MprBasicStatements.h:202
Definition: CloneMap.h:13
ref_ptr< MprConditionStatement > MprConditionStatementPtr
Definition: MprBasicStatements.h:107
Definition: MprStatement.h:16
const std::string condition() const
Definition: MprBasicStatements.h:93
ref_ptr< MprIfStatement > MprIfStatementPtr
Definition: MprBasicStatements.h:124
Definition: MprBasicStatements.h:90
void setVariableExpression(const std::string &expression)
Definition: MprBasicStatements.h:210
Definition: Referenced.h:54
void setSignalIndex(int index)
Definition: MprBasicStatements.h:237
ref_ptr< MprAssignStatement > MprAssignStatementPtr
Definition: MprBasicStatements.h:227
Definition: MprProgram.h:21
void setTime(double t)
Definition: MprBasicStatements.h:298
Definition: MprBasicStatements.h:29
bool signalStateCondition() const
Definition: MprBasicStatements.h:271
Definition: MprBasicStatements.h:13
void setSignalIndex(int index)
Definition: MprBasicStatements.h:270
bool on() const
Definition: MprBasicStatements.h:239
void on(bool on)
Definition: MprBasicStatements.h:240
void setValueExpression(const std::string &expression)
Definition: MprBasicStatements.h:213
Definition: MprBasicStatements.h:258