blob: 20e01859153e6487f959a7f897eeb16545482f64 (
plain)
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
|
// -*- C++ -*-
//
#ifndef LOG_WALKER_PEER_OBJECT_H
#define LOG_WALKER_PEER_OBJECT_H
#include "ace/SString.h"
#include "ace/Unbounded_Queue.h"
#include "ace/streams.h"
class PeerProcess;
class Invocation;
typedef ACE_Unbounded_Queue<Invocation*> Invocations;
typedef ACE_Unbounded_Queue_Iterator<Invocation*> InvocationIter;
class PeerObject
{
public:
PeerObject (long ident, const char *name, PeerProcess * );
virtual ~PeerObject ();
void add_invocation (Invocation *inv);
void dump_detail (ostream &strm);
size_t num_invocations ();
long ident ();
ACE_CString &name ();
private:
long ident_;
ACE_CString name_;
//PeerProcess *parent_;
Invocations invocations_;
};
#endif // LOG_WALKER_PEER_OBJECT_H
|