=default for generated implementation copy ctor
[ACE_TAO.git] / TAO / utils / logWalker / PeerObject.cpp
blob3e7d4d4986bb2d6c97c2521d9f7a199524454160
2 #include "PeerObject.h"
3 #include "Invocation.h"
5 PeerObject::PeerObject (long id, const char *name, PeerProcess *)
6 :ident_(id)
7 ,name_(name)
8 // ,parent_(parent)
12 PeerObject::~PeerObject ()
16 ACE_CString &
17 PeerObject::name ()
19 return this->name_;
22 long
23 PeerObject::ident ()
25 return this->ident_;
28 void
29 PeerObject::add_invocation (Invocation *inv)
31 this->invocations_.enqueue_tail (inv);
33 size_t
34 PeerObject::num_invocations ()
36 return this->invocations_.size();
39 void
40 PeerObject::dump_detail (ostream &strm)
42 size_t s = this->invocations_.size();
43 strm << " " << this->name_ << " has "
44 << s << " invocation"
45 << (s > 1 ? "s" : "")
46 << endl;