Jpp
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Typedefs | Functions | Variables
JTag.hh File Reference
#include <istream>
#include <ostream>
#include <string>
#include "JLang/JException.hh"
#include "JLang/JType.hh"
#include "JLang/JNullType.hh"

Go to the source code of this file.

Classes

class  JNET::JTag
 ControlHost tag. More...
 
class  JTagAvailable< T >
 Test availability of JTag value for given class. More...
 
class  JTagAvailable< T >::JSmall
 
class  JTagAvailable< T >::JBig
 

Namespaces

 JNET
 Interprocess communication.
 
 JPP
 

Typedefs

typedef long long int JNET::JTag_t
 Type definition of numerical ControlHost tag. More...
 

Functions

bool JNET::operator< (const JTag &first, const JTag &second)
 Less than operator for JTag. More...
 
bool JNET::operator== (const JTag &first, const JTag &second)
 Equal operator for JTag. More...
 
bool JNET::operator!= (const JTag &first, const JTag &second)
 Not equal operator for JTag. More...
 
template<class T >
JNET::JTag getTag ()
 Template definition for method returning JTag value. More...
 
template<class T >
JLANG::JNullType getTag (JLANG::JType< T > type)
 Argument definition for method returning TTree parameters. More...
 

Variables

static const size_t JNET::TAGSIZE = sizeof(JTag_t)
 
static const JTag JNET::DISPTAG_Subscribe ("_Subscri")
 Special ControlHost tags. More...
 
static const JTag JNET::DISPTAG_Gime ("_Gime")
 
static const JTag JNET::DISPTAG_Always ("_Always")
 
static const JTag JNET::DISPTAG_MyId ("_MyId")
 
static const JTag JNET::DISPTAG_Born ("Born")
 
static const JTag JNET::DISPTAG_Died ("Died")
 
static const JTag JNET::DISPTAG_ShowStat ("_ShowSta")
 
static const JTag JNET::DISPTAG_WhereIs ("_WhereIs")
 
static const JTag JNET::DISPTAG_Version ("_Version")
 
static const JTag JNET::DISPTAG_UNDEFINED (0)
 

Function Documentation

template<class T >
JNET::JTag getTag ( )
inline

Template definition for method returning JTag value.

The template argument refers to the data type for future ControlHost operations.

Definition at line 313 of file JTag.hh.

314 {
315  return getTag(JLANG::JType<T>());
316 }
Auxiliary class for a type holder.
Definition: JType.hh:19
JNET::JTag getTag(JLANG::JType< KM3NETDAQ::JDAQTimeslice >)
Definition: JDAQTags.hh:80
template<class T >
JLANG::JNullType getTag ( JLANG::JType< T >  type)
inline

Argument definition for method returning TTree parameters.

The method argument refers to the data type for future I/O operations. This method should be overloaded for each desired class and return a corresponding JTreeParameters object.

Parameters
typedata type