Commit Graph

14 Commits

Author SHA1 Message Date
Robert Haschke
68ff79f464 setup SerialContainer interface 2017-10-20 16:40:11 +02:00
Robert Haschke
bc5c76578e connect and validate chain 2017-10-20 16:40:11 +02:00
Robert Haschke
b967e8231b publish solutions again 2017-10-20 16:40:11 +02:00
Robert Haschke
6167f728ed wip 2017-10-20 16:40:11 +02:00
Robert Haschke
a7de95932e moved InterfaceFlag(s) into main scope 2017-10-16 09:24:21 +02:00
Robert Haschke
a32007613e renamed subtask -> stage 2017-10-16 09:24:21 +02:00
Robert Haschke
3cc112fe2c cleanup container
- removed friends + mutable
- simplified SerialContainer::canInsert()
2017-10-16 09:22:16 +02:00
Robert Haschke
dc9f553ab0 replaced IMPL macro 2017-10-16 09:22:16 +02:00
Robert Haschke
1b1a82f7c8 simplified SubTask API
- moved interface flags to private implementation
- moved newInputState() / newOutputState to private implementation
- directly implement sendBackward()/sendForward()
- removed scene_, planner_ from SubTaskPrivate
  ... replaced by init(scene) call
- renamings
  - array_type -> container_type
  - ...AnyWay -> ...EitherWay
  - input -> start
  - output -> end
2017-10-11 23:34:49 +02:00
Robert Haschke
c085534ea9 simplified API of SubTask specializations
- allow bidirectional Gripper
- implemented canInsert()
2017-10-11 22:43:55 +02:00
Robert Haschke
2bf66dc125 fancy print output based on interfaceFlags() 2017-10-04 00:11:22 +02:00
Robert Haschke
ce7d570459 pimpl_func() only in SubTask class 2017-10-04 00:11:22 +02:00
Robert Haschke
11b6dd2efd implement children_ as std::list
This provides a double-linked list already.
Now need to manually track predeccessors and successors.
2017-10-04 00:11:22 +02:00
Robert Haschke
bb06eda33c containers
- allow hierarchical organization of stages (serially for now)
- validate correctness of tree (at composition time, i.e. runtime)
- derive Task from SerialContainer
- fix pimpl_func(), PRIVATE_CLASS declaration in "public" section to allow access in tests
2017-10-04 00:11:22 +02:00