COVISE Core
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)
 
virtual void fillChoice (vector< string > &it, bool do_update=false)
 
virtual void updateChoice (vector< 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() [1/2]

CompVecPortItem::CompVecPortItem ( )

◆ CompVecPortItem() [2/2]

CompVecPortItem::CompVecPortItem ( const string name,
const string type,
const string desc 
)

◆ ~CompVecPortItem()

virtual covise::CompVecPortItem::~CompVecPortItem ( )
inlinevirtual

Member Function Documentation

◆ addItem()

void CompVecPortItem::addItem ( const string chName,
const string type,
const string desc 
)
private

◆ fillChoice()

void CompVecPortItem::fillChoice ( vector< string > &  it,
bool  do_update = false 
)
virtual

Reimplemented from covise::PortItem.

◆ getChoice()

vector< int > CompVecPortItem::getChoice ( )

◆ getCompName()

string covise::CompVecPortItem::getCompName ( int  comp)
inline

◆ setChoicePtrs()

void CompVecPortItem::setChoicePtrs ( vector< coChoiceParam * >  ptrs)

◆ updateChoice()

void covise::CompVecPortItem::updateChoice ( vector< string > &  it)
inlinevirtual

Reimplemented from covise::PortItem.

Member Data Documentation

◆ choices_

PortItemList covise::CompVecPortItem::choices_
private

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