COVISE Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
Public Member Functions | Private Member Functions | Private Attributes | List of all members
covise::CompVecPortItem Class Reference

#include <Items.h>

Inheritance diagram for covise::CompVecPortItem:
Inheritance graph
[legend]
Collaboration diagram for covise::CompVecPortItem:
Collaboration graph
[legend]

Public Member Functions

 CompVecPortItem ()
 
 CompVecPortItem (const string &name, const string &type, const string &desc)
 
virtual ~CompVecPortItem ()
 
string getCompName (int comp)
 
void setChoicePtrs (vector< coChoiceParam * > ptrs)
 
void fillChoice (vector< string > &it, bool do_update=false)
 
void updateChoice (vector< string > &it)
 
vector< int > getChoice ()
 
- Public Member Functions inherited from covise::PortItem
 PortItem ()
 
 PortItem (const string &name, const string &type, const string &desc, const bool &ifChoice)
 
virtual ~PortItem ()
 
string getName ()
 
string getType ()
 
string getDesc ()
 
coOutputPortgetPortPtr () const
 
void setPortPtr (coOutputPort *ptr)
 
coChoiceParamgetChoicePtr ()
 
void setChoicePtr (coChoiceParam *ptr)
 
void fillChoice (const string &it)
 
int getChoice ()
 
void cleanChoice ()
 
bool hasChoice ()
 
bool empty ()
 

Private Member Functions

void addItem (const string &chName, const string &type, const string &desc)
 

Private Attributes

PortItemList choices_
 

Constructor & Destructor Documentation

CompVecPortItem::CompVecPortItem ( )
CompVecPortItem::CompVecPortItem ( const string name,
const string type,
const string desc 
)
virtual covise::CompVecPortItem::~CompVecPortItem ( )
inlinevirtual

Member Function Documentation

void CompVecPortItem::addItem ( const string chName,
const string type,
const string desc 
)
private
void CompVecPortItem::fillChoice ( vector< string > &  it,
bool  do_update = false 
)
virtual

Reimplemented from covise::PortItem.

vector< int > CompVecPortItem::getChoice ( )
string covise::CompVecPortItem::getCompName ( int  comp)
inline
void CompVecPortItem::setChoicePtrs ( vector< coChoiceParam * >  ptrs)
void covise::CompVecPortItem::updateChoice ( vector< string > &  it)
inlinevirtual

Reimplemented from covise::PortItem.

Member Data Documentation

PortItemList covise::CompVecPortItem::choices_
private

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