Functions

Timer_Hash_T.cpp File Reference

#include "ace/Timer_Hash_T.h"
#include "ace/OS_NS_sys_time.h"
#include "ace/Guard_T.h"
#include "ace/Log_Msg.h"
Include dependency graph for Timer_Hash_T.cpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

 ACE_RCSID (ace, Timer_Hash_T,"$Id: Timer_Hash_T.cpp 89254 2010-02-25 22:10:39Z cleeland $") 1 template< class TYPE > class Hash_Token

Function Documentation

ACE_RCSID ( ace  ,
Timer_Hash_T  ,
"$Id: Timer_Hash_T.cpp 89254 2010-02-25 22:10:39Z cleeland $"   
)

Pointer to next token.

Definition at line 16 of file Timer_Hash_T.cpp.

              : Timer_Hash_T.cpp 89254 2010-02-25 22:10:39Z cleeland $")

ACE_BEGIN_VERSIONED_NAMESPACE_DECL

template <class TYPE>
class Hash_Token
{
public:
  // This constructor is required by ACE_Locked_Free_List::alloc.
  Hash_Token (void)
  {}

  Hash_Token<TYPE> *get_next (void)
  {
    return this->next_;
  }

  void set_next (Hash_Token<TYPE> *next)
  {
    this->next_ = next;
  }

  void set (const void *act,
            size_t pos,
            long orig_id,
            const TYPE &type)
  {
    this->act_ = act;
    this->pos_ = pos;
    this->orig_id_ = orig_id;
    this->type_ = type;
    this->next_ = 0;
  }

  const void *act_;
  size_t pos_;
  long orig_id_;
  TYPE type_;
  /// Pointer to next token.
  Hash_Token<TYPE> *next_;
};

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines