ValueCache.h
Go to the documentation of this file.
00001 //-----------------------------------------------------------------------------
00002 //  (c) 2006 by Basler Vision Technologies
00003 //  Section: Vision Components
00004 //  Project: GenApi
00005 //  Author:  Hartmut Nebelung
00006 //  $Header$
00007 //
00008 //  License: This file is published under the license of the EMVA GenICam  Standard Group.
00009 //  A text file describing the legal terms is included in  your installation as 'GenICam_license.pdf'.
00010 //  If for some reason you are missing  this file please contact the EMVA or visit the website
00011 //  (http://www.genicam.org) for a full copy.
00012 //
00013 //  THIS SOFTWARE IS PROVIDED BY THE EMVA GENICAM STANDARD GROUP "AS IS"
00014 //  AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
00015 //  THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
00016 //  PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE EMVA GENICAM STANDARD  GROUP
00017 //  OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,  SPECIAL,
00018 //  EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT  LIMITED TO,
00019 //  PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,  DATA, OR PROFITS;
00020 //  OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY  THEORY OF LIABILITY,
00021 //  WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT  (INCLUDING NEGLIGENCE OR OTHERWISE)
00022 //  ARISING IN ANY WAY OUT OF THE USE  OF THIS SOFTWARE, EVEN IF ADVISED OF THE
00023 //  POSSIBILITY OF SUCH DAMAGE.
00024 //-----------------------------------------------------------------------------
00031 #ifndef GENAPI_VALUECACHE_H
00032 #define GENAPI_VALUECACHE_H
00033 
00034 #include "../Synch.h"
00035 #include "../Types.h"
00036 
00037 namespace GENAPI_NAMESPACE
00038 {
00039     struct CValueCacheImpl;
00040 
00046     class CValueCache : public LockableObject< CValueCache >
00047     {
00048     public:
00049         CValueCache();
00050         ~CValueCache();
00051 
00053         void GetValue( int64_t Address, uint32_t Size, void *pValue ) const;
00054 
00056         void SetValue( int64_t Address, uint32_t Size, const void *pValue );
00057 
00059         void InvalidateValue( int64_t Address );
00060 
00062         bool IsValueValid( int64_t Address, uint32_t Size ) const;
00063 
00065         //bool IsValuePresent( int64_t Address ) const;
00066 
00068         //void ClearAllEntries();
00069 
00070     private:
00072         CValueCache( const CValueCache& );
00073 
00075         CValueCache& operator=( const CValueCache& );
00076 
00077     private:
00078 
00079         CValueCacheImpl* m_pImpl;
00080     };
00081 }
00082 
00083 #endif // GENAPI_VALUECACHE_H
00084 
00085 


rc_genicam_api
Author(s): Heiko Hirschmueller
autogenerated on Thu Jun 6 2019 18:42:47