OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
include
ossim
base
ossimCallback1wRet.h
Go to the documentation of this file.
1
//----------------------------------------------------------------------------
2
//
3
// File: ossimCallback1wRet.h
4
//
5
// License: MIT
6
//
7
// See LICENSE.txt file in the top level directory for more details.
8
//
9
// Author: David Burken
10
//
11
// Description:
12
//
13
// Simple templated callback class that takes a single parameter(argument) "P1"
14
// and has a return "RT".
15
//
16
// See link for more detail description:
17
// http://www.tutok.sk/fastgl/callback.html
18
//
19
//----------------------------------------------------------------------------
20
// $Id$
21
22
#ifndef ossimCallback1wRet_HEADER
23
#define ossimCallback1wRet_HEADER 1
24
73
template
<
class
P1,
class
RT>
class
ossimCallback1wRet
74
{
75
public
:
76
ossimCallback1wRet
(){}
77
virtual
~ossimCallback1wRet
(){}
78
virtual
RT
operator()
(P1 p1)
const
= 0;
79
};
80
81
#endif
/* #ifndef ossimCallback1wRet_HEADER */
ossimCallback1wRet::ossimCallback1wRet
ossimCallback1wRet()
Definition:
ossimCallback1wRet.h:76
ossimCallback1wRet::operator()
virtual RT operator()(P1 p1) const =0
ossimCallback1wRet
Usage example, note template params can be anything:
Definition:
ossimCallback1wRet.h:73
ossimCallback1wRet::~ossimCallback1wRet
virtual ~ossimCallback1wRet()
Definition:
ossimCallback1wRet.h:77
Generated on Fri Aug 3 2018 08:46:45 for OSSIM - Open Source Software Image Map by
1.8.14