Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00031 #ifndef GENAPI_INODEMAP_H
00032 #define GENAPI_INODEMAP_H
00033
00034 #include <Base/GCBase.h>
00035 #include <GenApi/INode.h>
00036 #include <GenApi/IPort.h>
00037 #include <GenApi/Synch.h>
00038
00039 #ifdef _MSC_VER
00040 # pragma warning ( push )
00041 # pragma warning ( disable : 4251 ) // XXX needs to have dll-interface to be used by clients of class YYY
00042 #endif
00043
00044 namespace GENAPI_NAMESPACE
00045 {
00046
00047
00048
00049
00050
00055 interface GENAPI_DECL_ABSTRACT INodeMap
00056 {
00058 virtual void GetNodes(NodeList_t &Nodes) const = 0;
00059
00061 virtual INode* GetNode( const GENICAM_NAMESPACE::gcstring& Name) const = 0;
00062
00064 virtual void InvalidateNodes() const = 0;
00065
00067 virtual bool Connect( IPort* pPort, const GENICAM_NAMESPACE::gcstring& PortName) const = 0;
00068
00070 virtual bool Connect( IPort* pPort) const = 0;
00071
00073
00075 virtual GENICAM_NAMESPACE::gcstring GetDeviceName() = 0;
00076
00078 virtual void Poll( int64_t ElapsedTime ) = 0;
00079
00081 virtual CLock& GetLock() const = 0;
00082
00084 virtual uint64_t GetNumNodes() const = 0;
00085
00087 virtual bool ParseSwissKnifes( GENICAM_NAMESPACE::gcstring_vector *pErrorList = NULL ) const = 0;
00088 };
00089 }
00090
00091 #ifdef _MSC_VER
00092 # pragma warning ( pop )
00093 #endif
00094
00095 #endif // ifndef GENAPI_INODEMAP_H