yast2-core
Public Member Functions | Private Attributes | List of all members
ModulesAgent Class Reference

An interface class between YaST2 and modules.conf. More...

#include <ModulesAgent.h>

Inheritance diagram for ModulesAgent:
SCRAgent

Public Member Functions

 ModulesAgent ()
 
virtual ~ModulesAgent ()
 
virtual YCPValue Read (const YCPPath &path, const YCPValue &arg=YCPNull(), const YCPValue &optarg=YCPNull())
 
virtual YCPBoolean Write (const YCPPath &path, const YCPValue &value, 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 YCPValue Execute (const YCPPath &path, const YCPValue &=YCPNull(), const YCPValue &=YCPNull())
 
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
 

Private Attributes

ModulesConfmodules_conf
 

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 modules.conf.

Constructor & Destructor Documentation

ModulesAgent::ModulesAgent ( )

Default constructor.

Constructor

ModulesAgent::~ModulesAgent ( )
virtual

Destructor.

Destructor

References modules_conf.

Member Function Documentation

YCPList ModulesAgent::Dir ( const YCPPath path)
virtual
YCPValue ModulesAgent::otherCommand ( const YCPTerm term)
virtual

Used for mounting the agent.

otherCommand

Reimplemented from SCRAgent.

References modules_conf, YCPTerm::name(), YCPTerm::size(), SCRAgent::targetPath(), YCPTerm::value(), and Y2_RETURN_VOID.

YCPValue ModulesAgent::Read ( const YCPPath path,
const YCPValue arg = YCPNull(),
const YCPValue optarg = YCPNull() 
)
virtual
YCPBoolean ModulesAgent::Write ( const YCPPath path,
const YCPValue value,
const YCPValue arg = YCPNull() 
)
virtual

Member Data Documentation

ModulesConf* ModulesAgent::modules_conf
private

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

Generated on a sunny day for yast2-core by doxygen 1.8.6