yast2-hardware-detection
Public Member Functions | List of all members
HardwareDetectionAgent Class Reference

An interface class between YaST2 and HardwareDetection Agent. More...

#include <HardwareDetectionAgent.h>

Inheritance diagram for HardwareDetectionAgent:
SCRAgent

Public Member Functions

 HardwareDetectionAgent ()
 
virtual ~HardwareDetectionAgent ()
 
virtual YCPValue Read (const YCPPath &path, const YCPValue &arg=YCPNull(), const YCPValue &opt=YCPNull())
 
virtual YCPBoolean Write (const YCPPath &path, const YCPValue &value, const YCPValue &arg=YCPNull())
 
virtual YCPValue Execute (const YCPPath &path, const YCPValue &value=YCPNull(), const YCPValue &arg=YCPNull())
 
virtual YCPList Dir (const YCPPath &path)
 
virtual YCPValue otherCommand (const YCPTerm &term)
 
- Public Member Functions inherited from SCRAgent
 SCRAgent ()
 
virtual ~SCRAgent ()
 
virtual YCPMap Error (const YCPPath &)
 
virtual YCPBoolean RegisterAgent (const YCPPath &path, const YCPValue &)
 
virtual YCPBoolean UnregisterAgent (const YCPPath &path)
 
virtual YCPBoolean UnregisterAllAgents ()
 
virtual YCPBoolean UnmountAgent (const YCPPath &)
 
virtual YCPBoolean RegisterNewAgents ()
 
virtual const char * root () const
 
void setAsCurrentSCR ()
 
string targetPath (const string &path) const
 

Additional Inherited Members

- Static Public Member Functions inherited from SCRAgent
static YCPValue readconf (const char *filename)
 
static SCRAgentinstance ()
 
- Public Attributes inherited from SCRAgent
SCRAgentmainscragent
 

Detailed Description

An interface class between YaST2 and HardwareDetection Agent.

Constructor & Destructor Documentation

HardwareDetectionAgent::HardwareDetectionAgent ( )

Agent private variables Default constructor.

Constructor

HardwareDetectionAgent::~HardwareDetectionAgent ( )
virtual

Destructor.

Destructor

Member Function Documentation

YCPList HardwareDetectionAgent::Dir ( const YCPPath path)
virtual

Provides SCR Dir ().

Dir

Implements SCRAgent.

References y2error.

YCPValue HardwareDetectionAgent::Execute ( const YCPPath path,
const YCPValue value = YCPNull(),
const YCPValue arg = YCPNull() 
)
virtual

Provides SCR Execute ().

Execute

Reimplemented from SCRAgent.

References y2error.

YCPValue HardwareDetectionAgent::otherCommand ( const YCPTerm term)
virtual

Used for mounting the agent.

otherCommand

Reimplemented from SCRAgent.

References YCPTerm::name().

YCPValue HardwareDetectionAgent::Read ( const YCPPath path,
const YCPValue arg = YCPNull(),
const YCPValue opt = YCPNull() 
)
virtual

Provides SCR Read ().

Parameters
pathPath that should be read.
argAdditional parameter.

Read

Implements SCRAgent.

References y2error.

YCPBoolean HardwareDetectionAgent::Write ( const YCPPath path,
const YCPValue value,
const YCPValue arg = YCPNull() 
)
virtual

Provides SCR Write ().

Write

Implements SCRAgent.

References y2error.


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

Generated on a sunny day for yast2-hardware-detection by doxygen 1.8.11