CARLsim  6.1.0
CARLsim: a GPU-accelerated SNN simulator
PTI::PTIImpl Struct Reference

Public Member Functions

 PTIImpl (const char *const fileName, istream &defaultInputStream, ostream &outputStream)
 
bool repOK () const
 

Static Public Member Functions

static int getIntegerArgument (const char *const option, const int argc, const char *const argv[])
 
static const char * getStringArgument (const char *const option, const int argc, const char *const argv[])
 
static ParameterInstancesloadParameterInstances (const char *const fileName, istream &defaultInputStream)
 

Public Attributes

const unique_ptr< ParameterInstancesinstances
 
ostream & outputStream
 

Detailed Description

Definition at line 16 of file PTI.cpp.

Constructor & Destructor Documentation

◆ PTIImpl()

PTIImpl ( const char *const  fileName,
istream &  defaultInputStream,
ostream &  outputStream 
)
inline

Definition at line 20 of file PTI.cpp.

Member Function Documentation

◆ getIntegerArgument()

static int getIntegerArgument ( const char *const  option,
const int  argc,
const char *const  argv[] 
)
inlinestatic

Definition at line 34 of file PTI.cpp.

◆ getStringArgument()

static const char* getStringArgument ( const char *const  option,
const int  argc,
const char *const  argv[] 
)
inlinestatic

Definition at line 25 of file PTI.cpp.

◆ loadParameterInstances()

static ParameterInstances* loadParameterInstances ( const char *const  fileName,
istream &  defaultInputStream 
)
inlinestatic

Parse command line arguments and read in the parameter values to be used in an Experiment, allocating a ParameterInstances on the heap.

Definition at line 49 of file PTI.cpp.

◆ repOK()

bool repOK ( ) const
inline

Definition at line 67 of file PTI.cpp.

Member Data Documentation

◆ instances

const unique_ptr<ParameterInstances> instances

Definition at line 18 of file PTI.cpp.

◆ outputStream

ostream& outputStream

Definition at line 17 of file PTI.cpp.


The documentation for this struct was generated from the following file: