You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
			
				
					10 lines
				
				214 B
			
		
		
			
		
	
	
					10 lines
				
				214 B
			| 
								 
											5 years ago
										 
									 | 
							
								#pragma once
							 | 
						||
| 
								 
											5 years ago
										 
									 | 
							
								#include "file_sensor.h"
							 | 
						||
| 
								 
											5 years ago
										 
									 | 
							
								
							 | 
						||
| 
								 | 
							
								class LightSensor : public FileSensor {
							 | 
						||
| 
								 | 
							
								public:
							 | 
						||
| 
								 
											3 years ago
										 
									 | 
							
								  LightSensor(std::string filename);
							 | 
						||
| 
								 | 
							
								  bool get_event(MessageBuilder &msg, uint64_t ts = 0);
							 | 
						||
| 
								 
											3 years ago
										 
									 | 
							
								  int shutdown() { return 0; }
							 | 
						||
| 
								 
											5 years ago
										 
									 | 
							
								};
							 |