/usr/include/ossim/base/ossimViewController.h is in libossim-dev 2.2.2-1.
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 | //*******************************************************************
//
// License: See top level LICENSE.txt file.
//
// Author: Garrett Potts (gpotts@imagelinks)
//
//*************************************************************************
// $Id: ossimViewController.h 15766 2009-10-20 12:37:09Z gpotts $
#ifndef ossimViewController_HEADER
#define ossimViewController_HEADER
#include <ossim/base/ossimSource.h>
#include <ossim/base/ossimViewInterface.h>
/*!
* All view sources will derive from this class. For example
* we can have a mapped view or Perspective view of the scene
* being rendered. All sources within the containers are expected
* to derive from the view interface.
*/
class OSSIMDLLEXPORT ossimViewController : public ossimSource
{
public:
ossimViewController();
ossimViewController(ossimObject* owner,
ossim_uint32 inputListSize,
ossim_uint32 outputListSize,
bool inputListFixedFlag=true,
bool outputListFixedFlag=false);
virtual ~ossimViewController();
virtual ossimString getShortName()const;
virtual ossimString getLongName()const;
virtual bool propagateView();
virtual bool setView(ossimObject* object);
virtual ossimObject* getView();
virtual const ossimObject* getView()const;
virtual bool canConnectMyInputTo(ossim_int32 index,
const ossimConnectableObject* obj)const;
virtual const ossimObject* findFirstViewOfType(RTTItypeid typeId)const;
protected:
ossimRefPtr<ossimObject> theView;
TYPE_DATA
};
#endif
|