Source
SIIterBot_adaptor( std::shared_ptr<SIIterBot_state> state, const std::string &bus_name, const std::string &object_path );
//# SIIterBot.h: This file contains the interface definition SIIterBot class
//#
//# CASA - Common Astronomy Software Applications (http://casa.nrao.edu/)
//# Copyright (C) Associated Universities, Inc. Washington DC, USA 2011, All rights reserved.
//# Copyright (C) European Southern Observatory, 2011, All rights reserved.
//#
//# This library is free software; you can redistribute it and/or
//# modify it under the terms of the GNU Lesser General Public
//# License as published by the Free software Foundation; either
//# version 2.1 of the License, or (at your option) any later version.
//#
//# This library is distributed in the hope that it will be useful,
//# but WITHOUT ANY WARRANTY, without even the implied warranty of
//# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
//# Lesser General Public License for more details.
//#
//# You should have received a copy of the GNU Lesser General Public
//# License along with this library; if not, write to the Free Software
//# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
//# MA 02111-1307 USA
//# $Id: $
// .casarc interface
// System utilities (for profiling macros)
/*for DBus::Variant... probably can be removed with *_adaptor class*/
// Boost Libraries for mutex and noncopyable semantics
// Include files for the DBus Service
//#include <casadbus/interfaces/SynthImager.adaptor.h>
namespace casacore{
class Record;
}
namespace casa { //# NAMESPACE CASA - BEGIN
class SIIterBot_adaptor;
class SIIterBot_callback {
public:
SIIterBot_callback( ) : adaptor(0) { }
~SIIterBot_callback( ) { }
void interactionRequired(bool);
void addHandler( SIIterBot_adaptor* );
void removeHandler( SIIterBot_adaptor* );
private:
std::recursive_mutex mutex;
SIIterBot_adaptor *adaptor;
};
class SIIterBot_state {
private:
// make SIIterBot_state uncopyable...
SIIterBot_state( const SIIterBot_state & );
SIIterBot_state &operator=( const SIIterBot_state & );
public:
SIIterBot_state( std::shared_ptr<SIIterBot_callback> );
~SIIterBot_state( );