blob: 20608f654c29faedbeb77cfc8e235d966c7fddd8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#include <asline.h>
#include "cabledata.h"
class CableRun : public AsLine {
public :
CableRun( ANetNodeInstance * NNI,
CableData_t & D ) : AsLine( NNI )
{ Data = &D; }
virtual AsLine * asLine( void )
{ return (AsLine *)this; }
virtual QString deviceFile( void );
protected :
void detectState( NodeCollection * NC );
bool setState( NodeCollection * NC, Action_t A, bool Force );
bool canSetState( State_t Curr, Action_t A );
private :
CableData_t * Data;
};
|