00001 /*============================================================================= 00002 Copyright (C) 2012 Allied Vision Technologies. All Rights Reserved. 00003 00004 Redistribution of this file, in original or modified form, without 00005 prior written consent of Allied Vision Technologies is prohibited. 00006 00007 ------------------------------------------------------------------------------- 00008 00009 File: FrameImpl.h 00010 00011 Description: Definition of pointer to implementation structure used by 00012 AVT::VmbAPI::Frame. 00013 (For internal use only) 00014 00015 ------------------------------------------------------------------------------- 00016 00017 THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED 00018 WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF TITLE, 00019 NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 00020 DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, 00021 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 00022 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 00023 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 00024 AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR 00025 TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 00026 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 00027 00028 =============================================================================*/ 00029 00030 #ifndef AVT_VMBAPI_FRAMEIMPL_H 00031 #define AVT_VMBAPI_FRAMEIMPL_H 00032 00033 namespace AVT { 00034 namespace VmbAPI { 00035 00036 struct Frame::Impl 00037 { 00038 VmbUchar_t *m_pBuffer; 00039 bool m_bIsUserBuffer; 00040 00041 VmbFrame_t m_frame; 00042 00043 IFrameObserverPtr m_pObserver; 00044 MutexPtr m_pObserverMutex; 00045 ConditionHelper m_observerConditionHelper; 00046 00047 bool m_bAlreadyAnnounced; 00048 bool m_bAlreadyQueued; 00049 00050 void Init(); 00051 }; 00052 00053 }} 00054 00055 #endif