add manageCamera plantUML
This commit is contained in:
parent
f78ec42f7b
commit
74a610db33
1 changed files with 19 additions and 0 deletions
19
conception/th_manageCamera.txt
Normal file
19
conception/th_manageCamera.txt
Normal file
|
@ -0,0 +1,19 @@
|
|||
@startuml
|
||||
skinparam monochrome true
|
||||
start
|
||||
while ()
|
||||
:startCamera?;
|
||||
:bool success = camera.start();
|
||||
if (success) then (false)
|
||||
:msg = new Message(MESSAGE_ANSWER_NACK);
|
||||
:messageToMonitor!msg;
|
||||
else (true)
|
||||
:shouldSendImage = true;
|
||||
:stopCamera?;
|
||||
:shouldSendImage = false;
|
||||
:camera.Stop();
|
||||
endif;
|
||||
end while;
|
||||
stop
|
||||
@enduml
|
||||
|
Loading…
Reference in a new issue