Spinnaker C++
2.6.0.0
Public Member Functions | List of all members
IntegerNode Class Reference

Interface for string properties. More...

Inheritance diagram for IntegerNode:
ValueNode Node IntRegNode

Public Member Functions

 IntegerNode ()
 
 IntegerNode (std::shared_ptr< Node::NodeImpl > pInteger)
 
virtual ~IntegerNode ()
 
virtual void SetValue (int64_t Value, bool Verify=true)
 Set node value. More...
 
virtual IIntegeroperator= (int64_t Value)
 Set node value. More...
 
virtual int64_t GetValue (bool Verify=false, bool IgnoreCache=false)
 Get node value. More...
 
virtual int64_t operator() ()
 Get node value. More...
 
virtual int64_t operator* ()
 Get node value. More...
 
virtual int64_t GetMin ()
 Get minimum value allowed. More...
 
virtual int64_t GetMax ()
 Get maximum value allowed. More...
 
virtual EIncMode GetIncMode ()
 Get increment mode. More...
 
virtual int64_t GetInc ()
 Get increment. More...
 
virtual int64_autovector_t GetListOfValidValues (bool bounded=true)
 Get list of valid value. More...
 
virtual ERepresentation GetRepresentation ()
 Get recommended representation. More...
 
virtual GenICam::gcstring GetUnit ()
 Get the physical unit name. More...
 
virtual IFloatGetFloatAlias ()
 gets the interface of an alias node. More...
 
virtual void ImposeMin (int64_t Value)
 Restrict minimum value. More...
 
virtual void ImposeMax (int64_t Value)
 Restrict maximum value. More...
 
virtual void SetReference (INode *pBase)
 overload SetReference for Integer More...
 
- Public Member Functions inherited from ValueNode
 ValueNode ()
 Constructor. More...
 
 ValueNode (std::shared_ptr< Node::NodeImpl > pValue)
 constructor with GenICam IValue More...
 
 ~ValueNode ()
 Destructor. More...
 
virtual INodeGetNode ()
 
virtual GenICam::gcstring ToString (bool Verify=false, bool IgnoreCache=false)
 Get content of the node as string. More...
 
virtual void FromString (const GenICam::gcstring &ValueStr, bool Verify=true)
 Set content of the node as string. More...
 
virtual bool IsValueCacheValid () const
 Checks if the value comes from cache or is requested from another node. More...
 
- Public Member Functions inherited from Node
 Node ()
 Constructor. More...
 
 Node (std::shared_ptr< Node::NodeImpl > pNodeHandle)
 Constructor. More...
 
 ~Node ()
 Destructor. More...
 
virtual GenICam::gcstring GetName (bool FullQualified=false) const
 Get node name. More...
 
virtual GenApi::ENameSpace GetNameSpace () const
 Get name space. More...
 
virtual EVisibility GetVisibility () const
 Get the recommended visibility of the node. More...
 
virtual void InvalidateNode ()
 Indicates that the node's value may have changed. More...
 
virtual bool IsCachable () const
 Is the node value cacheable. More...
 
virtual EYesNo IsAccessModeCacheable () const
 True if the AccessMode can be cached. More...
 
virtual ECachingMode GetCachingMode () const
 Get Caching Mode. More...
 
virtual int64_t GetPollingTime () const
 recommended polling time (for not cacheable nodes) More...
 
virtual GenICam::gcstring GetToolTip () const
 Get a short description of the node. More...
 
virtual GenICam::gcstring GetDescription () const
 Get a long description of the node. More...
 
virtual GenICam::gcstring GetDisplayName () const
 Get a name string for display. More...
 
virtual GenICam::gcstring GetDeviceName () const
 Get a name of the device. More...
 
virtual void GetChildren (GenApi::NodeList_t &Children, ELinkType LinkType=ctReadingChildren) const
 Get all nodes this node directly depends on. More...
 
virtual void GetParents (GenApi::NodeList_t &Parents) const
 Gets all nodes this node is directly depending on. More...
 
virtual CallbackHandleType RegisterCallback (CNodeCallback *pCallback)
 Register change callback Takes ownership of the CNodeCallback object. More...
 
