Skip to content

GenApi::CCommandRefT#

More…

Inherits from GenApi::CValueRefT< T >

Public Functions#

Name
virtual void Execute(bool Verify =true)
Execute the command.
virtual void operator())()
Execute the command.
virtual bool IsDone(bool Verify =true)
Query whether the command is executed.
virtual INode * GetNode()
Get the INode interface of the node.
virtual GenICam::gcstring ToString(bool Verify =false, bool IgnoreCache =false)
Get content of the node as string.
virtual void FromString(const GenICam::gcstring & ValueStr, bool Verify =true)
Set content of the node as string.
virtual bool IsValueCacheValid() const
Checks if the value comes from cache or is requested from another node.
virtual EAccessMode GetAccessMode() const
Get the access mode of the node.

Detailed Description#

template <class T >
class GenApi::CCommandRefT;

Public Functions Documentation#

function Execute#

inline virtual void Execute(
    bool Verify =true
)

Execute the command.

function operator()#

inline virtual void operator()()

Execute the command.

function IsDone#

inline virtual bool IsDone(
    bool Verify =true
)

Query whether the command is executed.

function GetNode#

inline virtual INode * GetNode()

Get the INode interface of the node.

function ToString#

inline virtual GenICam::gcstring ToString(
    bool Verify =false,
    bool IgnoreCache =false
)

Get content of the node as string.

function FromString#

inline virtual void FromString(
    const GenICam::gcstring & ValueStr,
    bool Verify =true
)

Set content of the node as string.

function IsValueCacheValid#

inline virtual bool IsValueCacheValid() const

Checks if the value comes from cache or is requested from another node.

function GetAccessMode#

inline virtual EAccessMode GetAccessMode() const

Get the access mode of the node.