Searched refs:StateGuard (Results 1 – 2 of 2) sorted by relevance
/ohos5.0/foundation/multimedia/camera_framework/services/camera_service/src/ |
H A D | hcapture_session.cpp | 255 stateMachine_.StateGuard([&errCode, this](const CaptureSessionState state) { in BeginConfig() 284 stateMachine_.StateGuard([this, &errorCode](const CaptureSessionState currentState) { in CanAddInput() 315 …stateMachine_.StateGuard([this, &errorCode, &cameraDevice](const CaptureSessionState currentState)… in AddInput() 382 stateMachine_.StateGuard([&errorCode, this](CaptureSessionState currentState) { in StartMovingPhotoStream() 509 …stateMachine_.StateGuard([this, &errorCode, streamType, &stream](const CaptureSessionState current… in AddOutput() 554 …stateMachine_.StateGuard([this, &errorCode, &cameraDevice](const CaptureSessionState currentState)… in RemoveInput() 945 stateMachine_.StateGuard([&errorCode, this](CaptureSessionState currentState) { in CommitConfig() 1003 stateMachine_.StateGuard( in SetColorSpace() 1358 stateMachine_.StateGuard([&errorCode, this](CaptureSessionState currentState) { in Start() 1493 stateMachine_.StateGuard([&errorCode, this](CaptureSessionState currentState) { in Stop() [all …]
|
/ohos5.0/foundation/multimedia/camera_framework/services/camera_service/include/ |
H A D | hcapture_session.h | 99 inline void StateGuard(const std::function<void(const CaptureSessionState)>& fun) in StateGuard() function
|