/usr/include/ossim/base/ossimSource.h is in libossim-dev 1.7.21-3ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 | //*******************************************************************
//
// License: See top level LICENSE.txt file.
//
// Author: Garrett Potts (gpotts@imagelinks)
// Description:
// Base class for any object that can be a source. Derives from
// ossimConnectableObject since all source's should be connectable
//
//*************************************************************************
// $Id: ossimSource.h 14789 2009-06-29 16:48:14Z dburken $
#ifndef ossimSource_HEADER
#define ossimSource_HEADER
#include <ossim/base/ossimConnectableObject.h>
#include <ossim/base/ossimErrorStatusInterface.h>
#include <ossim/base/ossimConstants.h>
class ossimDataObject;
class OSSIMDLLEXPORT ossimSource : public ossimConnectableObject,
public ossimErrorStatusInterface
{
public:
ossimSource(ossimObject* owner=0);
ossimSource(ossimObject* owner,
ossim_uint32 inputListSize,
ossim_uint32 outputListSize,
bool inputListIsFixedFlag=true,
bool outputListIsFixedFlag=true);
virtual ~ossimSource();
virtual bool isSourceEnabled()const;
virtual void enableSource();
virtual void disableSource();
virtual bool getEnableFlag() const;
virtual void setEnableFlag(bool flag);
virtual bool isInitialized() const;
virtual void setInitializedFlag(bool flag);
virtual void initialize();
/*---------------------- PROPERTY INTERFACE ---------------------------*/
virtual void setProperty(ossimRefPtr<ossimProperty> property);
virtual ossimRefPtr<ossimProperty> getProperty(const ossimString& name)const;
virtual void getPropertyNames(std::vector<ossimString>& propertyNames)const;
/*--------------------- PROPERTY INTERFACE END ------------------------*/
virtual bool saveState(ossimKeywordlist& kwl,
const char* prefix=0)const;
virtual bool loadState(const ossimKeywordlist& kwl,
const char* prefix=0);
virtual std::ostream& print(std::ostream& out) const;
protected:
ossimSource(const ossimSource &rhs);
const ossimSource& operator=(const ossimSource &rhs);
bool theEnableFlag;
bool theInitializedFlag;
TYPE_DATA
};
#endif
|