예제 #1
0
//------------------------------------------------------------------------------
//!
void
DFPolygonInput::disconnect()
{
   if( !_output ) return;
   disconnectFrom( _output );
   _output = nullptr;
}
예제 #2
0
//------------------------------------------------------------------------------
//!
void
DFPolygonInput::connect( DFOutput* output )
{
   CHECK( type() == output->type() );
   if( _output ) disconnectFrom( _output );
   _output = (DFPolygonOutput*)output;
}
예제 #3
0
//------------------------------------------------------------------------------
//!
void
DFPolygonMultiInput::disconnect()
{
   for( auto it = _outputs.begin(); it != _outputs.end(); ++it )
   {
      disconnectFrom( *it );
   }
   _outputs.clear();
}
예제 #4
0
void NetworkPortal::handleDoDisconnect(Event::DoDisconnect *event) {
    disconnectFrom();
}
예제 #5
0
NetworkPortal::~NetworkPortal() {
    disconnectFrom();
}