yast2-core
SCRSubAgent.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 
3 /*
4  * Author: Arvin Schnell <arvin@suse.de>
5  * Maintainer: Arvin Schnell <arvin@suse.de>
6  */
7 
8 
9 #ifndef SCRSubAgent_h
10 #define SCRSubAgent_h
11 
12 #include <y2/Y2Component.h>
13 #include <scr/SCRAgent.h>
14 
15 
17 {
18 
19 public:
20 
25 
29  ~SCRSubAgent ();
30 
35  YCPValue mount (SCRAgent *parent);
36 
41  void unmount ();
42 
46  YCPPath get_path () const { return my_path; }
47 
52  Y2Component * get_comp () const { return my_comp; }
53 
57  friend int operator < (const SCRSubAgent *, const YCPPath &);
58 
59 private:
60 
65 
71 
76 
77  SCRSubAgent (const SCRSubAgent &); // disallow
78  void operator = (const SCRSubAgent &); // disallow
79 
80 };
81 
82 
83 #endif // SCRSubAgent_h
void unmount()
Definition: SCRSubAgent.cc:113
YCPPath my_path
Definition: SCRSubAgent.h:64
~SCRSubAgent()
Definition: SCRSubAgent.cc:36
Y2Component * get_comp() const
Definition: SCRSubAgent.h:52
YCPValue mount(SCRAgent *parent)
Definition: SCRSubAgent.cc:43
Communication handle to a YaST2 component.
Definition: Y2Component.h:262
SuSE Configuration Repository Agent.
Definition: SCRAgent.h:37
SCRSubAgent(YCPPath, YCPValue)
Definition: SCRSubAgent.cc:28
YCPPath get_path() const
Definition: SCRSubAgent.h:46
YCPValue my_value
Definition: SCRSubAgent.h:70
Definition: SCRSubAgent.h:16
Wrapper for YCPValueRep This class realizes an automatic memory management via YCPElement. Access the functionality of YCPValueRep with the arrow operator. See YCPValueRep.
Definition: YCPValue.h:275
void operator=(const SCRSubAgent &)
friend int operator<(const SCRSubAgent *, const YCPPath &)
Definition: SCRSubAgent.cc:22
Wrapper for YCPPathRep This class realizes an automatic memory management via YCPElement. Access the functionality of YCPPathRep with the arrow operator. See YCPPathRep.
Definition: YCPPath.h:175
Y2Component * my_comp
Definition: SCRSubAgent.h:75

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