This file is indexed.

/usr/include/CLAM/Slot.hxx is in libclam-dev 1.4.0-5build1.

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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
/*
 * Copyright (c) 2001-2004 MUSIC TECHNOLOGY GROUP (MTG)
 *                         UNIVERSITAT POMPEU FABRA
 *
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program 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 General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 *
 */

#ifndef __SLOT__
#define __SLOT__

#include "Connection.hxx"
#include <list>

namespace SigSlot
{

/** \class Slot
 *  \brief The receiver of a Signal
 *
 *  If the Signal represents the concept of Event Notifying, the Slot represents
 *  the 'Event handler'
 *
 *  \see Signal
 */
		class Slot
		{
				typedef std::list<Connection>        tConnectionList;
				typedef tConnectionList::iterator    tConnectionIterator;
				
		public:
		
				/** \brief Binds the Slot with a Signal
				 *
				 *  This method keeps the Slot bound to a given Signal ( identified by a
				 *  Connection ).
				 *
				 *  \param conn The connection to establish
				 */
				void Bind(const Connection& conn );
				
				/** \brief Disconnects the Slot
				 *
				 *  Calling this method severs all the existing connections between
				 *  the present slot and any signal.
				 */
				void Unbind();
				
				/** \brief Disconnects the Slot
				 *
				 *  Calling this method severs the connection between the Slot and the
				 *  Signal identified by the connection Id number.
				 *  \param conn The connection to be severed.
				 */
				void Unbind( Connection::tConnectionId conn );
				
				/** \brief Tells how many signals are connected
				 *
				 *  This method tells the client how many connections are already established
				 *  with Signals for the present Slot.
				 *  \return The number of Signals connected to the Slot
				 */
				unsigned  ActiveConnections() const
				{
						return mActiveConnections.size();
				}
				
				/** \brief Destructor
				 *
				 *  Destructor method.
				 */
				~Slot();
				
		private:
				
				tConnectionList     mActiveConnections;
		};
		
}

#endif // Slot.hxx