31 #ifndef GENAPI_INODEMAP_H 32 #define GENAPI_INODEMAP_H 40 # pragma warning ( push ) 41 # pragma warning ( disable : 4251 ) // XXX needs to have dll-interface to be used by clients of class YYY 55 interface GENAPI_DECL_ABSTRACT
INodeMap 58 virtual void GetNodes(
NodeList_t &Nodes)
const = 0;
87 virtual bool ParseSwissKnifes( GENICAM_NAMESPACE::gcstring_vector *pErrorList = NULL )
const = 0;
92 # pragma warning ( pop ) 95 #endif // ifndef GENAPI_INODEMAP_H Definition of interface INode and types NodeList_t and CallbackHandleType:
virtual INode * GetNode(const GENICAM_NAMESPACE::gcstring &Name) const =0
Retrieves the node from the central map by Name.
interface GENAPI_DECL_ABSTRACT IPort
Interface for ports.
interface GENAPI_DECL_ABSTRACT INodeMap
Interface to access the node map.
Common GenICam base include file.
virtual bool Connect(IPort *pPort, const GENICAM_NAMESPACE::gcstring &PortName) const =0
Connects a port to a port node with given name.
node_vector NodeList_t
a list of node references
virtual bool ParseSwissKnifes(GENICAM_NAMESPACE::gcstring_vector *pErrorList=NULL) const =0
Parse all Swissknife equations.
virtual uint64_t GetNumNodes() const =0
Get the number of nodes in the map.
A string class which is a clone of std::string.
Definition of interface IPort.
virtual GENICAM_NAMESPACE::gcstring GetDeviceName() const =0
Get a name of the device.
Definition of Lock classes.
interface GENAPI_DECL_ABSTRACT INode
Interface common to all nodes.
virtual bool Poll(int64_t ElapsedTime)=0
Invalidates the node if the polling time has elapsed.
Part of the generic device API.
virtual CLock & GetLock() const =0
Returns the lock which guards the node map.
virtual void InvalidateNodes() const =0
Invalidates all nodes.