=default for generated implementation copy ctor
[ACE_TAO.git] / TAO / utils / logWalker / PeerObject.h
blob20e01859153e6487f959a7f897eeb16545482f64
1 // -*- C++ -*-
3 //
5 #ifndef LOG_WALKER_PEER_OBJECT_H
6 #define LOG_WALKER_PEER_OBJECT_H
8 #include "ace/SString.h"
9 #include "ace/Unbounded_Queue.h"
10 #include "ace/streams.h"
12 class PeerProcess;
13 class Invocation;
15 typedef ACE_Unbounded_Queue<Invocation*> Invocations;
16 typedef ACE_Unbounded_Queue_Iterator<Invocation*> InvocationIter;
18 class PeerObject
20 public:
21 PeerObject (long ident, const char *name, PeerProcess * );
22 virtual ~PeerObject ();
24 void add_invocation (Invocation *inv);
25 void dump_detail (ostream &strm);
26 size_t num_invocations ();
27 long ident ();
28 ACE_CString &name ();
30 private:
31 long ident_;
32 ACE_CString name_;
33 //PeerProcess *parent_;
34 Invocations invocations_;
37 #endif // LOG_WALKER_PEER_OBJECT_H