CARMA C++
MonitorDevice.h
Go to the documentation of this file.
1 
2 #ifndef CARMA_MONITOR_MONITORDEVICE_H
3 #define CARMA_MONITOR_MONITORDEVICE_H
4 
5 
22 
23 
24 namespace carma {
25  namespace monitor {
26 
27 
33 public:
34 
39  MonitorDevice(const std::string& name);
40 
46  MonitorDevice(const std::string& name,
47  PhysicalDevice& physicalDevice);
48 
52  virtual ~MonitorDevice() ;
53 
58 
63  void setPhysicalDevice(PhysicalDevice& physicalDevice);
64 
65  // Virtual - inherits documentation
66  std::string getPhysicalDeviceName() const ;
67 private:
68  PhysicalDevice* physicalDevice_;
69  MonitorDevice(); // Default constructor is private!
70 };
71 
72 } } // End namespace carma::monitor
73 
74 
75 #endif // CARMA_MONITOR_MONITORDEVICE_H
76 
77 
78 
79 
80 
81 
82 
83 
Monitor system physical device.
virtual ~MonitorDevice()
Destructor.
std::string getPhysicalDeviceName() const
Get the physical device name, if one exists.
A monitor system device, used in the construction of monitor points and containers that are based on ...
Definition: MonitorDevice.h:32
A monitor system physical device, used in the construction of monitor points and containers that are ...
A generic monitor system container base class.
PhysicalDevice & getPhysicalDevice() const
Get the physical device.
A generic monitor system container base class.
void setPhysicalDevice(PhysicalDevice &physicalDevice)
Set the physical device.