virtual bool DeregisterCallback (CallbackHandleType hCallback)
 De register change callback Destroys CNodeCallback object. More...
 
virtual INodeMapGetNodeMap () const
 Retrieves the central node map. More...
 
virtual GenICam::gcstring GetEventID () const
 Get the EventId of the node. More...
 
virtual bool IsStreamable () const
 True if the node is streamable. More...
 
virtual void GetPropertyNames (GenICam::gcstring_vector &PropertyNames) const
 Returns a list of the names all properties set during initialization. More...
 
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. More...
 
virtual void ImposeAccessMode (EAccessMode ImposedAccessMode)
 Imposes an access mode to the natural access mode of the node. More...
 
virtual void ImposeVisibility (EVisibility ImposedVisibility)
 Imposes a visibility to the natural visibility of the node. More...
 
virtual INodeGetAlias () const
 Retrieves the a node which describes the same feature in a different way. More...
 
virtual INodeGetCastAlias () const
 Retrieves the a node which describes the same feature so that it can be casted. More...
 
virtual GenICam::gcstring GetDocuURL () const
 Gets a URL pointing to the documentation of that feature. More...
 
virtual bool IsDeprecated () const
 True if the node should not be used any more. More...
 
virtual EInterfaceType GetPrincipalInterfaceType () const
 Get the type of the main interface of a node. More...
 
virtual bool IsFeature () const
 True if the node can be reached via category nodes from a category node named "Root". More...
 
void SetNodeHandle (std::shared_ptr< Node::NodeImpl > pNodeHandle)
 Set Node handle. More...
 
std::shared_ptr< Node::NodeImpl > GetNodeHandle () const
 Get Node handle. More...
 
virtual EAccessMode GetAccessMode () const
 Base interface overrides. More...
 
virtual bool IsSelector () const
 Selector interface overrides. More...
 
virtual void GetSelectedFeatures (FeatureList_t &) const
 retrieve the group of selected features More...
 
virtual void GetSelectingFeatures (FeatureList_t &) const
 retrieve the group of features selecting this node More...
 
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. More...
 
INodeMapm_pNodeMap
 

Detailed Description

Interface for string properties.

Constructor & Destructor Documentation

IntegerNode ( std::shared_ptr< Node::NodeImpl >  pInteger)
virtual ~IntegerNode ( )
virtual

Member Function Documentation

virtual IFloat* GetFloatAlias ( )
virtual

gets the interface of an alias node.

virtual int64_t GetInc ( )
virtual

Get increment.

virtual EIncMode GetIncMode ( )
virtual

Get increment mode.

virtual int64_autovector_t GetListOfValidValues ( bool  bounded = true)
virtual

Get list of valid value.

virtual int64_t GetMax ( )
virtual

Get maximum value allowed.

virtual int64_t GetMin ( )
virtual

Get minimum value allowed.

virtual ERepresentation GetRepresentation ( )
virtual

Get recommended representation.

virtual GenICam::gcstring GetUnit ( )
virtual

Get the physical unit name.

virtual int64_t GetValue ( bool  Verify = false,
bool  IgnoreCache = false 
)
virtual

Get node value.

Parameters
VerifyEnables Range verification (default = false). The AccessMode is always checked
IgnoreCacheIf true the value is read ignoring any caches (default = false)
Returns
The value read
virtual void ImposeMax ( int64_t  Value)
virtual

Restrict maximum value.

virtual void ImposeMin ( int64_t  Value)
virtual

Restrict minimum value.

virtual int64_t operator() ( )
virtual

Get node value.

virtual int64_t operator* ( )
virtual

Get node value.

virtual IInteger& operator= ( int64_t  Value)
virtual

Set node value.

virtual void SetReference ( INode pBase)
virtual

overload SetReference for Integer

Reimplemented from ValueNode.

Reimplemented in IntRegNode.

virtual void SetValue ( int64_t  Value,
bool  Verify = true 
)
virtual

Set node value.

Parameters
ValueThe value to set
VerifyEnables AccessMode and Range verification (default = true)

The documentation for this class was generated from the following file:
Contact Support Spinnaker® SDK Programmer's Guide and API Reference