Spinnaker SDK C++
4.2.0.21
 
 

 
Loading...
Searching...
No Matches

Interface for value properties. More...

#include <PortNode.h>

Inheritance diagram for PortNode:
Node PortReplay PortRecorder

Public Member Functions

 PortNode ()
 Constructor.
 
 PortNode (std::shared_ptr< Node::NodeImpl > pValue)
 constructor with GenICam IValue
 
 ~PortNode ()
 Destructor.
 
virtual void Read (void *pBuffer, int64_t Address, int64_t Length)
 Reads a chunk of bytes from the port.
 
virtual void Write (const void *pBuffer, int64_t Address, int64_t Length)
 Writes a chunk of bytes to the port.
 
void SetPortImpl (IPort *pPort)
 Sets pointer the real port implementation; this function may called only once.
 
virtual EYesNo GetSwapEndianess ()
 Determines if the port adapter must perform an endianess swap.
 
virtual Spinnaker::GenICam::gcstring GetChunkID () const
 Get the Id of the chunk the port should be attached to.
 
virtual EYesNo CacheChunkData () const
 Indicates if the chunk a adapter must hold a cached version of the chunk data.
 
virtual void StartRecording (IPortWriteList *pPortRecorder)
 Starts logging all WriteRegister commands to a list.
 
virtual void StopRecording ()
 Stops recording.
 
virtual void Replay (IPortWriteList *pPortRecorder, bool Invalidate=true)
 Sends the commands to the camera.
 
virtual void SetReference (INode *pBase)
 overload SetReference for Value
 
virtual void SetReference (IPort *pBase)
 overload SetReference for Value
 
virtual void SetReference (IChunkPort *pBase)
 overload SetReference for Value
 
std::shared_ptr< Node::NodeImpl > GetPortHandle ()
 
virtual void SetReference (INode *pBase)
 Reference interface overrides \ingroup Spinnaker_GenApi_PublicImpl.
 
virtual void SetReference (ISelector *pBase)
 
- Public Member Functions inherited from Node
 Node ()
 Constructor.
 
 Node (std::shared_ptr< Node::NodeImpl > pNodeHandle)
 Constructor.
 
 ~Node ()
 Destructor.
 
virtual GenICam::gcstring GetName (bool FullQualified=false) const
 Get node name.
 
virtual GenApi::ENameSpace GetNameSpace () const
 Get name space.
 
virtual EVisibility GetVisibility () const
 Get the recommended visibility of the node.
 
virtual void InvalidateNode ()
 Indicates that the node's value may have changed.
 
virtual bool IsCachable () const
 Is the node value cacheable.
 
virtual EYesNo IsAccessModeCacheable () const
 True if the AccessMode can be cached.
 
virtual ECachingMode GetCachingMode () const
 Get Caching Mode.
 
virtual int64_t GetPollingTime () const
 recommended polling time (for not cacheable nodes)
 
virtual GenICam::gcstring GetToolTip () const
 Get a short description of the node.
 
virtual GenICam::gcstring GetDescription () const
 Get a long description of the node.
 
virtual GenICam::gcstring GetDisplayName () const
 Get a name string for display.
 
virtual GenICam::gcstring GetDeviceName () const
 Get a name of the device.
 
virtual void GetChildren (GenApi::NodeList_t &Children, ELinkType LinkType=ctReadingChildren) const
 Get all nodes this node directly depends on.
 
virtual void GetParents (GenApi::NodeList_t &Parents) const
 Gets all nodes this node is directly depending on.
 
virtual void GetLockNodes (GenApi::NodeList_t &LockNodes) const
 Gets all nodes which can directly lock this node.
 
virtual CallbackHandleType RegisterCallback (CNodeCallback *pCallback)
 Register change callback Takes ownership of the CNodeCallback object.
 
virtual bool DeregisterCallback (CallbackHandleType hCallback)
 De register change callback Destroys CNodeCallback object.
 
virtual INodeMapGetNodeMap () const
 Retrieves the central node map.
 
virtual GenICam::gcstring GetEventID () const
 Get the EventId of the node.
 
virtual bool IsStreamable () const
 True if the node is streamable.
 
virtual void GetPropertyNames (GenICam::gcstring_vector &PropertyNames) const
 Returns a list of the names all properties set during initialization.
 
virtual bool GetProperty (const GenICam::gcstring &PropertyName, GenICam::gcstring &ValueStr, GenICam::gcstring &AttributeStr)
 Retrieves a property plus an additional attribute by name If a property has multiple values/attribute they come with Tabs as delimiters.
 
virtual void ImposeAccessMode (EAccessMode ImposedAccessMode)
 Imposes an access mode to the natural access mode of the node.
 
virtual void ImposeVisibility (EVisibility ImposedVisibility)
 Imposes a visibility to the natural visibility of the node.
 
virtual INodeGetAlias () const
 Retrieves the a node which describes the same feature in a different way.
 
virtual INodeGetCastAlias () const
 Retrieves the a node which describes the same feature so that it can be casted.
 
virtual GenICam::gcstring GetDocuURL () const
 Gets a URL pointing to the documentation of that feature.
 
virtual bool IsDeprecated () const
 True if the node should not be used any more.
 
virtual EInterfaceType GetPrincipalInterfaceType () const
 Get the type of the main interface of a node.
 
virtual bool IsFeature () const
 True if the node can be reached via category nodes from a category node named "Root".
 
void SetNodeHandle (std::shared_ptr< Node::NodeImpl > pNodeHandle)
 Set Node handle.
 
std::shared_ptr< Node::NodeImpl > GetNodeHandle () const
 Get Node handle.
 
virtual EAccessMode GetAccessMode () const
 Base interface overrides.
 
virtual bool IsSelector () const
 Selector interface overrides.
 
virtual void GetSelectedFeatures (FeatureList_t &) const
 retrieve the group of selected features
 
virtual void GetSelectingFeatures (FeatureList_t &) const
 retrieve the group of features selecting this node
 
virtual void SetReference (INode *pBase)
 Reference interface overrides \ingroup Spinnaker_GenApi_PublicImpl.
 
virtual void SetReference (ISelector *pBase)
 
void SetNodeMap (INodeMap *pNodeMap)
 
virtual bool operator== (int nullPtr) const
 
virtual bool operator!= (int nullPtr) const
 

Additional Inherited Members

- Protected Attributes inherited from Node
std::shared_ptr< Node::NodeImpl > m_pNodeData
 
std::list< CallbackHandleType_t * > m_Callbacks
 List of callbacks.
 
INodeMapm_pNodeMap
 

Detailed Description

Interface for value properties.

Constructor & Destructor Documentation

◆ PortNode() [1/2]

PortNode ( )

Constructor.

◆ PortNode() [2/2]

PortNode ( std::shared_ptr< Node::NodeImpl >  pValue)

constructor with GenICam IValue

◆ ~PortNode()

~PortNode ( )

Destructor.

Member Function Documentation

◆ CacheChunkData()

virtual EYesNo CacheChunkData ( ) const
virtual

Indicates if the chunk a adapter must hold a cached version of the chunk data.

◆ GetChunkID()

virtual Spinnaker::GenICam::gcstring GetChunkID ( ) const
virtual

Get the Id of the chunk the port should be attached to.

◆ GetPortHandle()

std::shared_ptr< Node::NodeImpl > GetPortHandle ( )
inline

◆ GetSwapEndianess()

virtual EYesNo GetSwapEndianess ( )
virtual

Determines if the port adapter must perform an endianess swap.

◆ Read()

virtual void Read ( void *  pBuffer,
int64_t  Address,
int64_t  Length 
)
virtual

Reads a chunk of bytes from the port.

Reimplemented in PortRecorder, and PortReplay.

◆ Replay()

virtual void Replay ( IPortWriteList pPortRecorder,
bool  Invalidate = true 
)
virtual

Sends the commands to the camera.

The default implementation just walks the list and issues each command using the WriteRegister method. Depending on the capabilities of the transport layer the implementation can however use a special command which sends all register write commands as one package.

Reimplemented in PortRecorder, and PortReplay.

◆ SetPortImpl()

void SetPortImpl ( IPort pPort)

Sets pointer the real port implementation; this function may called only once.

◆ SetReference() [1/5]

virtual void SetReference ( IChunkPort pBase)
virtual

overload SetReference for Value

◆ SetReference() [2/5]

virtual void SetReference ( INode pBase)
virtual

overload SetReference for Value

Reimplemented from Node.

◆ SetReference() [3/5]

virtual void SetReference ( INode pBase)
virtual

Reference interface overrides \ingroup Spinnaker_GenApi_PublicImpl.

Reimplemented from Node.

◆ SetReference() [4/5]

virtual void SetReference ( IPort pBase)
virtual

overload SetReference for Value

Reimplemented in PortRecorder, and PortReplay.

◆ SetReference() [5/5]

virtual void SetReference ( ISelector pBase)
virtual

Reimplemented from Node.

◆ StartRecording()

virtual void StartRecording ( IPortWriteList pPortRecorder)
virtual

Starts logging all WriteRegister commands to a list.

Reimplemented in PortRecorder.

◆ StopRecording()

virtual void StopRecording ( )
virtual

Stops recording.

Reimplemented in PortRecorder.

◆ Write()

virtual void Write ( const void *  pBuffer,
int64_t  Address,
int64_t  Length 
)
virtual

Writes a chunk of bytes to the port.

Reimplemented in PortRecorder, and PortReplay.


The documentation for this class was generated from the following file: