Old fashion design for PC-104
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.
|
|
#include "stdafx.h"
#include "LgPersistPin.h"
CLgPersistPin::~CLgPersistPin(){ PinToPinLinkP::Unlink();}
BOOL CLgPersistPin::IsConnectable( CLgPersistPin *pPin ){ if( !IsConnectable() || !pPin->IsConnectable() ) return FALSE;
if( GetTypeConnectable() == pPin->GetType() && GetType() == pPin->GetTypeConnectable() ) return TRUE;
return FALSE;}
BOOL CLgPersistPin::Connect( CLgPersistPin *pPin ){ if( !IsConnectable( pPin ) ) return FALSE;
return CLgLinkP<CLgPersistPin,CLgPersistPin>::Link( pPin );}
|