#include <IntParam.h>

Inheritance diagram for Mgr::IntParam:
Collaboration diagram for Mgr::IntParam:

Public Types

enum  Type {
  ptInt = 1,
  ptString
}
 
typedef RefCount< QueryParamPointer
 

Public Member Functions

 IntParam ()
 
 IntParam (const std::vector< int > &anArray)
 
virtual void pack (Ipc::TypedMsgHdr &msg) const
 store parameter into msg More...
 
virtual void unpackValue (const Ipc::TypedMsgHdr &msg)
 load parameter value from msg More...
 
const std::vector< int > & value () const
 

Public Attributes

Type type
 

Private Attributes

std::vector< intarray
 

Detailed Description

Definition at line 22 of file IntParam.h.

Member Typedef Documentation

Definition at line 24 of file QueryParam.h.

Member Enumeration Documentation

enum Mgr::QueryParam::Type
inherited
Enumerator
ptInt 
ptString 

Definition at line 23 of file QueryParam.h.

Constructor & Destructor Documentation

Mgr::IntParam::IntParam ( )

Definition at line 16 of file IntParam.cc.

Mgr::IntParam::IntParam ( const std::vector< int > &  anArray)

Definition at line 21 of file IntParam.cc.

Member Function Documentation

void Mgr::IntParam::pack ( Ipc::TypedMsgHdr msg) const
virtual

Implements Mgr::QueryParam.

Definition at line 27 of file IntParam.cc.

References Iterator, Ipc::TypedMsgHdr::putInt(), Ipc::TypedMsgHdr::putPod(), and type.

void Mgr::IntParam::unpackValue ( const Ipc::TypedMsgHdr msg)
virtual

Implements Mgr::QueryParam.

Definition at line 37 of file IntParam.cc.

References Ipc::TypedMsgHdr::getInt(), and Must.

const std::vector< int > & Mgr::IntParam::value ( ) const

Definition at line 47 of file IntParam.cc.

Referenced by Mgr::Inquirer::applyQueryParams().

Member Data Documentation

std::vector<int> Mgr::IntParam::array
private

Definition at line 32 of file IntParam.h.

Type Mgr::QueryParam::type
inherited

Definition at line 37 of file QueryParam.h.

Referenced by Mgr::Inquirer::applyQueryParams().


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors