blob: c5b59d5e26982fa13dc3d1038a91431bcb9c6704 (
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
|
#include <asline.h>
#include "cabledata.h"
class CableRun : public AsLine {
public :
CableRun( ANetNodeInstance * NNI,
CableData & Data ) : AsLine( NNI )
{ D = &Data; }
virtual AsLine * asLine( void )
{ return (AsLine *)this; }
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 * D;
};
|