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

#include <ReaderControl.h>

Collaboration diagram for covise::ReaderControl:
Collaboration graph
[legend]

Public Member Functions

void addFile (const int &tok, const string &name, const string &desc, const string &value, const string &mask=string("*"))
 
void addOutputPort (const int &tok, const string &name, const string &type, const string &desc, const bool &ifChoice=true)
 
void addCompVecOutPort (const int &tok, const string &name, const string &type, const string &desc)
 
int fillPortChoice (const int &tok, const string &item)
 
void fillPortChoice (const int &tok, vector< string > &item)
 
void updatePortChoice (const int &tok, vector< string > &item)
 
int getPortChoice (const int &tok)
 
vector< int > getCompVecChoices (const int &tok)
 
void cleanPortChoice (const int &tok)
 
string getAssocObjName (const int &tok)
 
int setAssocPortObj (const int &tok, coDistributedObject *obj)
 
bool storePortObj (string dir, string grpName, map< int, string > &labels)
 
string getPortFileNm (const int &tok)
 
virtual ~ReaderControl ()
 
string getFileVal (const int &tok)
 
FileList getFileList ()
 
PortList getPortList ()
 
FileItemgetFileItem (const int &tok)
 
FileItemgetFileItem (const string &name)
 
bool isCompVecPort (const int &tok)
 

Static Public Member Functions

static ReaderControlinstance ()
 the one and only acess More...
 

Private Member Functions

 ReaderControl ()
 
PortItemgetPortItem (const int &tok)
 
void fillPortChoice (const int &tok, vector< string > &item, bool do_update)
 
void initCheck ()
 

Private Attributes

FileList files_
 
PortList ports_
 
CompVecPortList cvec_ports_
 
map< string, int > fileNames_
 

Static Private Attributes

static ReaderControlinstance_ = NULL
 

Constructor & Destructor Documentation

ReaderControl::~ReaderControl ( )
virtual
ReaderControl::ReaderControl ( )
private

Member Function Documentation

void ReaderControl::addCompVecOutPort ( const int &  tok,
const string name,
const string type,
const string desc 
)
void ReaderControl::addFile ( const int &  tok,
const string name,
const string desc,
const string value,
const string mask = string("*") 
)
void ReaderControl::addOutputPort ( const int &  tok,
const string name,
const string type,
const string desc,
const bool &  ifChoice = true 
)
void ReaderControl::cleanPortChoice ( const int &  tok)
int ReaderControl::fillPortChoice ( const int &  tok,
const string item 
)
void ReaderControl::fillPortChoice ( const int &  tok,
vector< string > &  item 
)
void ReaderControl::fillPortChoice ( const int &  tok,
vector< string > &  item,
bool  do_update 
)
private
string ReaderControl::getAssocObjName ( const int &  tok)
vector< int > ReaderControl::getCompVecChoices ( const int &  tok)
FileItem * ReaderControl::getFileItem ( const int &  tok)
FileItem * ReaderControl::getFileItem ( const string name)
FileList covise::ReaderControl::getFileList ( )
inline
string ReaderControl::getFileVal ( const int &  tok)
int ReaderControl::getPortChoice ( const int &  tok)
string ReaderControl::getPortFileNm ( const int &  tok)
PortItem * ReaderControl::getPortItem ( const int &  tok)
private
PortList covise::ReaderControl::getPortList ( )
inline
void covise::ReaderControl::initCheck ( )
private
ReaderControl * ReaderControl::instance ( )
static

the one and only acess

bool ReaderControl::isCompVecPort ( const int &  tok)
int ReaderControl::setAssocPortObj ( const int &  tok,
coDistributedObject obj 
)
bool ReaderControl::storePortObj ( string  dir,
string  grpName,
map< int, string > &  labels 
)
void ReaderControl::updatePortChoice ( const int &  tok,
vector< string > &  item 
)

Member Data Documentation

CompVecPortList covise::ReaderControl::cvec_ports_
private
map<string, int> covise::ReaderControl::fileNames_
private
FileList covise::ReaderControl::files_
private
ReaderControl * ReaderControl::instance_ = NULL
staticprivate
PortList covise::ReaderControl::ports_
private

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