INodePrivate.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:  MargretAlbrecht
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 //-----------------------------------------------------------------------------
00032 #ifndef GENAPI_INODEPRIVATE_H
00033 #define GENAPI_INODEPRIVATE_H
00034 
00035 #include "../GenApiDll.h"
00036 #include "../Types.h"
00037 #include "../INode.h"
00038 #include "../INodeMap.h"
00039 #include "NodeMapData/NodeData.h"
00040 
00041 #include <vector>
00042 #include <set>
00043 #include <list>
00044 
00045 struct NodeID_t;
00046 class CProperty;
00047 
00048 namespace GENAPI_NAMESPACE
00049 {
00050     //*************************************************************
00051     // INodePrivate interface
00052     //*************************************************************
00053 
00054     interface INodePrivate;
00055     interface INodeMapPrivate;
00056 
00058     typedef std::vector< INodePrivate* > NodePrivateVector_t;
00059 
00064     interface GENAPI_DECL_ABSTRACT INodePrivate : public INode
00065     {
00066         /**** Methods to create nodes ****/
00067 
00069         virtual void Initialize(GENAPI_NAMESPACE::INodeMapPrivate* const pNodeMap, CNodeData::ENodeType_t NodeType, NodeID_t &NodeID) = 0;
00070 
00072         virtual CNodeData::ENodeType_t GetNodeType() = 0;
00073 
00075         virtual NodeID_t GetNodeID() = 0;
00076 
00078         virtual void FinalConstruct() = 0;
00079 
00081         virtual void SetProperty(CProperty &Property) = 0;
00082 
00084         // BEWARE: PropertyLsit contains pointers to CProperty objects on the heap. the caller is responsible for deleting them
00085         //         e.g. by calling CNodeData::FreePropertiesList( PropertyList )
00086         virtual bool GetProperty(CNodeDataMap *pNodeDataMap, CPropertyID::EProperty_ID_t PropertyID, CNodeData::PropertyVector_t &PropertyList) const = 0;
00087 
00088         /**** Methods to handle callbacks ****/
00089 
00091         enum ESetInvalidMode
00092         {
00093             simOnlyMe,  
00094             simAll  
00095         };
00096 
00098         virtual void SetInvalid(ESetInvalidMode simMode) = 0;
00099 
00101         virtual void CollectCallbacksToFire(std::list<CNodeCallback*> &CallbacksToFire, bool allDependents = false) = 0;
00102 
00104         virtual bool IsTerminalNode() const = 0;
00105         
00107         virtual void GetTerminalNodes(NodeList_t &) const = 0;
00108 
00110 
00113         virtual bool Poll( int64_t ElapsedTime ) = 0;
00114 
00115     };
00116 
00117 
00118 }
00119 
00120 #endif // ifndef GENAPI_INODEPRIVATE_H


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