![]() |
Lumiera 0.pre.04~rc.1
»edit your freedom«
|
BuilderTool implementation for checking the invocation of the correct treat() function and for accessing the original Placement from within this invocation.
It is declared to be applicable to Clip and DummyMO objects (wrapped into any acceptable shared-ptr). Intentionally, we omit to declare it applicable to TestSubMO2 instances. In reality this would be a case of misconfiguration, because TestSubMO2 is defined to be processable and consequently has an apply() function, which, due to this omission can't find a dispatcher entry when invoked, so it will call the onUnknown(Buildable&) instead
Definition at line 61 of file builder-tool-test.cpp.
Public Attributes | |
| string | log_ |
Public Member Functions | |
| void | treat (Clip &c) |
| void | treat (AbstractMO &) |
| void | onUnknown (Buildable &) |
|
inline |
Definition at line 67 of file builder-tool-test.cpp.
References TestTool::log_.
|
inline |
Definition at line 74 of file builder-tool-test.cpp.
References TestTool::log_.
|
inline |
Definition at line 79 of file builder-tool-test.cpp.
References TestTool::log_.
| string log_ |
Definition at line 65 of file builder-tool-test.cpp.
Referenced by TestTool::onUnknown(), BuilderTool_test::run(), TestTool::treat(), and TestTool::treat().
Inheritance diagram for TestTool:
Collaboration diagram for TestTool: