/usr/include/ossim/base/ossimConnectionEvent.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 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 | //*******************************************************************
// Copyright (C) 2000 ImageLinks Inc.
//
// License: MIT
//
// See LICENSE.txt file in the top level directory for more details.
//
// Author: Garrett Potts
//
//*************************************************************************
// $Id: ossimConnectionEvent.h 15766 2009-10-20 12:37:09Z gpotts $
#ifndef ossimConnectionEvent_HEADER
#define ossimConnectionEvent_HEADER
#include <vector>
#include <ossim/base/ossimEventIds.h>
#include <ossim/base/ossimEvent.h>
#include <ossim/base/ossimConnectableObject.h>
class OSSIMDLLEXPORT ossimConnectionEvent : public ossimEvent
{
public:
enum ossimConnectionDirectionType
{
OSSIM_DIRECTION_UNKNOWN = 0,
OSSIM_INPUT_DIRECTION = 1,
OSSIM_OUTPUT_DIRECTION = 2,
OSSIM_INPUT_OUTPUT_DIRECTION = 3
};
ossimConnectionEvent(ossimObject* object=NULL,
long id=OSSIM_EVENT_NULL_ID);
ossimConnectionEvent(ossimObject* object,
long id,
const ossimConnectableObject::ConnectableObjectList& newList,
const ossimConnectableObject::ConnectableObjectList& oldList,
ossimConnectionDirectionType whichDirection);
ossimConnectionEvent(ossimObject* object,
long id,
ossimConnectableObject* newConnectableObject,
ossimConnectableObject* oldConnectableObject,
ossimConnectionDirectionType whichDirection);
ossimConnectionEvent(const ossimConnectionEvent& rhs);
ossimObject* dup()const;
virtual void setDirection(ossimConnectionDirectionType direction);
virtual ossimConnectionDirectionType getDirection()const;
virtual ossim_uint32 getNumberOfNewObjects()const;
virtual ossim_uint32 getNumberOfOldObjects()const;
virtual ossimConnectableObject* getOldObject(ossim_uint32 i=0);
virtual ossimConnectableObject* getNewObject(ossim_uint32 i=0);
virtual bool isDisconnect()const;
virtual bool isConnect()const;
virtual bool isInputDirection()const;
virtual bool isOutputDirection()const;
protected:
ossimConnectableObject::ConnectableObjectList theNewObjectList;
ossimConnectableObject::ConnectableObjectList theOldObjectList;
ossimConnectionDirectionType theDirectionType;
TYPE_DATA
};
#endif
|