DcamAccessCtrlReg.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_DCAMACCESSCTRLREG_H
00032 #define GENAPI_DCAMACCESSCTRLREG_H
00033 #if MSC_VER>1000
00034 #pragma once
00035 #endif // MSC_VER>1000
00036 #include "../IInteger.h"
00037 #include "Register.h"
00038 #include "IntegerT.h"
00039 #include <limits>
00040 
00041 namespace GENAPI_NAMESPACE
00042 {
00043 
00044     // *************************************************************
00045     // CDcamAccessCtrlReg class
00046     // *************************************************************
00063     class CDcamAccessCtrlRegImpl :  public CRegisterImpl, public IInteger
00064     {
00065     public:
00066         CDcamAccessCtrlRegImpl(void);
00067 
00068     protected:
00069         //-------------------------------------------------------------
00070         // Implementation of IInteger
00071         //-------------------------------------------------------------
00073         //{
00074         // Set feature value
00075         virtual void InternalSetValue(int64_t Value, bool Verify = true);
00076 
00077         // Get feature value
00078         virtual int64_t InternalGetValue(bool Verify = false, bool IgnoreCache = false);
00079 
00080         // Get minimum value allowed
00081         virtual int64_t InternalGetMin() const;
00082 
00083         // Get maximum value allowed
00084         virtual int64_t InternalGetMax() const;
00085 
00086         // Get increment
00087         virtual int64_t InternalGetInc() const;
00088 
00090         int64_autovector_t const InternalGetListOfValidValues()
00091         {
00092             int64_autovector_t list;
00093             return list;
00094         }
00095 
00096         // Get recommended representation
00097         virtual  ERepresentation InternalGetRepresentation() const
00098         {
00099             return PureNumber;
00100         }
00101 
00102 
00104         virtual GENICAM_NAMESPACE::gcstring InternalGetUnit()
00105         {
00106             return GENICAM_NAMESPACE::gcstring();
00107         }
00108 
00109         //\}
00110         //-------------------------------------------------------------
00111         // Implementation of IRegister
00112         //-------------------------------------------------------------
00114         //\{
00115         virtual void InternalSet(const uint8_t *pBuffer, int64_t Length) const;
00116         virtual void InternalGet(uint8_t *pBuffer, int64_t Length, bool Verify = false, bool IgnoreCache = false);
00117         //\}
00118 
00119         //-------------------------------------------------------------
00120         // Implementation of INode
00121         //-------------------------------------------------------------
00123         // \{
00124         virtual EAccessMode InternalGetAccessMode() const;
00125 
00127         virtual EInterfaceType InternalGetPrincipalInterfaceType() const
00128         {
00129             return intfIInteger;
00130         }
00131 
00132         //-------------------------------------------------------------
00133         // Implementation of INodePrivate
00134         //-------------------------------------------------------------
00136         // \{
00137         virtual void SetProperty(CProperty &Property);
00138         virtual bool GetProperty(CNodeDataMap *pNodeDataMap, CPropertyID::EProperty_ID_t PropertyID, CNodeData::PropertyVector_t &PropertyList) const;
00139         // \}
00140 
00141         private:
00143         //\{
00145         uint64_t m_FeatureID;
00147         uint16_t m_Timeout_ms;
00148         //\}
00149     };
00150 
00151 
00152     class CDcamAccessCtrlReg : public BaseT< ValueT< RegisterT< NodeT< IntegerT< CDcamAccessCtrlRegImpl> > > > >
00153     {
00154     };
00155 
00156 
00157 }
00158 
00159 #endif // GENAPI_DCAMACCESSCTRLREG_H


rc_visard_driver
Author(s): Heiko Hirschmueller , Christian Emmerich , Felix Ruess
autogenerated on Thu Jun 6 2019 20:43:02