summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings2/cable/cablerun.h
blob: 7b341c4ab932599de03dc91c2e8eb405abee27f7 (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 canSetState( State_t Curr, Action_t A );

private :

      CableData_t * D;
};