ChimeraTK-DeviceAccess-TangoBackend 00.01.02
Loading...
Searching...
No Matches
TangoTestServer_ns::TangoTestServerClass Class Reference

The TangoTestServerClass singleton definition. More...

#include <TangoTestServerClass.h>

+ Inheritance diagram for TangoTestServer_ns::TangoTestServerClass:
+ Collaboration diagram for TangoTestServer_ns::TangoTestServerClass:

Public Member Functions

 ~TangoTestServerClass ()
 method : TangoTestServerClass::~TangoTestServerClass() description : destructor for the TangoTestServerClass
 
Tango::DbDatum get_class_property (std::string &)
 
Tango::DbDatum get_default_device_property (std::string &)
 
Tango::DbDatum get_default_class_property (std::string &)
 

Static Public Member Functions

static TangoTestServerClassinit (const char *)
 method : TangoTestServerClass::init description : Create the object if not already done.
 
static TangoTestServerClassinstance ()
 method : TangoTestServerClass::instance description : Check if object already created, and return a pointer to the object
 

Public Attributes

Tango::DbData cl_prop
 
Tango::DbData cl_def_prop
 
Tango::DbData dev_def_prop
 

Protected Member Functions

 TangoTestServerClass (std::string &)
 method : TangoTestServerClass::TangoTestServerClass(std::string &s) description : constructor for the TangoTestServerClass
 
void command_factory ()
 
void attribute_factory (std::vector< Tango::Attr * > &)
 
void pipe_factory ()
 
void write_class_property ()
 
void set_default_property ()
 
void get_class_property ()
 
std::string get_cvstag ()
 
std::string get_cvsroot ()
 

Static Protected Attributes

static TangoTestServerClass_instance = NULL
 

Detailed Description

The TangoTestServerClass singleton definition.

Definition at line 537 of file TangoTestServerClass.h.

Constructor & Destructor Documentation

◆ ~TangoTestServerClass()

TangoTestServer_ns::TangoTestServerClass::~TangoTestServerClass ( )

method : TangoTestServerClass::~TangoTestServerClass() description : destructor for the TangoTestServerClass

Definition at line 109 of file TangoTestServerClass.cpp.

◆ TangoTestServerClass()

TangoTestServer_ns::TangoTestServerClass::TangoTestServerClass ( std::string &  s)
protected

method : TangoTestServerClass::TangoTestServerClass(std::string &s) description : constructor for the TangoTestServerClass

Parameters
sThe class name

Definition at line 89 of file TangoTestServerClass.cpp.

Member Function Documentation

◆ attribute_factory()

void TangoTestServer_ns::TangoTestServerClass::attribute_factory ( std::vector< Tango::Attr * > &  att_list)
protected
 Method      : TangoTestServerClass::attribute_factory()

Description: Create the attribute object(s) and store them in the attribute list

Definition at line 335 of file TangoTestServerClass.cpp.

◆ command_factory()

void TangoTestServer_ns::TangoTestServerClass::command_factory ( )
protected
 Method      : TangoTestServerClass::command_factory()

Description: Create the command object(s) and store them in the command list

Definition at line 1063 of file TangoTestServerClass.cpp.

◆ get_class_property() [1/2]

void TangoTestServer_ns::TangoTestServerClass::get_class_property ( )
protected

◆ get_class_property() [2/2]

Tango::DbDatum TangoTestServer_ns::TangoTestServerClass::get_class_property ( std::string &  prop_name)
 Method      : TangoTestServerClass::get_class_property()

Description: Get the class property for specified name.

Definition at line 178 of file TangoTestServerClass.cpp.

◆ get_cvsroot()

std::string TangoTestServer_ns::TangoTestServerClass::get_cvsroot ( )
protected

◆ get_cvstag()

std::string TangoTestServer_ns::TangoTestServerClass::get_cvstag ( )
protected

◆ get_default_class_property()

Tango::DbDatum TangoTestServer_ns::TangoTestServerClass::get_default_class_property ( std::string &  prop_name)
 Method      : TangoTestServerClass::get_default_class_property()

Description: Return the default value for class property.

Definition at line 208 of file TangoTestServerClass.cpp.

◆ get_default_device_property()

Tango::DbDatum TangoTestServer_ns::TangoTestServerClass::get_default_device_property ( std::string &  prop_name)
 Method      : TangoTestServerClass::get_default_device_property()

Description: Return the default value for device property.

Definition at line 193 of file TangoTestServerClass.cpp.

◆ init()

TangoTestServerClass * TangoTestServer_ns::TangoTestServerClass::init ( const char *  name)
static

method : TangoTestServerClass::init description : Create the object if not already done.

Otherwise, just return a pointer to the object

Parameters
nameThe class name

Definition at line 129 of file TangoTestServerClass.cpp.

◆ instance()

TangoTestServerClass * TangoTestServer_ns::TangoTestServerClass::instance ( )
static

method : TangoTestServerClass::instance description : Check if object already created, and return a pointer to the object

Definition at line 153 of file TangoTestServerClass.cpp.

◆ pipe_factory()

void TangoTestServer_ns::TangoTestServerClass::pipe_factory ( )
protected
 Method      : TangoTestServerClass::pipe_factory()

Description: Create the pipe object(s) and store them in the pipe list

Definition at line 1043 of file TangoTestServerClass.cpp.

◆ set_default_property()

void TangoTestServer_ns::TangoTestServerClass::set_default_property ( )
protected
 Method      : TangoTestServerClass::set_default_property()

Description: Set default property (class and device) for wizard. For each property, add to wizard property name and description. If default value has been set, add it to wizard property and store it in a DbDatum.

Definition at line 227 of file TangoTestServerClass.cpp.

◆ write_class_property()

void TangoTestServer_ns::TangoTestServerClass::write_class_property ( )
protected
 Method      : TangoTestServerClass::write_class_property()

Description: Set class description fields as property in database

Definition at line 245 of file TangoTestServerClass.cpp.

Member Data Documentation

◆ _instance

TangoTestServerClass * TangoTestServer_ns::TangoTestServerClass::_instance = NULL
staticprotected

Definition at line 560 of file TangoTestServerClass.h.

◆ cl_def_prop

Tango::DbData TangoTestServer_ns::TangoTestServerClass::cl_def_prop

Definition at line 548 of file TangoTestServerClass.h.

◆ cl_prop

Tango::DbData TangoTestServer_ns::TangoTestServerClass::cl_prop

Definition at line 547 of file TangoTestServerClass.h.

◆ dev_def_prop

Tango::DbData TangoTestServer_ns::TangoTestServerClass::dev_def_prop

Definition at line 549 of file TangoTestServerClass.h.


The documentation for this class was generated from the following files: