add manageCamera plantUML

This commit is contained in:
Yohan Simard 2021-04-06 14:25:44 +02:00
parent f78ec42f7b
commit 74a610db33

View 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